|
| 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...
|
|
|
virtual Data | get () const =0 |
| This function should return the data. It is overloaded to enforce modifiers. More...
|
|
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...
|
|
◆ StaticDataMember() [1/3]
StaticDataMember |
( |
const std::string & |
name, |
|
|
const std::string & |
help, |
|
|
const Type * |
type, |
|
|
bool |
constant, |
|
|
bool |
ref, |
|
|
bool |
readonly |
|
) |
| |
◆ StaticDataMember() [2/3]
◆ StaticDataMember() [3/3]
◆ get()
virtual Data get |
( |
| ) |
const |
|
protectedpure virtual |
◆ Get()
virtual Data Get |
( |
| ) |
const |
|
overridevirtual |
◆ GetMemberType()
◆ GetType()
const Type& GetType |
( |
| ) |
const |
◆ IsConstant()
bool IsConstant |
( |
| ) |
const |
◆ IsReadonly()
bool IsReadonly |
( |
| ) |
const |
Returns whether this member is read-only.
Read-only members cannot be assigned to, however, their state can be altered using its data members or functions.
References StaticDataMember::readonly.
◆ IsReference()
bool IsReference |
( |
| ) |
const |
◆ Set()
void Set |
( |
Data & |
newval | ) |
|
◆ set()
virtual void set |
( |
Data & |
newval | ) |
|
|
protectedpure virtual |
Implementers of static data member should overload this function for assignment.
If readonly is set, this function will not be called, instead, the public set function will throw readonly exception.
◆ constant
This instance member is a constant.
◆ readonly
Marks this instance as read-only.
◆ reference
This instance member is a reference.
◆ type
The documentation for this class was generated from the following file: