#include <refclass.h>
Collaboration diagram for TSub< T, Arg >:
Public Methods | |
TSub (const Arg &a) | |
The Constructor of TSub requires an 'a' class to be called-- Dereferences Function Pointer construct_T. More... | |
void | Deallocate () |
This deallocate function deletes T. More... | |
T * | operator-> () |
Ye olde dereferencing functions. More... | |
const T * | operator-> () const |
Ye olde dereferencing functions. More... | |
const T * | operator * () const |
Ye olde dereferencing functions. More... | |
T * | operator * () |
Ye olde dereferencing functions. More... | |
bool | operator== (const TSub< T, Arg > &a) const |
bool | operator< (const TSub< T, Arg > &a) const |
Static Public Methods | |
T * | Default_T_Construct (const Arg &a) |
This is the default T to be constructed given an a. This function may be changed. More... | |
Public Attributes | |
T * | t |
This is the variable that actually holds t. More... | |
int | refcount |
This variable stores the reference count. More... | |
T * | t |
Static Public Attributes | |
T *(* | construct_T )(const Arg &a) |
This is the function pointer that points to potentially any T constructor. Care should be taken to set this before making new TSub classes. More... |
|
The Constructor of TSub requires an 'a' class to be called-- Dereferences Function Pointer construct_T.
|
|
This deallocate function deletes T.
|
|
This is the default T to be constructed given an a. This function may be changed.
00049 {return new T (a);} |
|
Ye olde dereferencing functions.
00071 {return t;} |
|
Ye olde dereferencing functions.
00069 {return t;} |
|
Ye olde dereferencing functions.
00067 {return t;} |
|
Ye olde dereferencing functions.
00065 {return t;} |
|
00075 { 00076 return t<*a; 00077 } |
|
00072 { 00073 return t==*a; 00074 } |
|
This is the function pointer that points to potentially any T constructor. Care should be taken to set this before making new TSub classes.
|
|
This variable stores the reference count.
|
|
|
|
This is the variable that actually holds t.
|