|
| MappedStaticDataMember (T_ value, const std::string &name, const std::string &help, const Type *type, bool constant=false, bool ref=false) |
| If T_ is a non-pointer type or T_ is pointer and ref is set to true, the value would be used as initial value. More...
|
|
| MappedROStaticDataMember (T_ value, const std::string &name, const std::string &help, const Type *type, bool isconstant=false) |
| If T_ is not a pointer, uses the value as initial value and stores the current value locally. More...
|
|
virtual | ~MappedROStaticDataMember () |
|
T_ & | GetValue () |
| Returns the value stored in this data. More...
|
|
T_ | GetValue () const |
| Returns the value stored in this data. More...
|
|
| StaticDataMember (const std::string &name, const std::string &help, const Type *type) |
|
| StaticDataMember (const std::string &name, const std::string &help, const Type *type, bool constant, bool ref, bool readonly) |
|
template<class ... P_> |
| StaticDataMember (const std::string &name, const std::string &help, const Type *type, Tag first, P_ ...rest) |
|
virtual Data | Get () const override |
| Gets data from the datamember. More...
|
|
virtual MemberType | GetMemberType () const override |
| Returns the type of this member. More...
|
|
const Type & | GetType () const |
| Returns the type of this static member. More...
|
|
bool | IsConstant () const |
| Returns whether this member is a constant. More...
|
|
bool | IsReadonly () const |
| Returns whether this member is read-only. More...
|
|
bool | IsReference () const |
| Returns whether this member is a reference. More...
|
|
void | Set (Data &newval) |
| Changes the value of this member. More...
|
|
| StaticMember (const std::string &name, const std::string &help) |
|
bool | IsInstanceable () const |
| Whether this member can be used to instantiate an object. More...
|
|
virtual bool | IsInstanceMember () const override final |
| Returns if this member is an instance member. More...
|
|
| Member (const std::string &name, const std::string &help) |
|
virtual | ~Member () |
|
std::string | GetHelp () const |
| Returns the help string. Help strings may contain markdown notation. More...
|
|
std::string | GetName () const |
| Returns the name of this member. More...
|
|
const Member * | GetOwner () const |
|
std::string | GetQualifiedName () const |
| Returns the namespace qualified name of this member. More...
|
|
|
template<class T2_ = T_> |
std::enable_if< std::is_pointer< T2_ >::value, typename std::remove_pointer< T2_ >::type >::type & | getref () |
|
template<class T2_ = T_> |
std::enable_if<!std::is_pointer< T2_ >::value, T2_ >::type & | getref () |
|
virtual void | set (Data &value) const override |
|
| MappedROStaticDataMember (T_ value, const std::string &name, const std::string &help, const Type *type, bool isconstant, bool ref, bool readonly) |
|
virtual Data | get () const override |
| This function should return the data. It is overloaded to enforce modifiers. More...
|
|
template<class T2_ = T_> |
std::enable_if< std::is_copy_constructible< T2_ >::value, Data >::type | getnonref () |
|
template<class T2_ = T_> |
std::enable_if<!std::is_copy_constructible< T2_ >::value, Data >::type | getnonref () |
|
virtual void | set (Data &source, Data &value) const override |
|
virtual void | set (Data &newval)=0 |
| Implementers of static data member should overload this function for assignment. More...
|
|
virtual void | SetParent (const Member &parent) |
| Changes the parent of the member. More...
|
|