#include "tArray.h"
#include "tSafePTR.h"
#include <new>
#include <stdlib.h>
Go to the source code of this file.
Namespaces | |
namespace | referencing |
Classes | |
class | tList< T, MALLOC, REFERENCE > |
class | tListMember |
Defines | |
#define | tDECLARE_REFOBJ(T) |
#define | tDEFINE_REFOBJ(T) |
Functions | |
void | referencing::AddReference (void *) |
void | referencing::ReleaseReference (void *) |
tDECLARE_REFOBJ (nNetObject) tDECLARE_REFOBJ(ePoint) tDECLARE_REFOBJ(eHalfEdge) tDECLARE_REFOBJ(eFace) template< class T > class tReferencer |
#define tDECLARE_REFOBJ | ( | T | ) |
Value:
class T;\ namespace referencing \ {\ void AddReference( T* );\ void ReleaseReference( T* );\ }
#define tDEFINE_REFOBJ | ( | T | ) |
Value:
namespace referencing \ {\ void AddReference( T* t)\ {\ tASSERT(t);\ t->AddRef();\ }\ void ReleaseReference( T* t)\ {\ tASSERT(t);\ t->Release();\ }\ }
tDECLARE_REFOBJ | ( | nNetObject | ) |
Definition at line 70 of file tList.h.
References referencing::AddReference(), and referencing::ReleaseReference().
00079 { 00080 public: 00081 static void AddReference( T* t ) 00082 { 00083 referencing::AddReference( t ); 00084 } 00085 00086 static void ReleaseReference( T* t ) 00087 { 00088 referencing::ReleaseReference( t ); 00089 } 00090 };