CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace deltaset {
29 template<
typename TFindTraits,
typename TSetTraits,
typename TStorageIterator,
typename TFindResult>
44 TFindResult
get()
const {
55 template<
typename TFindTraits,
typename TSetTraits,
typename TStorageIterator,
typename TMemoryIterator,
typename TFindResult>
76 TFindResult
get()
const {
79 return TFindTraits::ToResult(TSetTraits::ToValue(*
m_storageIter));
81 return TFindTraits::ToResult(TSetTraits::ToValue(*
m_memoryIter));
97 template<
typename TFindTraits,
typename TSetTraits,
typename TStorageIterator,
typename TMemoryIterator,
typename TFindResult>
99 std::is_same_v<TStorageIterator, TMemoryIterator>,
106 template<
typename TFindTraits,
typename TSetTraits>
110 typename TSetTraits::SetType::const_iterator,
111 typename TFindTraits::ConstResultType
115 template<
typename TFindTraits,
typename TSetTraits>
119 typename TSetTraits::MemorySetType::iterator,
120 typename TFindTraits::ResultType
124 template<
typename TFindTraits,
typename TSetTraits>
128 typename TSetTraits::SetType::const_iterator,
129 typename TSetTraits::MemorySetType::const_iterator,
130 typename TFindTraits::ConstResultType
IteratorType
Definition: BaseSetFindIterator.h:88
BaseSetDualIteratorWrapper(TStorageIterator &&storageIter)
Creates an iterator around a storage iterator (storageIter).
Definition: BaseSetFindIterator.h:63
TFindResult get() const
Gets the underlying value.
Definition: BaseSetFindIterator.h:44
Definition: BaseSetFindIterator.h:56
BaseSetSingleIteratorWrapper()
Creates an unset iterator.
Definition: BaseSetFindIterator.h:33
TStorageIterator m_storageIter
Definition: BaseSetFindIterator.h:92
TStorageIterator m_storageIter
Definition: BaseSetFindIterator.h:50
bool m_isSet
Definition: BaseSetFindIterator.h:49
Definition: BaseSetFindIterator.h:30
detail::BaseSetConditionalIteratorWrapper< TFindTraits, TSetTraits, typename TSetTraits::SetType::const_iterator, typename TSetTraits::MemorySetType::const_iterator, typename TFindTraits::ConstResultType > BaseSetDeltaFindConstIterator
Iterator that returns a find (const) result from a base set delta.
Definition: BaseSetFindIterator.h:131
std::conditional_t< std::is_same_v< TStorageIterator, TMemoryIterator >, BaseSetSingleIteratorWrapper< TFindTraits, TSetTraits, TStorageIterator, TFindResult >, BaseSetDualIteratorWrapper< TFindTraits, TSetTraits, TStorageIterator, TMemoryIterator, TFindResult > > BaseSetConditionalIteratorWrapper
Iterator that represents a find result from a base set that supports either one or two types of conta...
Definition: BaseSetFindIterator.h:102
IteratorType m_iteratorType
Definition: BaseSetFindIterator.h:91
Definition: AddressExtractionExtension.cpp:28
BaseSetDualIteratorWrapper()
Creates an unset iterator.
Definition: BaseSetFindIterator.h:59
BaseSetSingleIteratorWrapper(TStorageIterator &&storageIter)
Creates an iterator around a storage iterator (storageIter).
Definition: BaseSetFindIterator.h:37
TMemoryIterator m_memoryIter
Definition: BaseSetFindIterator.h:93
TFindResult get() const
Gets the underlying value.
Definition: BaseSetFindIterator.h:76
BaseSetDualIteratorWrapper(TMemoryIterator &&memoryIter)
Creates an iterator around a memory iterator (memoryIter).
Definition: BaseSetFindIterator.h:69