NCBI C++ ToolKit
Classes | Typedefs | Enumerations
ncbi_cache.hpp File Reference

The NCBI C++ generic cache template. More...

#include <corelib/ncbistd.hpp>
#include <corelib/ncbimtx.hpp>
#include <corelib/ncbi_limits.hpp>
#include <set>
#include <map>
+ Include dependency graph for ncbi_cache.hpp:
+ This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

The NCBI C++ generic cache template.

Definition in file ncbi_cache.hpp.

Modified on Sun Jul 14 04:56:12 2024 by modify_doxy.py rev. 669887