SDLPP::Cache< T > Class Template Reference

#include <sdlpp_common.h>

Inheritance diagram for SDLPP::Cache< T >:

List of all members.

Public Member Functions

 Cache (Loader< T > &ldr)
virtual void shutdown ()
T & get (const xstring &name, ResourceFile *rf=0)
T & insert (const xstring &name, const T &obj)
void unload (const xstring &name)
void clear ()

Detailed Description

template<class T>
class SDLPP::Cache< T >

Generic cache model. Retrieve objects by name (xstring) object loader is always custom and is set upon construction. Caches are singletons.

The documentation for this class was generated from the following file:
Generated on Wed May 26 17:41:00 2010 for SDLPP by  doxygen 1.6.3