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

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.

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

Definition at line 24 of file LruMap.h.

References LruMap< Key, EntryValue, EntryCost >::Entry::value.

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

Member Function Documentation

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

Member Data Documentation

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().

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.

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