NCBI C++ ToolKit
|
The NCBI C++ generic cache template. More...
#include <corelib/ncbistd.hpp>
#include <corelib/ncbimtx.hpp>
#include <corelib/ncbi_limits.hpp>
#include <set>
#include <map>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | SCacheElement< TKey, TSize > |
Generic cache. More... | |
struct | CCacheElement_Less< TCacheElementPtr > |
Compare cache elements by weight/order. More... | |
class | CCacheElement_Handler< TKey, TValue > |
Default (NOP) element handler. More... | |
class | CCache< TKey, TValue, THandler, TLock, TSize > |
Cache template. More... | |
struct | CCache< TKey, TValue, THandler, TLock, TSize >::SValueWithIndex |
class | CCacheException |
Exception thrown by CCache. More... | |
Typedefs | |
typedef CMutex | TCacheLock_Default |
Default cache lock. More... | |
Enumerations | |
enum | ECache_InsertFlag { eCache_CheckSize , eCache_CanInsert , eCache_NeedCleanup , eCache_DoNotCache } |
Flag indicating if an element can be inserted into cache. More... | |
The NCBI C++ generic cache template.
Definition in file ncbi_cache.hpp.