template<class T, class CRTP>
class idol::Object< T, CRTP >
Definition at line 26 of file Object.h.
template<class T , class CRTP >
template<class ValueT >
Returns the value of the given annotation t_annotation
associated to the object.
If no value is found, the default value of the annotation is returned. If no default value was set, an exception is thrown.
- Template Parameters
-
ValueT | The value type of the annotation. |
- Parameters
-
t_annotation | The annotation. |
- Returns
- The value of the annotation.
Definition at line 78 of file Object.h.
template<class T , class CRTP >
template<class ValueT , class ... ArgsT>
Sets the value of the given annotation t_annotation
associated to the object.
- Template Parameters
-
ValueT | The value type of the annotation. |
ArgsT | The parameter pack types for constructing the value of the annotation. |
- Parameters
-
t_annotation | The annotation. |
t_args | The parameter pack arguments used to construct "in place" the value of the annotation. |
Definition at line 96 of file Object.h.