class Reflex::Type

Function Members (Methods)

public:
~Type()
voidAddDataMember(const Reflex::Member& dm) const
voidAddDataMember(const char* nam, const Reflex::Type& typ, size_t offs, unsigned int modifiers = 0) const
voidAddFunctionMember(const Reflex::Member& fm) const
voidAddFunctionMember(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() const
Reflex::Member_IteratorDataMember_End() const
Reflex::Reverse_Member_IteratorDataMember_RBegin() const
Reflex::Reverse_Member_IteratorDataMember_REnd() const
Reflex::MemberDataMemberAt(size_t nth) const
Reflex::MemberDataMemberByName(const string& nam) const
size_tDataMemberSize() 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() const
Reflex::Member_IteratorFunctionMember_End() const
Reflex::Reverse_Member_IteratorFunctionMember_RBegin() const
Reflex::Reverse_Member_IteratorFunctionMember_REnd() const
Reflex::MemberFunctionMemberAt(size_t nth) const
Reflex::MemberFunctionMemberByName(const string& nam, const Reflex::Type& signature = Type(0,0), unsigned int modifiers_mask = 0) const
size_tFunctionMemberSize() 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() const
Reflex::Member_IteratorMember_End() const
Reflex::Reverse_Member_IteratorMember_RBegin() const
Reflex::Reverse_Member_IteratorMember_REnd() const
Reflex::MemberMemberAt(size_t nth) const
Reflex::MemberMemberByName(const string& nam, const Reflex::Type& signature = Type(0,0)) const
size_tMemberSize() 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::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

inline operator bool()
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()
size_t BaseSize()
Reflex::Base_Iterator Base_Begin()
Reflex::Base_Iterator Base_End()
Reflex::Reverse_Base_Iterator Base_RBegin()
Reflex::Reverse_Base_Iterator Base_REnd()
size_t DataMemberSize()
Reflex::Member_Iterator DataMember_Begin()
Reflex::Member_Iterator DataMember_End()
Reflex::Reverse_Member_Iterator DataMember_RBegin()
Reflex::Reverse_Member_Iterator DataMember_REnd()
void Deallocate(void* instance) const
Reflex::Scope DeclaringScope()
void Destruct(void* instance, bool dealloc = true) const
size_t FunctionMemberSize()
Reflex::Member_Iterator FunctionMember_Begin()
Reflex::Member_Iterator FunctionMember_End()
Reflex::Reverse_Member_Iterator FunctionMember_RBegin()
Reflex::Reverse_Member_Iterator FunctionMember_REnd()
void * Id()
bool IsAbstract()
bool IsArray()
bool IsClass()
bool IsComplete()
bool IsConst()
bool IsConstVolatile()
bool IsEnum()
bool IsFunction()
bool IsFundamental()
bool IsPointer()
bool IsPointerToMember()
bool IsPrivate()
bool IsProtected()
bool IsPublic()
bool IsReference()
bool IsStruct()
bool IsTemplateInstance()
bool IsTypedef()
bool IsUnion()
bool IsUnqualified()
bool IsVirtual()
bool IsVolatile()
size_t ArrayLength()
Reflex::Type FinalType()
size_t MemberTemplateSize()
size_t MemberSize()
Reflex::Member_Iterator Member_Begin()
Reflex::Member_Iterator Member_End()
Reflex::Reverse_Member_Iterator Member_RBegin()
Reflex::Reverse_Member_Iterator Member_REnd()
Reflex::MemberTemplate_Iterator MemberTemplate_Begin()
Reflex::MemberTemplate_Iterator MemberTemplate_End()
Reflex::Reverse_MemberTemplate_Iterator MemberTemplate_RBegin()
Reflex::Reverse_MemberTemplate_Iterator MemberTemplate_REnd()
const char * Name_c_str()
Reflex::Type FunctionParameterAt(size_t nth) const
size_t FunctionParameterSize()
Reflex::Type_Iterator FunctionParameter_Begin()
Reflex::Type_Iterator FunctionParameter_End()
Reflex::Reverse_Type_Iterator FunctionParameter_RBegin()
Reflex::Reverse_Type_Iterator FunctionParameter_REnd()
Reflex::PropertyList Properties()
Reflex::Type RawType()
Reflex::Type ReturnType()
Reflex::Scope_Iterator SubScope_Begin()
Reflex::Scope_Iterator SubScope_End()
Reflex::Reverse_Scope_Iterator SubScope_RBegin()
Reflex::Reverse_Scope_Iterator SubScope_REnd()
size_t SizeOf()
size_t SubScopeSize()
size_t SubTypeSize()
Reflex::Type_Iterator SubType_Begin()
Reflex::Type_Iterator SubType_End()
Reflex::Reverse_Type_Iterator SubType_RBegin()
Reflex::Reverse_Type_Iterator SubType_REnd()
Reflex::Type_Iterator TemplateArgument_Begin()
Reflex::Type_Iterator TemplateArgument_End()
Reflex::Reverse_Type_Iterator TemplateArgument_RBegin()
Reflex::Reverse_Type_Iterator TemplateArgument_REnd()
Reflex::Type ToType()
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()
size_t SubTypeTemplateSize()
Reflex::TypeTemplate_Iterator SubTypeTemplate_Begin()
Reflex::TypeTemplate_Iterator SubTypeTemplate_End()
Reflex::Reverse_TypeTemplate_Iterator SubTypeTemplate_RBegin()
Reflex::Reverse_TypeTemplate_Iterator SubTypeTemplate_REnd()
Reflex::TYPE TypeType()
std::string TypeTypeAsString()
void UpdateMembers()
Reflex::Type TemplateArgumentAt(size_t nth) const
size_t TemplateArgumentSize()
Reflex::TypeTemplate TemplateFamily()
const Reflex::TypeBase * ToTypeBase()
void AddDataMember(const Reflex::Member& dm) const
void AddDataMember(const char* nam, const Reflex::Type& typ, size_t offs, unsigned int modifiers = 0) const
void AddFunctionMember(const Reflex::Member& fm) const
void AddFunctionMember(const char* nam, const Reflex::Type& typ, Reflex::StubFunction stubFP, void* stubCtx = 0, const char* params = 0, unsigned int modifiers = 0) 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) 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) 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) 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 )
      * 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) 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))
      * 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()
      * 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()
      * Unload will unload the dictionary information of a type from the system


Author: Stefan Roiser 2004
Last change: root/reflex:$Id: Type.h 23635 2008-05-01 21:39:49Z russo $
Last generated: 2008-06-25 08:31

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.