LruMap< Key, EntryValue, EntryCost >::Entry Class Reference

#include <LruMap.h>

Collaboration diagram for LruMap< Key, EntryValue, EntryCost >::Entry:

Public Member Functions

 Entry (const Key &aKey, EntryValue *t)
 
 ~Entry ()
 

Public Attributes

Key key
 the key of entry More...
 
EntryValue * value
 A pointer to the stored value. More...
 
time_t date
 The date the entry created. More...
 

Private Member Functions

 Entry (Entry &)
 
Entryoperator= (Entry &)
 

Detailed Description

template<class Key, class EntryValue, size_t EntryCost = sizeof(EntryValue)>
class LruMap< Key, EntryValue, EntryCost >::Entry

Definition at line 20 of file LruMap.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

template<class Key , class EntryValue , size_t EntryCost = sizeof(EntryValue)>
LruMap< Key, EntryValue, EntryCost >::Entry::Entry ( const Key &  aKey,
EntryValue *  t 
)
inline

Definition at line 23 of file LruMap.h.

Referenced by LruMap< Key, EntryValue, EntryCost >::Entry::~Entry().

◆ ~Entry()

template<class Key , class EntryValue , size_t EntryCost = sizeof(EntryValue)>
LruMap< Key, EntryValue, EntryCost >::Entry::~Entry ( )
inline

◆ Entry() [2/2]

template<class Key , class EntryValue , size_t EntryCost = sizeof(EntryValue)>
LruMap< Key, EntryValue, EntryCost >::Entry::Entry ( Entry )
private

Member Function Documentation

◆ operator=()

template<class Key , class EntryValue , size_t EntryCost = sizeof(EntryValue)>
Entry& LruMap< Key, EntryValue, EntryCost >::Entry::operator= ( Entry )
private

Member Data Documentation

◆ date

template<class Key , class EntryValue , size_t EntryCost = sizeof(EntryValue)>
time_t LruMap< Key, EntryValue, EntryCost >::Entry::date

Definition at line 31 of file LruMap.h.

Referenced by LruMap< Key, EntryValue, EntryCost >::expired().

◆ key

template<class Key , class EntryValue , size_t EntryCost = sizeof(EntryValue)>
Key LruMap< Key, EntryValue, EntryCost >::Entry::key

Definition at line 29 of file LruMap.h.

Referenced by LruMap< Key, EntryValue, EntryCost >::entries().

◆ value

template<class Key , class EntryValue , size_t EntryCost = sizeof(EntryValue)>
EntryValue* LruMap< Key, EntryValue, EntryCost >::Entry::value

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors