#include <hybridmap.h>
Iterator implementation for HybridMap. Besides the usual iterator operations, ArrayMap iterators support the foreach protocol and (depending on the underlying implementations) Erase and ChangeKey functions.
Public Types | |
using | Super = ForEachIterator< IteratorTemplate< CONSTITERATOR, SUPER >, SUPER< CONSTITERATOR > > |
![]() | |
using | IsForEachIterator = std::true_type |
Public Member Functions | |
IteratorTemplate () | |
MAXON_IMPLICIT | IteratorTemplate (const typename Super::SmallIterator &src) |
MAXON_IMPLICIT | IteratorTemplate (const typename Super::LargeIterator &src) |
IteratorTemplate (const IteratorTemplate &src) | |
IteratorTemplate (typename Super::CollectionType &m, Int s=0) | |
IteratorTemplate (const typename Super::SmallIterator &src, const SmallType &m) | |
IteratorTemplate (const typename Super::LargeIterator &src, const LargeType &m) | |
template<typename ENTRY > | |
IteratorTemplate (ENTRY *src, typename ConstIf< SmallType, CONSTITERATOR >::type &m) | |
template<typename ENTRY > | |
IteratorTemplate (ENTRY *src, typename ConstIf< LargeType, CONSTITERATOR >::type &m) | |
MAXON_OPERATOR_COPY_ASSIGNMENT (IteratorTemplate) | |
template<Bool C, template< Bool > class S, typename = typename std::enable_if<!CONSTITERATOR || C>::type> | |
operator IteratorTemplate< C, S > & () | |
IteratorTemplate & | operator++ () |
IteratorTemplate & | operator-- () |
![]() | |
MAXON_ATTRIBUTE_FORCE_INLINE | ForEachIterator (ARGS &&... args) |
String | ToString (const FormatStatement *formatStatement=nullptr) |
IteratorTemplate< CONSTITERATOR, SUPER > & | Find (const T &v) |
Int | FindIndex (const T &v) |
MAXON_ATTRIBUTE_FORCE_INLINE Bool | Contains (const T &v) |
MAXON_ATTRIBUTE_FORCE_INLINE Wrapper | begin () |
Additional Inherited Members | |
![]() | |
static MAXON_ATTRIBUTE_FORCE_INLINE | PRIVATE_MAXON_RBF_SENTINEL (Wrapper) end() |
using Super = ForEachIterator<IteratorTemplate<CONSTITERATOR, SUPER>, SUPER<CONSTITERATOR> > |
IteratorTemplate | ( | ) |
MAXON_IMPLICIT IteratorTemplate | ( | const typename Super::SmallIterator & | src | ) |
MAXON_IMPLICIT IteratorTemplate | ( | const typename Super::LargeIterator & | src | ) |
IteratorTemplate | ( | const IteratorTemplate< CONSTITERATOR, SUPER > & | src | ) |
|
explicit |
IteratorTemplate | ( | const typename Super::SmallIterator & | src, |
const SmallType & | m | ||
) |
IteratorTemplate | ( | const typename Super::LargeIterator & | src, |
const LargeType & | m | ||
) |
|
explicit |
|
explicit |
MAXON_OPERATOR_COPY_ASSIGNMENT | ( | IteratorTemplate< CONSTITERATOR, SUPER > | ) |
operator IteratorTemplate< C, S > & | ( | ) |
IteratorTemplate& operator++ | ( | ) |
IteratorTemplate& operator-- | ( | ) |