HybridMap< K, V, SMALL, LARGE, THRESHOLD, REVERSE_THRESHOLD >::IteratorTemplate< CONSTITERATOR, SUPER > Class Template Reference
#include <hybridmap.h>
详细描述
template<typename K, typename V, typename SMALL, typename LARGE, Int THRESHOLD, Int REVERSE_THRESHOLD>
template<Bool CONSTITERATOR, template< Bool > class SUPER>
class maxon::HybridMap< K, V, SMALL, LARGE, THRESHOLD, REVERSE_THRESHOLD >::IteratorTemplate< CONSTITERATOR, SUPER >
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.
公共成员函数
|
|
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
()
|
Member Typedef Documentation
◆
Super
构造函数 & 析构函数文档编制
◆
IteratorTemplate()
[1/9]