ClassMemberInfoEntry< CommonBaseT > Struct Template Reference

#include <RobotAPI/components/units/RobotUnit/util/introspection/ClassMemberInfoEntry.h>

Public Types

using CommonBaseType = CommonBaseT
 

Public Member Functions

 ClassMemberInfoEntry (ClassMemberInfoEntry &&)=default
 
 ClassMemberInfoEntry (const ClassMemberInfoEntry &)=default
 
template<class ClassType , class MemberType >
 ClassMemberInfoEntry (const std::string &memberName, MemberType ClassType::*ptr)
 
const std::string & getClassName () const
 
void getDataFieldAs (std::size_t i, const CommonBaseType *ptr, bool &out) const
 
void getDataFieldAs (std::size_t i, const CommonBaseType *ptr, Ice::Byte &out) const
 
void getDataFieldAs (std::size_t i, const CommonBaseType *ptr, Ice::Double &out) const
 
void getDataFieldAs (std::size_t i, const CommonBaseType *ptr, Ice::Float &out) const
 
void getDataFieldAs (std::size_t i, const CommonBaseType *ptr, Ice::Int &out) const
 
void getDataFieldAs (std::size_t i, const CommonBaseType *ptr, Ice::Long &out) const
 
void getDataFieldAs (std::size_t i, const CommonBaseType *ptr, Ice::Short &out) const
 
void getDataFieldAs (std::size_t i, const CommonBaseType *ptr, std::string &out) const
 
const std::string & getFieldName (std::size_t i) const
 
const std::type_info & getFieldTypeId (std::size_t i) const
 
const std::string & getMemberName () const
 
const std::string & getMemberTypeName () const
 
std::size_t getNumberOfFields () const
 
ClassMemberInfoEntryoperator= (ClassMemberInfoEntry &&)=default
 
ClassMemberInfoEntryoperator= (const ClassMemberInfoEntry &)=default
 
std::map< std::string, VariantBasePtrtoVariants (const IceUtil::Time &timestamp, const CommonBaseType *ptr) const
 

Friends

template<class BaseType , class ClassT >
class ClassMemberInfo
 
template<class BaseType , class ClassT >
class ClassMemberInfoEntryConfigurator
 

Detailed Description

template<class CommonBaseT>
struct armarx::introspection::ClassMemberInfoEntry< CommonBaseT >

Definition at line 35 of file ClassMemberInfoEntry.h.

Member Typedef Documentation

◆ CommonBaseType

using CommonBaseType = CommonBaseT

Definition at line 38 of file ClassMemberInfoEntry.h.

Constructor & Destructor Documentation

◆ ClassMemberInfoEntry() [1/3]

ClassMemberInfoEntry ( ClassMemberInfoEntry< CommonBaseT > &&  )
default

◆ ClassMemberInfoEntry() [2/3]

ClassMemberInfoEntry ( const ClassMemberInfoEntry< CommonBaseT > &  )
default

◆ ClassMemberInfoEntry() [3/3]

ClassMemberInfoEntry ( const std::string &  memberName,
MemberType ClassType::*  ptr 
)
inline

Definition at line 46 of file ClassMemberInfoEntry.h.

Member Function Documentation

◆ getClassName()

const std::string& getClassName ( ) const
inline

Definition at line 74 of file ClassMemberInfoEntry.h.

◆ getDataFieldAs() [1/8]

void getDataFieldAs ( std::size_t  i,
const CommonBaseType ptr,
bool &  out 
) const
inline

Definition at line 106 of file ClassMemberInfoEntry.h.

◆ getDataFieldAs() [2/8]

void getDataFieldAs ( std::size_t  i,
const CommonBaseType ptr,
Ice::Byte &  out 
) const
inline

Definition at line 114 of file ClassMemberInfoEntry.h.

◆ getDataFieldAs() [3/8]

void getDataFieldAs ( std::size_t  i,
const CommonBaseType ptr,
Ice::Double &  out 
) const
inline

Definition at line 154 of file ClassMemberInfoEntry.h.

◆ getDataFieldAs() [4/8]

void getDataFieldAs ( std::size_t  i,
const CommonBaseType ptr,
Ice::Float &  out 
) const
inline

Definition at line 146 of file ClassMemberInfoEntry.h.

◆ getDataFieldAs() [5/8]

void getDataFieldAs ( std::size_t  i,
const CommonBaseType ptr,
Ice::Int &  out 
) const
inline

Definition at line 130 of file ClassMemberInfoEntry.h.

◆ getDataFieldAs() [6/8]

void getDataFieldAs ( std::size_t  i,
const CommonBaseType ptr,
Ice::Long &  out 
) const
inline

Definition at line 138 of file ClassMemberInfoEntry.h.

◆ getDataFieldAs() [7/8]

void getDataFieldAs ( std::size_t  i,
const CommonBaseType ptr,
Ice::Short &  out 
) const
inline

Definition at line 122 of file ClassMemberInfoEntry.h.

◆ getDataFieldAs() [8/8]

void getDataFieldAs ( std::size_t  i,
const CommonBaseType ptr,
std::string &  out 
) const
inline

Definition at line 162 of file ClassMemberInfoEntry.h.

◆ getFieldName()

const std::string& getFieldName ( std::size_t  i) const
inline

Definition at line 99 of file ClassMemberInfoEntry.h.

◆ getFieldTypeId()

const std::type_info& getFieldTypeId ( std::size_t  i) const
inline

Definition at line 170 of file ClassMemberInfoEntry.h.

+ Here is the caller graph for this function:

◆ getMemberName()

const std::string& getMemberName ( ) const
inline

Definition at line 80 of file ClassMemberInfoEntry.h.

◆ getMemberTypeName()

const std::string& getMemberTypeName ( ) const
inline

Definition at line 86 of file ClassMemberInfoEntry.h.

◆ getNumberOfFields()

std::size_t getNumberOfFields ( ) const
inline

Definition at line 93 of file ClassMemberInfoEntry.h.

◆ operator=() [1/2]

ClassMemberInfoEntry& operator= ( ClassMemberInfoEntry< CommonBaseT > &&  )
default

◆ operator=() [2/2]

ClassMemberInfoEntry& operator= ( const ClassMemberInfoEntry< CommonBaseT > &  )
default

◆ toVariants()

std::map<std::string, VariantBasePtr> toVariants ( const IceUtil::Time &  timestamp,
const CommonBaseType ptr 
) const
inline

Definition at line 178 of file ClassMemberInfoEntry.h.

Friends And Related Function Documentation

◆ ClassMemberInfo

friend class ClassMemberInfo
friend

Definition at line 255 of file ClassMemberInfoEntry.h.

◆ ClassMemberInfoEntryConfigurator

friend class ClassMemberInfoEntryConfigurator
friend

Definition at line 257 of file ClassMemberInfoEntry.h.


The documentation for this struct was generated from the following file: