|
Krita Source Code Documentation
|
#include <KisRotatingCache.h>
Public Types | |
| using | CacheItem = std::pair<Key, Value> |
Public Member Functions | |
| void | clear () |
| std::optional< Value > | find (const Key &key) const |
| void | push (Key key, Value value) |
Private Attributes | |
| boost::container::static_vector< CacheItem, CacheSize > | m_storage |
Definition at line 19 of file KisRotatingCache.h.
| using KisRotatingCache< Key, Value, CacheSize >::CacheItem = std::pair<Key, Value> |
Definition at line 22 of file KisRotatingCache.h.
|
inline |
Definition at line 40 of file KisRotatingCache.h.
References KisRotatingCache< Key, Value, CacheSize >::m_storage.
|
inline |
Definition at line 31 of file KisRotatingCache.h.
References KisRotatingCache< Key, Value, CacheSize >::m_storage.
|
inline |
Definition at line 24 of file KisRotatingCache.h.
References KisRotatingCache< Key, Value, CacheSize >::m_storage, and value().
|
private |
Definition at line 45 of file KisRotatingCache.h.