#include <cache.h>
Public Member Functions | |
| cache () | |
| picture & | operator[] (std::string key) |
| Get a (new) picture. | |
| bool | exists (std::string key) |
| Check if a picture exists in cache. | |
| void | clean (int max) |
| Remove elements from cache when full. | |
| void | dump () |
| Write and check all elements inside the cache. | |
| cache () | |
| picture & | operator[] (std::string key) |
| bool | exists (std::string key) |
| void | clean (int max) |
| void | dump () |
Public Attributes | |
| hashtable< const char, picture > | data |
| cache::cache | ( | ) |
| cache::cache | ( | ) |
| void cache::clean | ( | int | max | ) |
Remove elements from cache when full.
| void cache::dump | ( | ) |
Write and check all elements inside the cache.
| picture& cache::operator[] | ( | std::string | key | ) |
| bool cache::exists | ( | std::string | key | ) |
| void cache::clean | ( | int | max | ) |
| void cache::dump | ( | ) |
Visit the project page on