src/tools/tList.h File Reference

#include "tArray.h"
#include "tSafePTR.h"
#include <new>
#include <stdlib.h>

Include dependency graph for tList.h:

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

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 Documentation

#define tDECLARE_REFOBJ (  ) 

Value:

class T;\
namespace referencing   \
{\
  void AddReference( T* );\
  void ReleaseReference( T* );\
}

Definition at line 47 of file tList.h.

#define tDEFINE_REFOBJ (  ) 

Value:

namespace referencing \
{\
  void AddReference( T* t)\
  {\
    tASSERT(t);\
        t->AddRef();\
  }\
  void ReleaseReference( T* t)\
   {\
         tASSERT(t);\
         t->Release();\
   }\
}

Definition at line 55 of file tList.h.


Function Documentation

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 };

Here is the call graph for this function:


Generated on Sat Mar 15 23:11:58 2008 for Armagetron Advanced by  doxygen 1.5.4