ECOCPAK v0.9
Data Structures | Public Member Functions | Private Member Functions | Private Attributes
Cache Class Reference

Data Structures

struct  head_t

Public Member Functions

 Cache (int l, long int size)
 ~Cache ()
int get_data (const int index, Qfloat **data, int len)
void swap_index (int i, int j)

Private Member Functions

void lru_delete (head_t *h)
void lru_insert (head_t *h)

Private Attributes

int l
long int size
head_thead
head_t lru_head

Constructor & Destructor Documentation

Cache::Cache ( int  l,
long int  size 
)
Cache::~Cache ( )

Member Function Documentation

int Cache::get_data ( const int  index,
Qfloat **  data,
int  len 
)
void Cache::lru_delete ( head_t h) [private]
void Cache::lru_insert ( head_t h) [private]
void Cache::swap_index ( int  i,
int  j 
)

Field Documentation

head_t* Cache::head [private]
int Cache::l [private]
long int Cache::size [private]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerator Defines