SGenericCache Class Template Reference
[Utility Classes and Functions]

#include <support/GenericCache.h>

Inheritance diagram for SGenericCache:

SAbstractCache List of all members.

template<class KEY, class TYPE>
class SGenericCache< KEY, TYPE >


Public Member Functions

status_t Add (const KEY &key, const TYPE &data, int32_t flags=0)
void Dump (const sptr< ITextOutput > &io) const
TYPE Lookup (const KEY &key, int32_t flags=0) const
status_t Remove (const KEY &key)
 SGenericCache (ssize_t cacheSize)
virtual ~SGenericCache ()

Classes

struct  entry_t

Constructor & Destructor Documentation

SGenericCache ssize_t  cacheSize  )  [inline]
 

~SGenericCache  )  [inline, virtual]
 


Member Function Documentation

status_t Add const KEY &  key,
const TYPE &  data,
int32_t  flags = 0
[inline]
 

void Dump const sptr< ITextOutput > &  io  )  const [inline]
 

Reimplemented from SAbstractCache.

TYPE Lookup const KEY &  key,
int32_t  flags = 0
const [inline]
 

status_t Remove const KEY &  key  )  [inline]
 


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