Public Member Functions | Static Private Attributes | List of all members
nom::priv::ObjectCache Class Reference

Public Member Functions

std::shared_ptr< SDL_Surface > addObject (const std::string &key, std::shared_ptr< SDL_Surface > object)
 
bool removeObject (const std::string &key)
 
std::shared_ptr< SDL_Surface > getObject (const std::string &key)
 

Static Private Attributes

static std::map< std::string,
std::shared_ptr< SDL_Surface > > 
cache
 

Detailed Description

Definition at line 43 of file ObjectCache.hpp.

Member Function Documentation

bool nom::priv::ObjectCache::removeObject ( const std::string &  key)
Todo:
TEST ME

Definition at line 60 of file ObjectCache.cpp.


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