CrystalSpace

Public API Reference

CS::Utility::Implementation::FixedSizePseudoLRU< 8 > Class Template Reference

Specialized pseudo-LRU for set size 8. More...

#include <csutil/fixedsizecache.h>

List of all members.

Public Member Functions

size_t GetVictim () const
 Return last recently used item.
void Update (size_t index)
 Set index as last accessed.

Detailed Description

template<>
class CS::Utility::Implementation::FixedSizePseudoLRU< 8 >

Specialized pseudo-LRU for set size 8.

Use direct bit-patterns instead of generic tree algorithm.

Definition at line 660 of file fixedsizecache.h.


Member Function Documentation

size_t CS::Utility::Implementation::FixedSizePseudoLRU< 8 >::GetVictim (  )  const [inline]

Return last recently used item.

Definition at line 690 of file fixedsizecache.h.

void CS::Utility::Implementation::FixedSizePseudoLRU< 8 >::Update ( size_t  index  )  [inline]

Set index as last accessed.

Definition at line 668 of file fixedsizecache.h.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1