22 #ifndef _MEMORYMRUCACHE_HPP_ 23 #define _MEMORYMRUCACHE_HPP_ 39 MemoryMRUCacheMode_MetaDataAndBinaryData
44 template <
typename PtrType,
typename KeyExtractor = boost::multi_index::
identity<PtrType> >
73 #endif // _MEMORYMRUCACHE_HPP_
MemoryMRUCacheMode mode() const
get the current caching mode
an MRU cache for SpectrumPtrs or ChromatogramPtrs
MemoryMRUCacheMode_MetaDataOnly
MemoryMRUCacheMode_BinaryDataOnly
void setMode(MemoryMRUCacheMode mode)
set the caching mode note: if the new mode is different than the current mode, the cache will be clea...
mru_list(std::size_t max_num_items_)
MemoryMRUCache(MemoryMRUCacheMode mode, size_t size)