CCache Class Reference

#include <cache.h>

Inheritance diagram for CCache:

CBaseObject

List of all members.

Public Member Functions

 CCache (TCHAR *pName, INT iItems)
virtual ~CCache ()
CBaseObjectAddToCache (CBaseObject *pObject)
CBaseObjectRemoveFromCache ()
void RemoveAll (void)
INT GetCacheSize (void) const

Private Member Functions

 CCache (const CCache &refCache)
CCacheoperator= (const CCache &refCache)

Private Attributes

CBaseObject ** m_ppObjects
const INT m_iCacheSize
INT m_iUsed


Detailed Description

Definition at line 8 of file cache.h.


Constructor & Destructor Documentation

CCache::CCache ( const CCache refCache  )  [private]

CCache::CCache ( TCHAR pName,
INT  iItems 
)

virtual CCache::~CCache (  )  [virtual]


Member Function Documentation

CCache& CCache::operator= ( const CCache refCache  )  [private]

CBaseObject* CCache::AddToCache ( CBaseObject pObject  ) 

CBaseObject* CCache::RemoveFromCache (  ) 

void CCache::RemoveAll ( void   ) 

INT CCache::GetCacheSize ( void   )  const [inline]

Definition at line 38 of file cache.h.

References m_iCacheSize.


Member Data Documentation

Definition at line 19 of file cache.h.

const INT CCache::m_iCacheSize [private]

Definition at line 20 of file cache.h.

Referenced by GetCacheSize().

INT CCache::m_iUsed [private]

Definition at line 21 of file cache.h.


The documentation for this class was generated from the following file:

Generated on Sun May 25 00:20:37 2008 by  doxygen 1.5.6