Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
Landlord_Naive< Key, Entry > Class Template Reference

#include <cache_adt.h>

Inheritance diagram for Landlord_Naive< Key, Entry >:
Landlord< Key, Entry, McdCalc_Naive > Landlord_Lazy< Key, Entry >

Additional Inherited Members

- Public Member Functions inherited from Landlord< Key, Entry, McdCalc_Naive >
bool empty () const
 
void add (const Key &key, const Entry &entry)
 
bool find (const Key &key, const Entry **pentry) const
 
void remove (const Key &key)
 
void on_access (Entry &entry)
 
void remove_least_valuable (std::list< Entry > &entry_list)
 
- Protected Types inherited from Landlord< Key, Entry, McdCalc_Naive >
typedef Map::iterator MapIt
 
typedef Map::const_iterator MapCIt
 
- Protected Member Functions inherited from Landlord< Key, Entry, McdCalc_Naive >
MapIt add_ (const Key &key, const Entry &entry)
 
void remove_ (MapIt it)
 
void charge (Entry &entry, float delta)
 
void charge_all (float delta)
 
bool should_evict (const Entry &entry)
 
- Protected Attributes inherited from Landlord< Key, Entry, McdCalc_Naive >
Map map
 

Detailed Description

template<class Key, class Entry>
class Landlord_Naive< Key, Entry >

Definition at line 385 of file cache_adt.h.


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