|
CbmRoot
|
#include <CbmYamlProperty.h>
Public Types | |
| using | ClassType = Class |
| using | ValueType = T |
Public Member Functions | |
| Property ()=delete | |
| constexpr | Property (T Class::*member, std::string_view key, std::string_view description="", std::optional< YAML::EMITTER_MANIP > fmt={}, std::optional< YAML::EMITTER_MANIP > fmtEntries={}) |
| Property (const Property &)=delete | |
| Property & | operator= (const Property &)=delete |
| Property (Property &&)=default | |
| Property & | operator= (Property &&)=default |
| std::string_view | Key () const |
| std::string_view | Description () const |
| std::optional< YAML::EMITTER_MANIP > | Format () const |
| std::optional< YAML::EMITTER_MANIP > | FormatEntries () const |
| T & | Get (Class &object) const |
| const T & | Get (const Class &object) const |
| void | Set (Class &object, const T &value) const |
Private Attributes | |
| T Class::* | fMember |
| std::string_view | fKey |
| std::string_view | fDescription |
| std::optional< YAML::EMITTER_MANIP > | fFormat |
| std::optional< YAML::EMITTER_MANIP > | fFormatEntries |
Definition at line 18 of file CbmYamlProperty.h.
| using cbm::util::yaml::Property< Class, T >::ClassType = Class |
Definition at line 28 of file CbmYamlProperty.h.
| using cbm::util::yaml::Property< Class, T >::ValueType = T |
Definition at line 29 of file CbmYamlProperty.h.
|
delete |
Referenced by operator=(), operator=(), Property(), and Property().
|
inlineconstexpr |
Definition at line 33 of file CbmYamlProperty.h.
|
delete |
References Property().
|
default |
References Property().
|
inline |
Definition at line 50 of file CbmYamlProperty.h.
References fDescription.
|
inline |
Definition at line 51 of file CbmYamlProperty.h.
References fFormat.
|
inline |
Definition at line 52 of file CbmYamlProperty.h.
References fFormatEntries.
|
inline |
Definition at line 54 of file CbmYamlProperty.h.
References fMember.
|
inline |
Definition at line 55 of file CbmYamlProperty.h.
References fMember.
|
inline |
Definition at line 49 of file CbmYamlProperty.h.
References fKey.
|
delete |
References Property().
|
default |
References Property().
|
inline |
Definition at line 57 of file CbmYamlProperty.h.
References fMember.
|
private |
Definition at line 23 of file CbmYamlProperty.h.
Referenced by Description().
|
private |
Definition at line 24 of file CbmYamlProperty.h.
Referenced by Format().
|
private |
Definition at line 25 of file CbmYamlProperty.h.
Referenced by FormatEntries().
|
private |
Definition at line 22 of file CbmYamlProperty.h.
Referenced by Key().
|
private |
Definition at line 21 of file CbmYamlProperty.h.