ROOT logo
ROOT » CINT » REFLEX » Reflex::ClassBuilder

class Reflex::ClassBuilder

Function Members (Methods)

public:
virtual~ClassBuilder()
Reflex::ClassBuilder&AddBase(const Reflex::Type& bas, Reflex::OffsetFunction offsFP, unsigned int modifiers = 0)
Reflex::ClassBuilder&AddDataMember(const Reflex::Type& typ, const char* nam, size_t offs, unsigned int modifiers = 0)
Reflex::ClassBuilder&AddEnum(const char* nam, const char* values, const type_info* ti = 0, unsigned int modifiers = 0)
Reflex::ClassBuilder&AddFunctionMember(const Reflex::Type& typ, const char* nam, Reflex::StubFunction stubFP, void* stubCtx = 0, const char* params = 0, unsigned int modifiers = 0)
Reflex::ClassBuilder&AddOnDemandDataMemberBuilder(Reflex::OnDemandBuilderForScope* odb)
Reflex::ClassBuilder&AddOnDemandFunctionMemberBuilder(Reflex::OnDemandBuilderForScope* odb)
Reflex::ClassBuilder&AddTypedef(const Reflex::Type& typ, const char* def)
Reflex::ClassBuilder&AddTypedef(const char* typ, const char* def)
Reflex::ClassBuilderClassBuilder(Reflex::Class* cl)
Reflex::ClassBuilderClassBuilder(const Reflex::ClassBuilder&)
Reflex::ClassBuilderClassBuilder(const char* nam, const type_info& ti, size_t size, unsigned int modifiers = 0, Reflex::TYPE typ = CLASS)
Reflex::ClassBuilder&operator=(const Reflex::ClassBuilder&)
Reflex::ClassBuilder&SetSizeOf(size_t size)
Reflex::TypeToType()
protected:
Reflex::ClassBuilder&EnableCallback(bool enable = true)

Data Members

private:
Reflex::ClassBuilderImplfClassBuilderImpl

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

AddBase(unsigned int modifiers)
AddDataMember(const char* nam, size_t offs, unsigned int modifiers)
AddFunctionMember(const char* nam, StubFunction stubFP, void* stubCtx, const char* params, unsigned int modifiers)
AddTypedef(const char* def)
AddEnum(const char* values, unsigned int modifiers)
void AddTypedef(const Type& typ, const char* def)
void AddOnDemandDataMemberBuilder(Reflex::OnDemandBuilderForScope* odb)
    * Register an on demand builder for data members with this class.

void AddOnDemandFunctionMemberBuilder(Reflex::OnDemandBuilderForScope* odb)
    * Register an on demand builder for function members with this class.

void SetSizeOf(size_t size)
 SetSizeOf will set the SizeOf property for this class.
    * It currently ignore all actual content.
    * @size Size of the class

Type ToType()
    * ToType will return the currently produced Type (class)
    * @return the type currently being built

void EnableCallback(bool enable = true)
    * EnableCallback Enable or disable the callback call in the destructor
    * @param  enable true to enable callback call, false to disable callback call

ClassBuilder(const char* nam, const type_info& ti, size_t size, unsigned int modifiers = 0, Reflex::TYPE typ = CLASS)
 constructor 
ClassBuilder(Class* cl)
virtual ~ClassBuilder()
 destructor