NCBI C++ ToolKit
Public Member Functions | List of all members
CCacheElement_Handler< TKey, TValue > Class Template Reference

Search Toolkit Book for CCacheElement_Handler

Default (NOP) element handler. More...

#include <util/ncbi_cache.hpp>

Public Member Functions

void RemoveElement (const TKey &, TValue &)
 Special processing of a removed element (e.g. deleting the object) More...
 
void InsertElement (const TKey &, const TValue &)
 Special processing of an element to be inserted (e.g. More...
 
ECache_InsertFlag CanInsertElement (const TKey &, const TValue &)
 Check if the element can be inserted into the cache. More...
 
TValue CreateValue (const TKey &)
 Element factory – to create elements by key. More...
 

Detailed Description

template<class TKey, class TValue>
class CCacheElement_Handler< TKey, TValue >

Default (NOP) element handler.

Definition at line 106 of file ncbi_cache.hpp.


The documentation for this class was generated from the following file:
Modified on Fri Sep 20 14:57:09 2024 by modify_doxy.py rev. 669887