libosmscout  1.1.1
Public Member Functions | Public Attributes | List of all members
osmscout::Cache< K, V, IK >::CacheEntry Struct Reference

#include <libosmscout/include/osmscout/util/Cache.h>

Collaboration diagram for osmscout::Cache< K, V, IK >::CacheEntry:
Collaboration graph
[legend]

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: