libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::Cache< K, V, IK >::CacheEntry Struct Reference

An individual entry in the cache. More...

#include <Cache.h>

Public Member Functions

 CacheEntry (const K &key)
 
 CacheEntry (const K &key, const V &value)
 

Public Attributes

key
 
value
 

Detailed Description

template<class K, class V, class IK = PageId>
struct osmscout::Cache< K, V, IK >::CacheEntry

An individual entry in the cache.

Constructor & Destructor Documentation

◆ CacheEntry() [1/2]

template<class K , class V , class IK = PageId>
osmscout::Cache< K, V, IK >::CacheEntry::CacheEntry ( const K &  key)
inlineexplicit

◆ CacheEntry() [2/2]

template<class K , class V , class IK = PageId>
osmscout::Cache< K, V, IK >::CacheEntry::CacheEntry ( const K &  key,
const V &  value 
)
inline

Member Data Documentation

◆ key

template<class K , class V , class IK = PageId>
K osmscout::Cache< K, V, IK >::CacheEntry::key

◆ value

template<class K , class V , class IK = PageId>
V osmscout::Cache< K, V, IK >::CacheEntry::value

The documentation for this struct was generated from the following file: