libosmscout 0.1
Loading...
Searching...
No Matches
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

K key
V 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

References key.

◆ 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

References key, and value.

Member Data Documentation

◆ key

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

Referenced by CacheEntry(), and CacheEntry().

◆ value

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

Referenced by CacheEntry().


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