![]() |
Open CASCADE Technology Reference Manual 8.0.1
|
Helper class that allows to use NCollection iterators as STL iterators. NCollection iterator can be extended to STL iterator of any category by adding necessary methods: STL forward iterator requires IsEqual method, STL bidirectional iterator requires Previous method, and STL random access iterator requires Offset and Differ methods. See NCollection_DynamicArray as example of declaring custom STL iterators. More...
#include <NCollection_Iterator.hxx>

Public Member Functions | |
| NCollection_Iterator () | |
| NCollection_Iterator (const NCollection_Iterator &theOther) | |
| NCollection_Iterator (const Container &theList) | |
| NCollection_Iterator (const Container &theList, const typename Container::iterator &theOther) | |
| NCollection_Iterator (const Container &theList, typename Container::iterator &&theOther) | |
| ~NCollection_Iterator () noexcept=default | |
| void | Init (Container &theList) |
| void | Init (const Container &theList) |
| virtual bool | More () const noexcept |
| void | Initialize (Container &theList) |
| void | Initialize (const Container &theList) |
| const Container::iterator & | ValueIter () const noexcept |
| Container::iterator & | ChangeValueIter () noexcept |
| const Container::iterator & | EndIter () const noexcept |
| Container::iterator & | ChangeEndIter () noexcept |
| virtual void | Next () noexcept |
| const Container::const_reference | Value () const |
| const Container::reference | ChangeValue () |
| bool | operator== (const NCollection_Iterator &theOther) noexcept |
| bool | operator!= (const NCollection_Iterator &theOther) noexcept |
| NCollection_Iterator & | operator= (const NCollection_Iterator &theOther) noexcept |
| NCollection_Iterator & | operator= (NCollection_Iterator &&theOther) noexcept |
Helper class that allows to use NCollection iterators as STL iterators. NCollection iterator can be extended to STL iterator of any category by adding necessary methods: STL forward iterator requires IsEqual method, STL bidirectional iterator requires Previous method, and STL random access iterator requires Offset and Differ methods. See NCollection_DynamicArray as example of declaring custom STL iterators.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
defaultnoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtualnoexcept |
|
inlinevirtualnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |