CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace cache {
27 template<
typename TCache,
typename TCacheDelta,
typename TKey>
28 class ReadOnlySimpleCache {
const TCache * m_pCache
Definition: ReadOnlySimpleCache.h:55
ReadOnlySimpleCache(const TCacheDelta &cache)
Creates a read-only overlay on top of cache.
Definition: ReadOnlySimpleCache.h:37
const TCacheDelta * m_pCacheDelta
Definition: ReadOnlySimpleCache.h:56
size_t size() const
Returns the number of elements in the cache.
Definition: ReadOnlySimpleCache.h:44
bool contains(const TKey &key) const
Definition: ReadOnlySimpleCache.h:50
ReadOnlySimpleCache(const TCache &cache)
Creates a read-only overlay on top of cache.
Definition: ReadOnlySimpleCache.h:31
Definition: AddressExtractionExtension.cpp:28