|
#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 = introspection::ClassMemberInfoEntryConfigurator< CommonBaseType, T > |
Public Member Functions | |
template<class BaseClassType > | |
void | addBaseClass () |
add all variables of a base class of the current class More... | |
template<class MemberType > | |
EntryConfigurator< ClassType > | addMemberVariable (MemberType ClassType::*ptr, const std::string &name) |
add a member variable of the current class More... | |
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. More... | |
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. More... | |
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.
Definition at line 40 of file ClassMemberInfo.h.
Definition at line 43 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.
EntryConfigurator<ClassType> addMemberVariable | ( | MemberType ClassType::* | ptr, |
const std::string & | name | ||
) |
add a member variable of the current class
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.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 162 of file ClassMemberInfo.h.
|
static |
|
static |
Get all entries for member variables.
Definition at line 222 of file ClassMemberInfo.h.
|
static |
Definition at line 207 of file ClassMemberInfo.h.
|
static |
Definition at line 229 of file ClassMemberInfo.h.
|
static |
Definition at line 180 of file ClassMemberInfo.h.