ROOT logo
ROOT » CINT » REFLEX » Reflex::Type

class Reflex::Type

Function Members (Methods)

public:
~Type()
voidAddBase(const Reflex::Base& b) const
voidAddBase(const Reflex::Type& bas, Reflex::OffsetFunction offsFP, unsigned int modifiers = 0) const
voidAddDataMember(const Reflex::Member& dm) const
Reflex::MemberAddDataMember(const char* nam, const Reflex::Type& typ, size_t offs, unsigned int modifiers = 0, char* interpreterOffset = 0) const
voidAddFunctionMember(const Reflex::Member& fm) const
Reflex::MemberAddFunctionMember(const char* nam, const Reflex::Type& typ, Reflex::StubFunction stubFP, void* stubCtx = 0, const char* params = 0, unsigned int modifiers = 0) const
voidAddSubScope(const Reflex::Scope& sc) const
voidAddSubScope(const char* scop, Reflex::TYPE scopeTyp = NAMESPACE) const
voidAddSubType(const Reflex::Type& ty) const
voidAddSubType(const char* typ, size_t size, Reflex::TYPE typeTyp, const type_info& ti, unsigned int modifiers = 0) const
void*Allocate() const
size_tArrayLength() const
Reflex::Base_IteratorBase_Begin() const
Reflex::Base_IteratorBase_End() const
Reflex::Reverse_Base_IteratorBase_RBegin() const
Reflex::Reverse_Base_IteratorBase_REnd() const
Reflex::BaseBaseAt(size_t nth) const
size_tBaseSize() const
static Reflex::TypeByName(const string& key)
static Reflex::TypeByTypeInfo(const type_info& tid)
Reflex::ObjectCastObject(const Reflex::Type& to, const Reflex::Object& obj) const
Reflex::ObjectConstruct(const Reflex::Type& signature = Type(0,0), const vector<void*>& values = std::vector<void*>(), void* mem = 0) const
Reflex::Member_IteratorDataMember_Begin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Member_IteratorDataMember_End(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_IteratorDataMember_RBegin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_IteratorDataMember_REnd(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::MemberDataMemberAt(size_t nth, Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::MemberDataMemberByName(const string& nam, Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
size_tDataMemberSize(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
voidDeallocate(void* instance) const
Reflex::ScopeDeclaringScope() const
voidDestruct(void* instance, bool dealloc = true) const
Reflex::TypeDynamicType(const Reflex::Object& obj) const
Reflex::TypeFinalType() const
Reflex::Member_IteratorFunctionMember_Begin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Member_IteratorFunctionMember_End(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_IteratorFunctionMember_RBegin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_IteratorFunctionMember_REnd(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::MemberFunctionMemberAt(size_t nth, Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::MemberFunctionMemberByName(const string& nam, const Reflex::Type& signature = Type(0,0), unsigned int modifiers_mask = 0, Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
size_tFunctionMemberSize(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Type_IteratorFunctionParameter_Begin() const
Reflex::Type_IteratorFunctionParameter_End() const
Reflex::Reverse_Type_IteratorFunctionParameter_RBegin() const
Reflex::Reverse_Type_IteratorFunctionParameter_REnd() const
Reflex::TypeFunctionParameterAt(size_t nth) const
size_tFunctionParameterSize() const
voidGenerateDict(Reflex::DictionaryGenerator& generator) const
boolHasBase(const Reflex::Type& cl) const
void*Id() const
boolIsAbstract() const
boolIsArray() const
boolIsClass() const
boolIsComplete() const
boolIsConst() const
boolIsConstVolatile() const
boolIsEnum() const
boolIsEquivalentTo(const Reflex::Type& typ, unsigned int modifiers_mask = 0) const
boolIsFunction() const
boolIsFundamental() const
boolIsPointer() const
boolIsPointerToMember() const
boolIsPrivate() const
boolIsProtected() const
boolIsPublic() const
boolIsReference() const
boolIsSignatureEquivalentTo(const Reflex::Type& typ, unsigned int modifiers_mask = 0) const
boolIsStruct() const
boolIsTemplateInstance() const
boolIsTypedef() const
boolIsUnion() const
boolIsUnqualified() const
boolIsVirtual() const
boolIsVolatile() const
Reflex::Member_IteratorMember_Begin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Member_IteratorMember_End(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_IteratorMember_RBegin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_IteratorMember_REnd(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::MemberMemberAt(size_t nth, Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::MemberMemberByName(const string& nam, const Reflex::Type& signature = Type(0,0), Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
size_tMemberSize(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::MemberTemplate_IteratorMemberTemplate_Begin() const
Reflex::MemberTemplate_IteratorMemberTemplate_End() const
Reflex::Reverse_MemberTemplate_IteratorMemberTemplate_RBegin() const
Reflex::Reverse_MemberTemplate_IteratorMemberTemplate_REnd() const
Reflex::MemberTemplateMemberTemplateAt(size_t nth) const
size_tMemberTemplateSize() const
stringName(unsigned int mod = 0) const
const char*Name_c_str() const
booloperator bool() const
Reflex::Scopeoperator Reflex::Scope() const
booloperator!=(const Reflex::Type& rh) const
booloperator<(const Reflex::Type& rh) const
Reflex::Type&operator=(const Reflex::Type& rh)
booloperator==(const Reflex::Type& rh) const
Reflex::ScopePointerToMemberScope() const
Reflex::PropertyListProperties() const
Reflex::TypeRawType() const
voidRemoveDataMember(const Reflex::Member& dm) const
voidRemoveFunctionMember(const Reflex::Member& fm) const
voidRemoveSubScope(const Reflex::Scope& sc) const
voidRemoveSubType(const Reflex::Type& ty) const
Reflex::REPRESTYPERepresType() const
Reflex::TypeReturnType() const
voidSetSize(size_t s) const
voidSetTypeInfo(const type_info& ti) const
size_tSizeOf() const
Reflex::Scope_IteratorSubScope_Begin() const
Reflex::Scope_IteratorSubScope_End() const
Reflex::Reverse_Scope_IteratorSubScope_RBegin() const
Reflex::Reverse_Scope_IteratorSubScope_REnd() const
Reflex::ScopeSubScopeAt(size_t nth) const
size_tSubScopeSize() const
Reflex::Type_IteratorSubType_Begin() const
Reflex::Type_IteratorSubType_End() const
Reflex::Reverse_Type_IteratorSubType_RBegin() const
Reflex::Reverse_Type_IteratorSubType_REnd() const
Reflex::TypeSubTypeAt(size_t nth) const
size_tSubTypeSize() const
Reflex::TypeTemplate_IteratorSubTypeTemplate_Begin() const
Reflex::TypeTemplate_IteratorSubTypeTemplate_End() const
Reflex::Reverse_TypeTemplate_IteratorSubTypeTemplate_RBegin() const
Reflex::Reverse_TypeTemplate_IteratorSubTypeTemplate_REnd() const
Reflex::TypeTemplateSubTypeTemplateAt(size_t nth) const
size_tSubTypeTemplateSize() const
Reflex::Type_IteratorTemplateArgument_Begin() const
Reflex::Type_IteratorTemplateArgument_End() const
Reflex::Reverse_Type_IteratorTemplateArgument_RBegin() const
Reflex::Reverse_Type_IteratorTemplateArgument_REnd() const
Reflex::TypeTemplateArgumentAt(size_t nth) const
size_tTemplateArgumentSize() const
Reflex::TypeTemplateTemplateFamily() const
Reflex::TypeToType() const
const Reflex::TypeBase*ToTypeBase() const
Reflex::TypeType(const Reflex::Type& rh)
Reflex::TypeType(const Reflex::TypeName* typName = 0, unsigned int modifiers = 0)
Reflex::TypeType(const Reflex::Type& rh, unsigned int modifiers, Reflex::Type::TYPE_MODIFICATION operation = REPLACE)
static Reflex::Type_IteratorType_Begin()
static Reflex::Type_IteratorType_End()
static Reflex::Reverse_Type_IteratorType_RBegin()
static Reflex::Reverse_Type_IteratorType_REnd()
static Reflex::TypeTypeAt(size_t nth)
const type_info&TypeInfo() const
static size_tTypeSize()
Reflex::TYPETypeType() const
stringTypeTypeAsString() const
voidUnload() const
voidUpdateMembers() const

Data Members

private:
enum TYPE_MODIFICATION { REPLACE
APPEND
MASK
};
private:
unsigned intfModifiers
const Reflex::TypeName*fTypeName

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Reflex::REPRESTYPE RepresType() const
inline operator bool() const
inline Type(const Reflex::TypeName* typName = 0, unsigned int modifiers = 0)
{}
inline Type(const Reflex::Type& rh)
{}
inline Type(const Reflex::Type& rh, unsigned int modifiers, Reflex::Type::TYPE_MODIFICATION operation = REPLACE)
{}
inline ~Type()
void * Allocate() const
size_t BaseSize() const
Reflex::Base_Iterator Base_Begin() const
Reflex::Base_Iterator Base_End() const
Reflex::Reverse_Base_Iterator Base_RBegin() const
Reflex::Reverse_Base_Iterator Base_REnd() const
size_t DataMemberSize(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Member_Iterator DataMember_Begin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Member_Iterator DataMember_End(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_Iterator DataMember_RBegin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_Iterator DataMember_REnd(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
void Deallocate(void* instance) const
Reflex::Scope DeclaringScope() const
void Destruct(void* instance, bool dealloc = true) const
size_t FunctionMemberSize(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Member_Iterator FunctionMember_Begin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Member_Iterator FunctionMember_End(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_Iterator FunctionMember_RBegin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_Iterator FunctionMember_REnd(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
void * Id() const
bool IsAbstract() const
bool IsArray() const
bool IsClass() const
bool IsComplete() const
bool IsConst() const
bool IsConstVolatile() const
bool IsEnum() const
bool IsFunction() const
bool IsFundamental() const
bool IsPointer() const
bool IsPointerToMember() const
bool IsPrivate() const
bool IsProtected() const
bool IsPublic() const
bool IsReference() const
bool IsStruct() const
bool IsTemplateInstance() const
bool IsTypedef() const
bool IsUnion() const
bool IsUnqualified() const
bool IsVirtual() const
bool IsVolatile() const
size_t ArrayLength() const
Reflex::Type FinalType() const
size_t MemberTemplateSize() const
size_t MemberSize(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Member_Iterator Member_Begin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Member_Iterator Member_End(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_Iterator Member_RBegin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::Reverse_Member_Iterator Member_REnd(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Reflex::MemberTemplate_Iterator MemberTemplate_Begin() const
Reflex::MemberTemplate_Iterator MemberTemplate_End() const
Reflex::Reverse_MemberTemplate_Iterator MemberTemplate_RBegin() const
Reflex::Reverse_MemberTemplate_Iterator MemberTemplate_REnd() const
const char * Name_c_str() const
Reflex::Type FunctionParameterAt(size_t nth) const
size_t FunctionParameterSize() const
Reflex::Type_Iterator FunctionParameter_Begin() const
Reflex::Type_Iterator FunctionParameter_End() const
Reflex::Reverse_Type_Iterator FunctionParameter_RBegin() const
Reflex::Reverse_Type_Iterator FunctionParameter_REnd() const
Reflex::PropertyList Properties() const
Reflex::Type RawType() const
Reflex::Type ReturnType() const
Reflex::Scope_Iterator SubScope_Begin() const
Reflex::Scope_Iterator SubScope_End() const
Reflex::Reverse_Scope_Iterator SubScope_RBegin() const
Reflex::Reverse_Scope_Iterator SubScope_REnd() const
size_t SizeOf() const
size_t SubScopeSize() const
size_t SubTypeSize() const
Reflex::Type_Iterator SubType_Begin() const
Reflex::Type_Iterator SubType_End() const
Reflex::Reverse_Type_Iterator SubType_RBegin() const
Reflex::Reverse_Type_Iterator SubType_REnd() const
Reflex::Type_Iterator TemplateArgument_Begin() const
Reflex::Type_Iterator TemplateArgument_End() const
Reflex::Reverse_Type_Iterator TemplateArgument_RBegin() const
Reflex::Reverse_Type_Iterator TemplateArgument_REnd() const
Reflex::Type ToType() const
Reflex::Type_Iterator Type_Begin()
Reflex::Type_Iterator Type_End()
Reflex::Reverse_Type_Iterator Type_RBegin()
Reflex::Reverse_Type_Iterator Type_REnd()
const std::type_info & TypeInfo() const
size_t SubTypeTemplateSize() const
Reflex::TypeTemplate_Iterator SubTypeTemplate_Begin() const
Reflex::TypeTemplate_Iterator SubTypeTemplate_End() const
Reflex::Reverse_TypeTemplate_Iterator SubTypeTemplate_RBegin() const
Reflex::Reverse_TypeTemplate_Iterator SubTypeTemplate_REnd() const
Reflex::TYPE TypeType() const
std::string TypeTypeAsString() const
void UpdateMembers() const
Reflex::Type TemplateArgumentAt(size_t nth) const
size_t TemplateArgumentSize() const
Reflex::TypeTemplate TemplateFamily() const
const Reflex::TypeBase * ToTypeBase() const
void AddBase(const Reflex::Type& bas, Reflex::OffsetFunction offsFP, unsigned int modifiers = 0) const
void AddBase(const Reflex::Base& b) const
void AddDataMember(const Reflex::Member& dm) const
void AddFunctionMember(const Reflex::Member& fm) const
void AddSubScope(const Reflex::Scope& sc) const
void AddSubScope(const char* scop, Reflex::TYPE scopeTyp = NAMESPACE) const
void AddSubType(const Reflex::Type& ty) const
void AddSubType(const char* typ, size_t size, Reflex::TYPE typeTyp, const type_info& ti, unsigned int modifiers = 0) const
void RemoveDataMember(const Reflex::Member& dm) const
void RemoveFunctionMember(const Reflex::Member& fm) const
void RemoveSubScope(const Reflex::Scope& sc) const
void RemoveSubType(const Reflex::Type& ty) const
void SetSize(size_t s) const
void SetTypeInfo(const type_info& ti) const
Base BaseAt(size_t nth) const
      * BaseAt will return the nth base class information
      * @param  nth base class
      * @return pointer to base class information

Type ByName(const string& key)
      * ByName will look for a type given as a string and return it's
      * reflection type information
      * @param  key fully qualified name of the type as string
      * @return reflection type information

Type ByTypeInfo(const type_info& tid)
      * ByTypeInfo will look for a type given as a
      * std::type_info and return its reflection information
      * @param  tid std::type_info to look for
      * @return reflection information of type

Object CastObject(const Reflex::Type& to, const Reflex::Object& obj) const
      * CastObject an object from this class type to another one
      * @param  to is the class type to cast into
      * @param  obj the memory address of the object to be casted

Member DataMemberAt(size_t nth, Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
      * DataMemberAt will return the nth data member of the type
      * @param  nth the nth data member
      * @return nth data member

Member DataMemberByName(const string& nam, Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
      * DataMemberByName will lookup a data member by name
      * @param  name of data member
      * @return data member

Type DynamicType(const Reflex::Object& obj) const
      * DynamicType is used to discover the dynamic type (useful in
      * case of polymorphism)
      * @param  mem is the memory address of the object to checked
      * @return the actual class of the object

Member FunctionMemberAt(size_t nth, Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
      * FunctionMemberAt will return the nth function member of the type
      * @param  nth function member
      * @return reflection information of nth function member

Member FunctionMemberByName( const std::string & nam, const Type & signature = Type(0,0), unsigned int modifiers_mask = 0, EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT)
      * FunctionMemberByName will return the member with the name,
      * optionally the signature of the function may be given as a type
      * @param  name of function member
      * @param  signature of the member function
      * @return reflection information of the function member

void GenerateDict(Reflex::DictionaryGenerator& generator) const
      * GenerateDict will produce the dictionary information of this type
      * @param generator a reference to the dictionary generator instance

bool HasBase(const Reflex::Type& cl) const
      * HasBase will check whether this class has a base class given
      * as argument
      * @param  cl the base-class to check for
      * @return the Base info if it is found, an empty base otherwise (can be tested for bool)

bool IsEquivalentTo(const Reflex::Type& typ, unsigned int modifiers_mask = 0) const
      * IsEquivalentTo returns true if the two types are equivalent
      * @param type to compare to
      * @modifiers_mask do not compare the listed modifiers
      * @return true if two types are equivalent

Member MemberAt(size_t nth, Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
      * MemberAt will return the nth member of the type
      * @param  nth member
      * @return reflection information nth member

Member MemberByName( const std::string & nam, const Type & signature = Type(0,0), EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT)
      * MemberByName will return the first member with a given Name
      * @param  member name
      * @param  signature of the (function) member
      * @return reflection information of the member

MemberTemplate MemberTemplateAt(size_t nth) const
      * MemberTemplateAt will return the nth member template of this type
      * @param nth member template
      * @return nth member template

std::string Name(unsigned int mod = 0) const
      * Name returns the name of the type
      * @param  mod qualifiers can be or'ed
      *   FINAL     - resolve typedefs
      *   SCOPED    - fully scoped name
      *   QUALIFIED - cv, reference qualification
      * @return name of the type

Scope PointerToMemberScope() const
      * PointerToMemberScope will return the scope of the pointer to member type
      * @return scope of the pointer to member type

Scope SubScopeAt(size_t nth) const
      * SubScopeAt will return a pointer to a sub scopes
      * @param  nth sub scope
      * @return reflection information of nth sub scope

Type SubTypeAt(size_t nth) const
      * SubTypeAt will return the nth sub type
      * @param  nth sub type
      * @return reflection information of nth sub type

TypeTemplate SubTypeTemplateAt(size_t nth) const
      * SubTypeTemplateAt will return the nth type template of this type
      * @param nth type template
      * @return nth type template

Type TypeAt(size_t nth)
      * TypeAt will return the nth Type in the system
      * @param  nth number of type to return
      * @return reflection information of nth type in the system

size_t TypeSize()
      * TypeSize will return the number of currently defined types in
      * the system
      * @return number of currently defined types

void Unload() const
      * Unload will unload the dictionary information of a type from the system

void AddDataMember(const Reflex::Member& dm) const
      * AddDataMember will add the information about a data member
      * @param dm data member to add

void AddFunctionMember(const Reflex::Member& fm) const
      * AddFunctionMember will add the information about a function member
      * @param fm function member to add