| Classes | |
| struct | head_t | 
| Public Member Functions | |
| Cache (int l, long int size) | |
| int | get_data (const int index, Qfloat **data, int len) | 
| void | swap_index (int i, int j) | 
| ~Cache () | |
| Private Member Functions | |
| void | lru_delete (head_t *h) | 
| void | lru_insert (head_t *h) | 
| Private Attributes | |
| head_t * | head | 
| int | l | 
| head_t | lru_head | 
| long int | size | 
| Cache::Cache | ( | int | l, | 
| long int | size | ||
| ) | 
| Cache::~Cache | ( | ) | 
| 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 | ||
| ) | 
| head_t* Cache::head  [private] | 
| head_t Cache::lru_head  [private] | 
| long int Cache::size  [private] |