- nom
- priv
- ObjectCache
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 |
Definition at line 43 of file ObjectCache.hpp.
| bool nom::priv::ObjectCache::removeObject | ( | const std::string & | key | ) |
Definition at line 60 of file ObjectCache.cpp.