Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

lib
Class LRU

   in cache_adt.h

template < typename Key , typename Entry > class LRU


Inner Classes, Typedefs, and Enums
typedef LRU::CIt
          
typedef LRU::It
          
struct LRU::KeyAndEntry
          
class LRU::KeyEq
          
typedef LRU::List
          
 
Field Summary
private LRU::List lru
          
 
Method Summary
 void add( Key key, const Entry& entry )
          
 bool empty() const
          
 bool find( Key key, const Entry** pentry ) const
          
 void on_access( Entry& entry )
          
 void remove( Key key )
          
 void remove_least_valuable( std::list< Entry >& entry_list )
          
 

Field Detail

lru

private LRU::List lru;


Method Detail

add

public void add( Key key, const Entry& entry );

empty

public bool empty() const;

find

public bool find( Key key, const Entry** pentry ) const;

on_access

public void on_access( Entry& entry );

remove

public void remove( Key key );

remove_least_valuable

public void remove_least_valuable( std::list< Entry >& entry_list );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:14
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD