Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

refclass.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  RefClass
 this is a container class that will be used to hold your dear class, and will assure that two classes that were constructed with the same argument get the same memory.this class requires that you have a decent copy constructorYou cannot do inheritance unless you use this class Unless you use TSub instead of TRef. More...

class  TRef
class  TSub
 This is a container class that can hold a class of yours or a class that may wish to be overridden by a subtype. More...


Defines

#define REFASSERT(X)   if (!(X)){_refclass_global_int_yo=*(int*)0;}else{;}
#define INSTANTIATE_REFCLASS(T, Arg, TStar)   RefClass<T,Arg,TStar>::TMap RefClass <T,Arg,TStar>::hmap;RefClass<T,Arg,TStar>::TMap RefClass <T,Arg,TStar>::NiL;
 This structure instantiates the static variables inside a RefClass with these particular 3 argumentsx. More...

#define INSTANTIATE_DEFAULT_REFCLASS(T, Arg)   RefClass<T,Arg>::TMap RefClass <T,Arg>::hmap; RefClass<T,Arg>::TMap RefClass <T,Arg>::NiL;
 This structure instantiates the static variables inside a RefClass with The Default Two Args. More...

#define INSTANTIATE_TSUB(T, Arg)   T * (*TSub<T,Arg>::construct_T) (const Arg & a) = TSub<T,Arg>::construct_T= &TSub<T,Arg>::Default_T_Construct;
 This instantiates the TSub class's static variables. Needed once per program using this. More...


Define Documentation

#define INSTANTIATE_DEFAULT_REFCLASS T,
Arg       RefClass<T,Arg>::TMap RefClass <T,Arg>::hmap; RefClass<T,Arg>::TMap RefClass <T,Arg>::NiL;
 

This structure instantiates the static variables inside a RefClass with The Default Two Args.

#define INSTANTIATE_REFCLASS T,
Arg,
TStar       RefClass<T,Arg,TStar>::TMap RefClass <T,Arg,TStar>::hmap;RefClass<T,Arg,TStar>::TMap RefClass <T,Arg,TStar>::NiL;
 

This structure instantiates the static variables inside a RefClass with these particular 3 argumentsx.

#define INSTANTIATE_TSUB T,
Arg       T * (*TSub<T,Arg>::construct_T) (const Arg & a) = TSub<T,Arg>::construct_T= &TSub<T,Arg>::Default_T_Construct;
 

This instantiates the TSub class's static variables. Needed once per program using this.

#define REFASSERT      if (!(X)){_refclass_global_int_yo=*(int*)0;}else{;}
 


Generated on Mon Jul 7 21:13:49 2003 for Ethereal by doxygen1.2.15