CS::Utility::Implementation::FixedSizeLRU< 2 > Class Template Reference
Specialized LRU for two item sets. More...
#include <csutil/fixedsizecache.h>
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::FixedSizeLRU< 2 >
Specialized LRU for two item sets.
Definition at line 473 of file fixedsizecache.h.
Member Function Documentation
| size_t CS::Utility::Implementation::FixedSizeLRU< 2 >::GetVictim | ( | ) | const [inline] |
Return last recently used item.
Definition at line 487 of file fixedsizecache.h.
| void CS::Utility::Implementation::FixedSizeLRU< 2 >::Update | ( | size_t | index | ) | [inline] |
Set index as last accessed.
Definition at line 481 of file fixedsizecache.h.
The documentation for this class was generated from the following file:
- csutil/fixedsizecache.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
