CatapultServer
v0.5.0.1 (Elephant)
|
A mixin for adding const access support to a cache. More...
Public Types | |
using | const_iterator = detail::CacheFindIterator< TCacheDescriptor, TValueAdapter, SetIteratorType, const ValueType > |
Find (const) iterator. More... | |
Public Member Functions | |
ConstAccessorMixin (const TSet &set) | |
Creates a mixin around set. More... | |
const_iterator | find (const KeyType &key) const |
Finds the cache value identified by key. More... | |
Private Types | |
using | KeyType = typename TCacheDescriptor::KeyType |
using | ValueType = typename TValueAdapter::AdaptedValueType |
using | SetIteratorType = typename TSet::FindConstIterator |
Private Attributes | |
const TSet & | m_set |
A mixin for adding const access support to a cache.
using catapult::cache::ConstAccessorMixin< TSet, TCacheDescriptor, TValueAdapter >::const_iterator = detail::CacheFindIterator<TCacheDescriptor, TValueAdapter, SetIteratorType, const ValueType> |
Find (const) iterator.
|
private |
|
private |
|
private |
|
inlineexplicit |
Creates a mixin around set.
|
inline |
Finds the cache value identified by key.
|
private |