00001 #ifndef RFL_DCLASSTYPE_HH
00002 #define RFL_DCLASSTYPE_HH
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "ClassType.hh"
00025
00026 namespace rfl {
00027
00028 class DClassType : public ClassType {
00029 public:
00030
00031 DClassType( const char* name );
00032
00033 void addBaseClass( const ClassType& baseClass );
00034 void addMember( const char* name, const Type& type, int offset = -1 );
00035
00036 private:
00037
00038 static void fCreate( const Type* ct, void* addr );
00039 static void fCCreate( const Type* ct, void* addr, const void* obj );
00040 static void fDestroy( const Type* ct, void* obj );
00041 static void fAssign( const Type* ct, void* dst, const void* src );
00042
00043 static void* fNewObj( const Type* ct );
00044 static void* fNewCopy( const Type* ct, const void* obj );
00045 static void fDelObj( const Type* ct, void* obj );
00046 };
00047
00048 }
00049 #endif // RFL_DCLASSTYPE_HH