CatapultServer
v0.5.0.1 (Elephant)
|
Public Member Functions | |
BaseSetDualIteratorWrapper () | |
Creates an unset iterator. More... | |
BaseSetDualIteratorWrapper (TStorageIterator &&storageIter) | |
Creates an iterator around a storage iterator (storageIter). More... | |
BaseSetDualIteratorWrapper (TMemoryIterator &&memoryIter) | |
Creates an iterator around a memory iterator (memoryIter). More... | |
TFindResult | get () const |
Gets the underlying value. More... | |
Private Types | |
enum | IteratorType { IteratorType::Unset, IteratorType::Storage, IteratorType::Memory } |
Private Attributes | |
IteratorType | m_iteratorType |
TStorageIterator | m_storageIter |
TMemoryIterator | m_memoryIter |
Iterator that represents a find result from a base set that supports two types of container iterators.
|
strongprivate |
|
inline |
Creates an unset iterator.
|
inlineexplicit |
Creates an iterator around a storage iterator (storageIter).
|
inlineexplicit |
Creates an iterator around a memory iterator (memoryIter).
|
inline |
Gets the underlying value.
|
private |
|
private |
|
private |