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