MultiIndex< INT_TYPE >::Iterator Class Reference

#include <multiindex.h>

Inheritance diagram for MultiIndex< INT_TYPE >::Iterator:

公共成员函数

  Iterator (const MultiIndex &index)
  Iterator ()=default
  operator Bool () const
Bool   operator!= (const Iterator &other) const
void  operator++ ()
Int   operator* () const
-  Public Member Functions inherited from ForEachIterator< Iterator >
MAXON_ATTRIBUTE_FORCE_INLINE   ForEachIterator (ARGS &&... args)
String   ToString (const FormatStatement *formatStatement=nullptr)
Iterator &  Find (const T &v)
Int   FindIndex (const T &v)
MAXON_ATTRIBUTE_FORCE_INLINE Bool   Contains (const T &v)
MAXON_ATTRIBUTE_FORCE_INLINE Wrapper  begin ()

Private Attributes

INT_TYPE  _value
UInt   _position
UInt   _current

Additional Inherited Members

-  Public Types inherited from ForEachIterator< Iterator >
using  IsForEachIterator = std::true_type
-  Static Public Member Functions inherited from ForEachIterator< Iterator >
static MAXON_ATTRIBUTE_FORCE_INLINE   PRIVATE_MAXON_RBF_SENTINEL (Wrapper) end()

构造函数 & 析构函数文档编制

◆  Iterator() [1/2]

Iterator ( const MultiIndex index )
explicit

◆  Iterator() [2/2]

Iterator ( )
default

成员函数文档编制

◆  operator Bool()

operator Bool ( ) const
explicit

◆  operator!=()

Bool operator!= ( const Iterator other ) const

◆  operator++()

void operator++ ( )

◆  operator*()

Int operator* ( ) const

Member Data Documentation

◆  _value

INT_TYPE _value private

◆  _position

UInt _position
private

◆  _current

UInt _current
private