CS::Utility::Implementation::FixedSizePseudoLRU< 4 > Class Template Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
CS::Utility::Implementation::FixedSizePseudoLRU< 4 > Class Template Reference

Specialized pseudo-LRU for set size 4. 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< 4 >

Specialized pseudo-LRU for set size 4.

Use direct bit-patterns instead of generic tree algorithm.

Definition at line 605 of file fixedsizecache.h.

## Member Function Documentation

size_t CS::Utility::Implementation::FixedSizePseudoLRU< 4 >::GetVictim | ( |  | ) | const`[inline]`

Return last recently used item.

Definition at line 635 of file fixedsizecache.h.

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

Set index as last accessed.

Definition at line 613 of file fixedsizecache.h.

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

- csutil/fixedsizecache.h