CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csNullCacheManager Class Reference

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

#include <csutil/nulcache.h>

Inheritance diagram for csNullCacheManager:

iCacheManager iBase List of all members.

Public Member Functions

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

Detailed Description

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

Definition at line 31 of file nulcache.h.


Constructor & Destructor Documentation

csNullCacheManager::csNullCacheManager  ) 
 

Does nothing.


Member Function Documentation

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

Always returns false.

Implements iCacheManager.

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

Does nothing.

Implements iCacheManager.

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

Does nothing.

Implements iCacheManager.

Definition at line 77 of file nulcache.h.

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

Always returns 0.

Implements iCacheManager.

Definition at line 58 of file nulcache.h.

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

Always returns 0.

Implements iCacheManager.

Definition at line 50 of file nulcache.h.

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

Always returns 0.

Implements iCacheManager.

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

Does nothing.

Implements iCacheManager.

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

Does nothing.

Implements iCacheManager.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1