![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Generic forward iterator for View classes. More...
#include <NCollection_ItemsView.hxx>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = RefType |
| using | difference_type = std::ptrdiff_t |
| using | pointer = void |
| using | reference = RefType |
Public Member Functions | |
| Iterator ()=default | |
| Default constructor (creates end iterator) | |
| template<class MapType > | |
| Iterator (const MapType &theMap) | |
| Constructor from map. | |
| RefType | operator* () const |
| Dereference operator. | |
| Iterator & | operator++ () |
| Prefix increment. | |
| Iterator | operator++ (int) |
| Postfix increment. | |
| bool | operator== (const Iterator &theOther) const |
| Equality comparison. | |
| bool | operator!= (const Iterator &theOther) const |
| Inequality comparison. | |
Generic forward iterator for View classes.
| BaseIterator | the map's native Iterator type |
| RefType | the reference type returned by operator* |
| Extractor | functor class with static Extract(iter) returning RefType |
| using NCollection_ItemsView::Iterator< BaseIterator, RefType, Extractor >::difference_type = std::ptrdiff_t |
| using NCollection_ItemsView::Iterator< BaseIterator, RefType, Extractor >::iterator_category = std::forward_iterator_tag |
| using NCollection_ItemsView::Iterator< BaseIterator, RefType, Extractor >::value_type = RefType |
|
default |
Default constructor (creates end iterator)
|
inlineexplicit |
Constructor from map.
|
inline |
Inequality comparison.
|
inline |
Dereference operator.
|
inline |
Prefix increment.
|
inline |
Postfix increment.
|
inline |
Equality comparison.