A named group of Constraint elements.
More...
#include <constraints.h>
A named group of Constraint elements.
◆ add_constraint()
template<typename Tag , typename... Args>
void garlic::Field::add_constraint |
( |
Args &&... |
args | ) |
|
|
inlinenoexcept |
◆ annotations() [1/2]
const auto& garlic::Field::annotations |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- annotations object.
◆ annotations() [2/2]
auto& garlic::Field::annotations |
( |
| ) |
|
|
inlinenoexcept |
- Returns
- annotations object.
◆ begin_constraints()
const_constraint_iterator garlic::Field::begin_constraints |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- an iterator (const) pointing to the first constraint in the field.
◆ end_constraints()
const_constraint_iterator garlic::Field::end_constraints |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- an iterator (const) pointing to one past the last constraint in the field.
◆ ignore_details()
bool garlic::Field::ignore_details |
( |
| ) |
const |
|
inline |
- Returns
- whether or not the field should ignore details and return a leaf ConstraintResult when testing/validating.
◆ message()
text garlic::Field::message |
( |
| ) |
const |
|
inlinenoexcept |
◆ name()
const text& garlic::Field::name |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- name of the field.
The documentation for this class was generated from the following file: