CatapultServer
v0.5.0.1 (Elephant)
|
An iterator that is returned by namespace cache find functions. More...
Public Member Functions | |
const_iterator () | |
Creates an uninitialized iterator. More... | |
const_iterator (NamespaceId id) | |
Creates an uninitialized iterator around id. More... | |
const_iterator (typename TFlatMap::FindConstIterator &&namespaceIter, typename TPrimarySet::FindConstIterator &&rootIter) | |
Creates an iterator around a namespace iterator (namespaceIter) and a root iterator (rootIter). More... | |
const state::NamespaceEntry & | get () const |
const state::NamespaceEntry * | tryGet () const |
Tries to get a const value. More... | |
const state::RootNamespaceHistory * | tryGetUnadapted () const |
Tries to get a const (unadapted) value. More... | |
Private Attributes | |
bool | m_isValid |
NamespaceId | m_id |
TFlatMap::FindConstIterator | m_namespaceIter |
TPrimarySet::FindConstIterator | m_rootIter |
state::NamespaceEntry | m_entry |
An iterator that is returned by namespace cache find functions.
|
inline |
Creates an uninitialized iterator.
|
inlineexplicit |
Creates an uninitialized iterator around id.
|
inline |
Creates an iterator around a namespace iterator (namespaceIter) and a root iterator (rootIter).
|
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 |
|
private |
|
private |
|
private |