CbmRoot
|
#include <Property.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 Property.h.
using cbm::algo::yaml::Property< Class, T >::ClassType = Class |
Definition at line 28 of file Property.h.
using cbm::algo::yaml::Property< Class, T >::ValueType = T |
Definition at line 29 of file Property.h.
|
delete |
|
inlineconstexpr |
Definition at line 33 of file Property.h.
|
delete |
|
default |
|
inline |
Definition at line 50 of file Property.h.
References cbm::algo::yaml::Property< Class, T >::fDescription.
|
inline |
Definition at line 51 of file Property.h.
References cbm::algo::yaml::Property< Class, T >::fFormat.
|
inline |
Definition at line 52 of file Property.h.
References cbm::algo::yaml::Property< Class, T >::fFormatEntries.
|
inline |
Definition at line 54 of file Property.h.
References cbm::algo::yaml::Property< Class, T >::fMember.
|
inline |
Definition at line 55 of file Property.h.
References cbm::algo::yaml::Property< Class, T >::fMember.
|
inline |
Definition at line 49 of file Property.h.
References cbm::algo::yaml::Property< Class, T >::fKey.
|
delete |
|
default |
|
inline |
Definition at line 57 of file Property.h.
References cbm::algo::yaml::Property< Class, T >::fMember.
|
private |
Definition at line 23 of file Property.h.
Referenced by cbm::algo::yaml::Property< Class, T >::Description().
|
private |
Definition at line 24 of file Property.h.
Referenced by cbm::algo::yaml::Property< Class, T >::Format().
|
private |
Definition at line 25 of file Property.h.
Referenced by cbm::algo::yaml::Property< Class, T >::FormatEntries().
|
private |
Definition at line 22 of file Property.h.
Referenced by cbm::algo::yaml::Property< Class, T >::Key().
|
private |
Definition at line 21 of file Property.h.
Referenced by cbm::algo::yaml::Property< Class, T >::Get(), cbm::algo::yaml::Property< Class, T >::Get(), and cbm::algo::yaml::Property< Class, T >::Set().