![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Generic view class for Items() iteration. More...
#include <NCollection_ItemsView.hxx>
Public Types | |
| using | MapRef = std::conditional_t<IsConst, const MapType&, MapType&> |
| using | iterator = Iterator<typename MapType::Iterator, RefType, Extractor> |
Public Member Functions | |
| View (MapRef theMap) | |
| Constructor. | |
| iterator | begin () const |
| Returns iterator to first element. | |
| iterator | end () const |
| Returns iterator past the end. | |
Generic view class for Items() iteration.
| MapType | the map class type |
| RefType | the reference type for structured bindings |
| Extractor | functor class for extracting RefType from iterator |
| IsConst | if true, this is a const view |
| using NCollection_ItemsView::View< MapType, RefType, Extractor, IsConst >::iterator = Iterator<typename MapType::Iterator, RefType, Extractor> |
| using NCollection_ItemsView::View< MapType, RefType, Extractor, IsConst >::MapRef = std::conditional_t<IsConst, const MapType&, MapType&> |
|
inlineexplicit |
Constructor.
|
inline |
Returns iterator to first element.
Returns iterator past the end.