XLE  v0.02.0
Public Member Functions | Protected Attributes | List of all members
Utility::LRUQueue Class Reference

Public Member Functions

unsigned GetOldestValue () const
 
void BringToFront (unsigned value)
 
void DisconnectOldest ()
 
 LRUQueue (unsigned maxValues)
 
 LRUQueue (LRUQueue &&moveFrom) never_throws
 
LRUQueueoperator= (LRUQueue &&moveFrom) never_throws
 
 LRUQueue (const LRUQueue &copyFrom)
 
LRUQueueoperator= (const LRUQueue &copyFrom)
 

Protected Attributes

std::vector< std::pair< unsigned, unsigned > > _lruQueue
 
unsigned _oldestBlock
 
unsigned _newestBlock
 

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