K3dAddress Class Reference

#include <K3dGameData.h>

List of all members.

Public Member Functions

 K3dAddress ()
 ~K3dAddress ()
void AddAddress (void *_pAddress)
 Add memory address.
void * GetAddress (const int _iId)
 Get memory address.
int GetNumAddresses ()
 Get number of memory addresses.
bool FindAddress (void *_pAddress)
 Find address.
void DeleteAddress (void *_pAddress)
 Delete memory address.
void DeleteAddressArray ()
 Delete whole memory address array.
void ShowAddressArray ()

Private Attributes

TVoidArray m_tAddressArray
 Address array.
TVoidArray::iterator m_it
 Address array iterator.


Detailed Description

Definition at line 47 of file K3dGameData.h.


Constructor & Destructor Documentation

K3dAddress::K3dAddress (  ) 

Definition at line 37 of file K3dGameData.cpp.

K3dAddress::~K3dAddress (  ) 

Definition at line 41 of file K3dGameData.cpp.

References DeleteAddressArray().


Member Function Documentation

void K3dAddress::AddAddress ( void *  _pAddress  ) 

Add memory address.

Parameters:
_pAddress Memory address

Definition at line 57 of file K3dGameData.cpp.

References m_tAddressArray.

Referenced by K3dSafePointer< K3dTriangle >::Add(), and K3dSafePointer< K3dTriangle >::New().

void * K3dAddress::GetAddress ( const int  _iId  ) 

Get memory address.

Return values:
void* Memory address

Definition at line 64 of file K3dGameData.cpp.

References m_tAddressArray.

Referenced by K3dSafePointer< K3dTriangle >::Get().

int K3dAddress::GetNumAddresses (  ) 

Get number of memory addresses.

Definition at line 75 of file K3dGameData.cpp.

References m_tAddressArray.

Referenced by K3dSafePointer< K3dTriangle >::GetNum().

bool K3dAddress::FindAddress ( void *  _pAddress  ) 

Find address.

Parameters:
_pAddress Pointer address
Return values:
bool True if address found

Definition at line 83 of file K3dGameData.cpp.

References m_it, and m_tAddressArray.

Referenced by K3dSafePointer< K3dTriangle >::Delete(), and K3dSafePointer< K3dTriangle >::FindPointer().

void K3dAddress::DeleteAddress ( void *  _pAddress  ) 

Delete memory address.

Parameters:
_pAddress Pointer address
Return values:
bool True if address found

Definition at line 96 of file K3dGameData.cpp.

References m_it, and m_tAddressArray.

Referenced by K3dSafePointer< K3dTriangle >::Delete().

void K3dAddress::DeleteAddressArray (  ) 

Delete whole memory address array.

Definition at line 110 of file K3dGameData.cpp.

References m_tAddressArray.

Referenced by K3dSafePointer< K3dTriangle >::DeleteAll(), and ~K3dAddress().

void K3dAddress::ShowAddressArray (  ) 

Definition at line 46 of file K3dGameData.cpp.

References m_tAddressArray.


Member Data Documentation

TVoidArray K3dAddress::m_tAddressArray [private]

Address array.

Definition at line 49 of file K3dGameData.h.

Referenced by AddAddress(), DeleteAddress(), DeleteAddressArray(), FindAddress(), GetAddress(), GetNumAddresses(), and ShowAddressArray().

TVoidArray::iterator K3dAddress::m_it [private]

Address array iterator.

Definition at line 50 of file K3dGameData.h.

Referenced by DeleteAddress(), and FindAddress().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:30 2007 for K3dEngine by  doxygen 1.5.0