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, Reflex::EDELAYEDLOADSETTING allowDelayedLoad = DELAYEDLOAD_ON) 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

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

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RepresType() const
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()
Allocate() const
BaseSize() const
Base_Begin() const
Base_End() const
Base_RBegin() const
Base_REnd() const
DataMemberSize(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
DataMember_Begin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
DataMember_End(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
DataMember_RBegin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
DataMember_REnd(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Deallocate(void* instance) const
DeclaringScope() const
Destruct(void* instance, bool dealloc = true) const
FunctionMemberSize(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
FunctionMember_Begin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
FunctionMember_End(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
FunctionMember_RBegin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
FunctionMember_REnd(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Id() const
IsAbstract() const
IsArray() const
IsClass() const
IsComplete() const
IsConst() const
IsConstVolatile() const
IsEnum() const
IsFunction() const
IsFundamental() const
IsPointer() const
IsPointerToMember() const
IsPrivate() const
IsProtected() const
IsPublic() const
IsReference() const
IsStruct() const
IsTemplateInstance() const
IsTypedef() const
IsUnion() const
IsUnqualified() const
IsVirtual() const
IsVolatile() const
ArrayLength() const
FinalType() const
MemberTemplateSize() const
MemberSize(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Member_Begin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Member_End(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Member_RBegin(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
Member_REnd(Reflex::EMEMBERQUERY inh = INHERITEDMEMBERS_DEFAULT) const
MemberTemplate_Begin() const
MemberTemplate_End() const
MemberTemplate_RBegin() const
MemberTemplate_REnd() const
Name_c_str() const
FunctionParameterAt(size_t nth) const
FunctionParameterSize() const
FunctionParameter_Begin() const
FunctionParameter_End() const
FunctionParameter_RBegin() const
FunctionParameter_REnd() const
Properties() const
RawType() const
ReturnType() const
SubScope_Begin() const
SubScope_End() const
SubScope_RBegin() const
SubScope_REnd() const
SizeOf() const
SubScopeSize() const
SubTypeSize() const
SubType_Begin() const
SubType_End() const
SubType_RBegin() const
SubType_REnd() const
TemplateArgument_Begin() const
TemplateArgument_End() const
TemplateArgument_RBegin() const
TemplateArgument_REnd() const
ToType() const
Type_Begin()
Type_End()
Type_RBegin()
Type_REnd()
TypeInfo() const
SubTypeTemplateSize() const
SubTypeTemplate_Begin() const
SubTypeTemplate_End() const
SubTypeTemplate_RBegin() const
SubTypeTemplate_REnd() const
TypeType() const
TypeTypeAsString() const
UpdateMembers() const
TemplateArgumentAt(size_t nth) const
TemplateArgumentSize() const
TemplateFamily() const
ToTypeBase() const
AddBase(const Reflex::Type& bas, Reflex::OffsetFunction offsFP, unsigned int modifiers = 0) const
AddBase(const Reflex::Base& b) const
AddDataMember(const Reflex::Member& dm) const
AddFunctionMember(const Reflex::Member& fm) const
AddSubScope(const Reflex::Scope& sc) const
AddSubScope(const char* scop, Reflex::TYPE scopeTyp = NAMESPACE) const
AddSubType(const Reflex::Type& ty) const
AddSubType(const char* typ, size_t size, Reflex::TYPE typeTyp, const type_info& ti, unsigned int modifiers = 0) const
RemoveDataMember(const Reflex::Member& dm) const
RemoveFunctionMember(const Reflex::Member& fm) const
RemoveSubScope(const Reflex::Scope& sc) const
RemoveSubType(const Reflex::Type& ty) const
SetSize(size_t s) const
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
    * Construct will call the constructor of a given type and allocate
    * the memory for it
    * @param  signature of the constructor
    * @param  values for parameters of the constructor
    * @param  mem place in memory for implicit construction
    * @return new object


      Object Construct( const Type & signature,
      const std::vector < Object > & values,
      void * mem = 0 ) const;


    * DataMemberAt will return the nth data member of the type
    * @param  nth the nth data member
    * @return nth 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

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

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