|
|
#include <RobotAPI/components/units/RobotUnit/util/introspection/ClassMemberInfo.h>
Public Types | |
| using | ClassType = ClassT |
| using | CommonBaseType = CommonBaseT |
| using | Entry = introspection::ClassMemberInfoEntry<CommonBaseType> |
| template<class T> | |
| using | EntryConfigurator |
Public Member Functions | |
| template<class BaseClassType> | |
| void | addBaseClass () |
| add all variables of a base class of the current class | |
| template<class MemberType> | |
| EntryConfigurator< ClassType > | addMemberVariable (MemberType ClassType::*ptr, const std::string &name) |
| add a member variable of the current class | |
| template<class MemberType> | |
| ClassMemberInfo< CommonBaseT, ClassT >::template EntryConfigurator< ClassT > | addMemberVariable (MemberType ClassType::*ptr, const std::string &name) |
Static Public Member Functions | |
| static const std::string & | GetClassName () |
| Get the name of the current class. | |
| static void | GetDataFieldAs (const ClassType *ptr, std::size_t i, bool &out) |
| static void | GetDataFieldAs (const ClassType *ptr, std::size_t i, Ice::Byte &out) |
| static void | GetDataFieldAs (const ClassType *ptr, std::size_t i, Ice::Double &out) |
| static void | GetDataFieldAs (const ClassType *ptr, std::size_t i, Ice::Float &out) |
| static void | GetDataFieldAs (const ClassType *ptr, std::size_t i, Ice::Int &out) |
| static void | GetDataFieldAs (const ClassType *ptr, std::size_t i, Ice::Long &out) |
| static void | GetDataFieldAs (const ClassType *ptr, std::size_t i, Ice::Short &out) |
| static void | GetDataFieldAs (const ClassType *ptr, std::size_t i, std::string &out) |
| static std::vector< std::string > | GetDataFieldNames () |
| static const std::type_info & | GetDataFieldType (std::size_t i) |
| static const KeyValueVector< std::string, Entry > & | GetEntries () |
| Get all entries for member variables. | |
| static const ClassMemberInfo< CommonBaseT, ClassT > & | GetInstance () |
| static std::size_t | GetNumberOfDataFields () |
| static std::map< std::string, VariantBasePtr > | ToVariants (const IceUtil::Time ×tamp, const CommonBaseT *ptr) |
Definition at line 34 of file ClassMemberInfo.h.
| using ClassType = ClassT |
Definition at line 36 of file ClassMemberInfo.h.
| using CommonBaseType = CommonBaseT |
Definition at line 37 of file ClassMemberInfo.h.
| using Entry = introspection::ClassMemberInfoEntry<CommonBaseType> |
Definition at line 40 of file ClassMemberInfo.h.
Definition at line 42 of file ClassMemberInfo.h.
| void addBaseClass | ( | ) |
add all variables of a base class of the current class
Definition at line 125 of file ClassMemberInfo.h.
Here is the call graph for this function:
Here is the caller graph for this function:| EntryConfigurator< ClassType > addMemberVariable | ( | MemberType ClassType::* | ptr, |
| const std::string & | name ) |
add a member variable of the current class
Here is the caller graph for this function:| ClassMemberInfo< CommonBaseT, ClassT >::template EntryConfigurator< ClassT > addMemberVariable | ( | MemberType ClassType::* | ptr, |
| const std::string & | name ) |
Definition at line 113 of file ClassMemberInfo.h.
|
static |
Get the name of the current class.
Definition at line 215 of file ClassMemberInfo.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Get all entries for member variables.
Definition at line 222 of file ClassMemberInfo.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 229 of file ClassMemberInfo.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |