|
libosmscout 1.1.1
|
#include <libosmscout/include/osmscout/util/Cache.h>
Public Member Functions | |
| virtual | ~ValueSizer ()=default |
| virtual size_t | GetSize (const V &value) const =0 |
ValueSizer returns the size (in bytes) of an individual cache value. An implementation of ValueSizer has to be passed in the constructor of the cache to implement the GetSize() method.
|
virtualdefault |
|
pure virtual |