Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant > Class Template Reference

#include <NCollection_DynamicArray.hxx>

Public Types

using iterator_category = std::random_access_iterator_tag
using value_type = TheItemType
using difference_type = ptrdiff_t
using pointer = typename std::conditional<IsConstant, const TheItemType*, TheItemType*>::type
using reference = typename std::conditional<IsConstant, const TheItemType&, TheItemType&>::type

Public Member Functions

 DynamicIterator () noexcept
 DynamicIterator (const NCollection_DynamicArray &theArray) noexcept
 DynamicIterator (const size_t theIndex, const NCollection_DynamicArray &theArray) noexcept
 DynamicIterator (const DynamicIterator< false > &theOther) noexcept
DynamicIterator & operator= (const DynamicIterator< false > &theOther) noexcept
bool operator== (const DynamicIterator &theOther) const noexcept
template<bool theOtherIsConstant>
bool operator== (const DynamicIterator< theOtherIsConstant > &theOther) const noexcept
template<bool theOtherIsConstant>
bool operator!= (const DynamicIterator< theOtherIsConstant > &theOther) const noexcept
bool operator!= (const DynamicIterator &theOther) const noexcept
reference operator* () const noexcept
pointer operator-> () const noexcept
DynamicIterator & operator++ () noexcept
DynamicIterator operator++ (int) noexcept
DynamicIterator & operator-- () noexcept
DynamicIterator operator-- (int) noexcept
DynamicIterator & operator+= (const difference_type theOffset) noexcept
DynamicIterator operator+ (const difference_type theOffset) const noexcept
DynamicIterator & operator-= (const difference_type theOffset) noexcept
DynamicIterator operator- (const difference_type theOffset) const noexcept
difference_type operator- (const DynamicIterator &theOther) const noexcept
reference operator[] (const difference_type theOffset) const noexcept
bool operator< (const DynamicIterator &theOther) const noexcept
bool operator> (const DynamicIterator &theOther) const noexcept
bool operator<= (const DynamicIterator &theOther) const noexcept
bool operator>= (const DynamicIterator &theOther) const noexcept

Member Typedef Documentation

◆ difference_type

template<class TheItemType>
template<bool IsConstant>
using NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::difference_type = ptrdiff_t

◆ iterator_category

template<class TheItemType>
template<bool IsConstant>
using NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::iterator_category = std::random_access_iterator_tag

◆ pointer

template<class TheItemType>
template<bool IsConstant>
using NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::pointer = typename std::conditional<IsConstant, const TheItemType*, TheItemType*>::type

◆ reference

template<class TheItemType>
template<bool IsConstant>
using NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::reference = typename std::conditional<IsConstant, const TheItemType&, TheItemType&>::type

◆ value_type

template<class TheItemType>
template<bool IsConstant>
using NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::value_type = TheItemType

Constructor & Destructor Documentation

◆ DynamicIterator() [1/4]

template<class TheItemType>
template<bool IsConstant>
NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::DynamicIterator ( )
inlinenoexcept

◆ DynamicIterator() [2/4]

template<class TheItemType>
template<bool IsConstant>
NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::DynamicIterator ( const NCollection_DynamicArray & theArray)
inlinenoexcept

◆ DynamicIterator() [3/4]

template<class TheItemType>
template<bool IsConstant>
NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::DynamicIterator ( const size_t theIndex,
const NCollection_DynamicArray & theArray )
inlinenoexcept

◆ DynamicIterator() [4/4]

template<class TheItemType>
template<bool IsConstant>
NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::DynamicIterator ( const DynamicIterator< false > & theOther)
inlinenoexcept

Member Function Documentation

◆ operator!=() [1/2]

template<class TheItemType>
template<bool IsConstant>
bool NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator!= ( const DynamicIterator< IsConstant > & theOther) const
inlinenoexcept

◆ operator!=() [2/2]

template<class TheItemType>
template<bool IsConstant>
template<bool theOtherIsConstant>
bool NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator!= ( const DynamicIterator< theOtherIsConstant > & theOther) const
inlinenoexcept

◆ operator*()

template<class TheItemType>
template<bool IsConstant>
reference NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator* ( ) const
inlinenoexcept

◆ operator+()

template<class TheItemType>
template<bool IsConstant>
DynamicIterator NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator+ ( const difference_type theOffset) const
inlinenoexcept

◆ operator++() [1/2]

template<class TheItemType>
template<bool IsConstant>
DynamicIterator & NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator++ ( )
inlinenoexcept

◆ operator++() [2/2]

template<class TheItemType>
template<bool IsConstant>
DynamicIterator NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator++ ( int )
inlinenoexcept

◆ operator+=()

template<class TheItemType>
template<bool IsConstant>
DynamicIterator & NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator+= ( const difference_type theOffset)
inlinenoexcept

◆ operator-() [1/2]

template<class TheItemType>
template<bool IsConstant>
DynamicIterator NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator- ( const difference_type theOffset) const
inlinenoexcept

◆ operator-() [2/2]

template<class TheItemType>
template<bool IsConstant>
difference_type NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator- ( const DynamicIterator< IsConstant > & theOther) const
inlinenoexcept

◆ operator--() [1/2]

template<class TheItemType>
template<bool IsConstant>
DynamicIterator & NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator-- ( )
inlinenoexcept

◆ operator--() [2/2]

template<class TheItemType>
template<bool IsConstant>
DynamicIterator NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator-- ( int )
inlinenoexcept

◆ operator-=()

template<class TheItemType>
template<bool IsConstant>
DynamicIterator & NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator-= ( const difference_type theOffset)
inlinenoexcept

◆ operator->()

template<class TheItemType>
template<bool IsConstant>
pointer NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator-> ( ) const
inlinenoexcept

◆ operator<()

template<class TheItemType>
template<bool IsConstant>
bool NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator< ( const DynamicIterator< IsConstant > & theOther) const
inlinenoexcept

◆ operator<=()

template<class TheItemType>
template<bool IsConstant>
bool NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator<= ( const DynamicIterator< IsConstant > & theOther) const
inlinenoexcept

◆ operator=()

template<class TheItemType>
template<bool IsConstant>
DynamicIterator & NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator= ( const DynamicIterator< false > & theOther)
inlinenoexcept

◆ operator==() [1/2]

template<class TheItemType>
template<bool IsConstant>
bool NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator== ( const DynamicIterator< IsConstant > & theOther) const
inlinenoexcept

◆ operator==() [2/2]

template<class TheItemType>
template<bool IsConstant>
template<bool theOtherIsConstant>
bool NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator== ( const DynamicIterator< theOtherIsConstant > & theOther) const
inlinenoexcept

◆ operator>()

template<class TheItemType>
template<bool IsConstant>
bool NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator> ( const DynamicIterator< IsConstant > & theOther) const
inlinenoexcept

◆ operator>=()

template<class TheItemType>
template<bool IsConstant>
bool NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator>= ( const DynamicIterator< IsConstant > & theOther) const
inlinenoexcept

◆ operator[]()

template<class TheItemType>
template<bool IsConstant>
reference NCollection_DynamicArray< TheItemType >::DynamicIterator< IsConstant >::operator[] ( const difference_type theOffset) const
inlinenoexcept

The documentation for this class was generated from the following file: