|
CatapultServer
v0.5.0.1 (Elephant)
|
An iterator that is returned by cache find functions. More...
Public Member Functions | |
| CacheFindIterator ()=default | |
| Creates an uninitialized iterator. More... | |
| CacheFindIterator (TBaseSetIterator &&iter, const KeyType &key) | |
| Creates an iterator around a set iterator (iter) for the specified key. More... | |
| TValue & | get () const |
| TValue * | tryGet () const |
| Tries to get a const value. More... | |
| const auto * | tryGetUnadapted () const |
| Tries to get a const (unadapted) value. More... | |
Private Types | |
| using | KeyType = typename TCacheDescriptor::KeyType |
Private Attributes | |
| TBaseSetIterator | m_iter |
| KeyType | m_key |
An iterator that is returned by cache find functions.
|
private |
|
default |
Creates an uninitialized iterator.
|
inline |
Creates an iterator around a set iterator (iter) for the specified key.
|
inline |
Gets a const value.
| catapult_invalid_argument | if this iterator does not point to a value. |


|
inline |
Tries to get a const value.

|
inline |
Tries to get a const (unadapted) value.
|
private |
|
private |