|
Ultralight C++ API 2.0.0
|
#include <Ultralight/dom/data/Schema.h>
A field entry (the value Field() returns).
Pass it to Schema().
Public Types | |
| using | owner_type = Owner |
| The type the accessor reads from (void without one). | |
| using | value_type = Value |
| The field's value type. | |
| using | accessor_type = Accessor |
| The accessor's type (std::nullptr_t without one). | |
| using | validator_type = Validator |
| The type of the validator from Validate(), if any. | |
Static Public Attributes | |
| static constexpr bool | kHasAccessor = !std::is_same_v<Accessor, std::nullptr_t> |
| Whether or not the field has an accessor. | |
| static constexpr bool | kHasValidator = !std::is_same_v<Validator, NoValidate> |
| Whether or not a validator is attached with the Field() tag form of Validate(). | |
Public Attributes | |
| const char * | name |
| The field's name. | |
| Accessor | accessor |
| Reads the value from a const instance. | |
| ULTRALIGHT_DOM_NO_UNIQUE_ADDRESS Validator | validator |
| The validator, if any. | |
| uint8_t | flags = 0 |
| The EntryFlags set on this field. | |
| using accessor_type = Accessor |
The accessor's type (std::nullptr_t without one).
| using owner_type = Owner |
The type the accessor reads from (void without one).
| using validator_type = Validator |
The type of the validator from Validate(), if any.
| using value_type = Value |
The field's value type.
| Accessor accessor |
Reads the value from a const instance.
| uint8_t flags = 0 |
The EntryFlags set on this field.
|
staticconstexpr |
Whether or not the field has an accessor.
|
staticconstexpr |
Whether or not a validator is attached with the Field() tag form of Validate().
| const char* name |
The field's name.
| ULTRALIGHT_DOM_NO_UNIQUE_ADDRESS Validator validator |
The validator, if any.