Open CASCADE Technology 7.8.2.dev
|
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_Vector 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 () | |
void | Init (Container &theList) |
void | Init (const Container &theList) |
virtual bool | More () const |
void | Initialize (Container &theList) |
void | Initialize (const Container &theList) |
const Container::iterator & | ValueIter () const |
Container::iterator & | ChangeValueIter () |
const Container::iterator & | EndIter () const |
Container::iterator & | ChangeEndIter () |
virtual void | Next () |
const Container::const_reference | Value () const |
const Container::reference | ChangeValue () |
bool | operator== (const NCollection_Iterator &theOther) |
bool | operator!= (const NCollection_Iterator &theOther) |
NCollection_Iterator & | operator= (const NCollection_Iterator &theOther) |
NCollection_Iterator & | operator= (NCollection_Iterator &&theOther) |
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_Vector as example of declaring custom STL iterators.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |