Public Member Functions | |
| FieldProperty (const DataType &default_value) | |
| FieldProperty & | operator= (const DataType &v) |
| explicit (false) operator DataType() const | |
| void | setValue (const DataType &v) |
| DataType | value () const |
| bool | isValueSet () const |
| void | setValidator (std::function< void(DataType &)> &&func) |
Private Attributes | |
| DataType | m_value |
| DataType | m_default_value |
| bool | m_has_value = false |
| std::function< void(DataType &)> | m_validator |
Definition at line 40 of file FieldProperty.h.
|
inlineexplicit |
Definition at line 44 of file FieldProperty.h.
|
inline |
Definition at line 48 of file FieldProperty.h.
|
inline |
Definition at line 56 of file FieldProperty.h.
|
inline |
Definition at line 72 of file FieldProperty.h.
|
inline |
Definition at line 51 of file FieldProperty.h.
|
inline |
Definition at line 73 of file FieldProperty.h.
|
inline |
Definition at line 60 of file FieldProperty.h.
|
inline |
Definition at line 71 of file FieldProperty.h.
|
private |
Definition at line 78 of file FieldProperty.h.
|
private |
Definition at line 79 of file FieldProperty.h.
|
private |
Definition at line 80 of file FieldProperty.h.
|
private |
Definition at line 77 of file FieldProperty.h.