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&AddTypedef(const Reflex::Type& typ, const char* def)
Reflex::ClassBuilder&AddTypedef(const char* typ, const char* def)
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

template<typename C, typename B> inline Reflex::ClassBuilder& AddBase(unsigned int modifiers)
template<typename T> inline Reflex::ClassBuilder& AddDataMember(const char* nam, size_t offs, unsigned int modifiers)
template <typename F> inline Reflex::ClassBuilder& AddFunctionMember(const char* nam, StubFunction stubFP, void* stubCtx, const char* params, unsigned int modifiers)
template <typename TD> inline Reflex::ClassBuilder& AddTypedef(const char* def)
template <typename E> inline Reflex::ClassBuilder& AddEnum(const char* values, unsigned int modifiers)
void AddTypedef(const Type& typ, const char* def)
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 
virtual ~ClassBuilder()
 destructor