CrystalSpace

Public API Reference

csNullCacheManager Class Reference

This is a general cache that doesn't cache anything at all. More...

#include <csutil/nulcache.h>

Inherits scfImplementation1< csNullCacheManager, iCacheManager >.

List of all members.

Public Member Functions

virtual bool CacheData (const void *data, size_t size, const char *type, const char *scope, uint32 id)
 Always returns false.
virtual bool ClearCache (const char *type=0, const char *scope=0, const uint32 *id=0)
 Does nothing.
 csNullCacheManager ()
 Does nothing.
virtual void Flush ()
 Does nothing.
virtual const char * GetCurrentScope () const
 Always returns 0.
virtual const char * GetCurrentType () const
 Always returns 0.
virtual csPtr< iDataBufferReadCache (const char *type, const char *scope, uint32 id)
 Always returns 0.
virtual void SetCurrentScope (const char *scope)
 Does nothing.
virtual void SetCurrentType (const char *type)
 Does nothing.

Detailed Description

This is a general cache that doesn't cache anything at all.

Definition at line 32 of file nulcache.h.


Constructor & Destructor Documentation

csNullCacheManager::csNullCacheManager (  ) 

Does nothing.


Member Function Documentation

virtual bool csNullCacheManager::CacheData ( const void *  data,
size_t  size,
const char *  type,
const char *  scope,
uint32  id 
) [virtual]

Always returns false.

virtual bool csNullCacheManager::ClearCache ( const char *  type = 0,
const char *  scope = 0,
const uint32 id = 0 
) [virtual]

Does nothing.

virtual void csNullCacheManager::Flush (  )  [inline, virtual]

Does nothing.

Definition at line 81 of file nulcache.h.

virtual const char* csNullCacheManager::GetCurrentScope (  )  const [inline, virtual]

Always returns 0.

Definition at line 62 of file nulcache.h.

virtual const char* csNullCacheManager::GetCurrentType (  )  const [inline, virtual]

Always returns 0.

Definition at line 54 of file nulcache.h.

virtual csPtr<iDataBuffer> csNullCacheManager::ReadCache ( const char *  type,
const char *  scope,
uint32  id 
) [virtual]

Always returns 0.

virtual void csNullCacheManager::SetCurrentScope ( const char *  scope  )  [virtual]

Does nothing.

virtual void csNullCacheManager::SetCurrentType ( const char *  type  )  [virtual]

Does nothing.


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

Generated for Crystal Space 1.4.1 by doxygen 1.7.1