#include <lru_cache.hh>
◆ const_iterator
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ iterator
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ List
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ size_type
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ value_type
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ LRUcache()
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ at()
template<typename Key , typename Value , typename Compare = std::less<Key>>
Value& LRUcache< Key, Value, Compare >::at |
( |
const Key & |
key, |
|
|
bool |
touching = true |
|
) |
| |
|
inline |
◆ begin()
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ clear()
template<typename Key , typename Value , typename Compare = std::less<Key>>
void LRUcache< Key, Value, Compare >::clear |
( |
| ) |
|
|
inline |
◆ contains()
template<typename Key , typename Value , typename Compare = std::less<Key>>
bool LRUcache< Key, Value, Compare >::contains |
( |
const Key & |
key, |
|
|
bool |
touching = true |
|
) |
| |
|
inline |
◆ empty()
template<typename Key , typename Value , typename Compare = std::less<Key>>
bool LRUcache< Key, Value, Compare >::empty |
( |
| ) |
const |
|
inline |
◆ end()
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ erase() [1/3]
template<typename Key , typename Value , typename Compare = std::less<Key>>
size_t LRUcache< Key, Value, Compare >::erase |
( |
const Key & |
key | ) |
|
|
inline |
◆ erase() [2/3]
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ erase() [3/3]
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ evict()
template<typename Key , typename Value , typename Compare = std::less<Key>>
void LRUcache< Key, Value, Compare >::evict |
( |
| ) |
|
|
inlineprivate |
◆ find()
template<typename Key , typename Value , typename Compare = std::less<Key>>
iterator LRUcache< Key, Value, Compare >::find |
( |
const Key & |
key, |
|
|
bool |
touching = true |
|
) |
| |
|
inline |
◆ insert()
template<typename Key , typename Value , typename Compare = std::less<Key>>
void LRUcache< Key, Value, Compare >::insert |
( |
const Key & |
key, |
|
|
const Value & |
value |
|
) |
| |
|
inline |
◆ operator[]()
template<typename Key , typename Value , typename Compare = std::less<Key>>
Value& LRUcache< Key, Value, Compare >::operator[] |
( |
const Key & |
key | ) |
|
|
inline |
◆ resize()
template<typename Key , typename Value , typename Compare = std::less<Key>>
void LRUcache< Key, Value, Compare >::resize |
( |
size_t |
new_size | ) |
|
|
inline |
◆ size()
template<typename Key , typename Value , typename Compare = std::less<Key>>
size_t LRUcache< Key, Value, Compare >::size |
( |
| ) |
const |
|
inline |
◆ touch()
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ cache_list
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ cache_lookup
template<typename Key , typename Value , typename Compare = std::less<Key>>
◆ max_size
template<typename Key , typename Value , typename Compare = std::less<Key>>
size_t LRUcache< Key, Value, Compare >::max_size |
|
private |
The documentation for this class was generated from the following file: