#include <sdlpp_common.h>
  
 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 () | 
Generic cache model. Retrieve objects by name (xstring) object loader is always custom and is set upon construction. Caches are singletons.
 1.6.3