Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Structures | Namespaces
NCollection_ItemsView.hxx File Reference

Template utilities for key-value pair iteration with structured bindings. More...

#include <cstddef>
#include <iterator>
#include <tuple>
#include <type_traits>

Data Structures

struct  NCollection_ItemsView::KeyValueRef< TheKeyType, TheValueType, IsConst >
 Key-value pair reference for structured binding support. Enables: for (auto [key, value] : map.Items()) More...
 
struct  NCollection_ItemsView::KeyValueIndexRef< TheKeyType, TheValueType, IsConst >
 Key-value-index tuple reference for structured binding support. Enables: for (auto [key, value, index] : map.IndexedItems()) More...
 
struct  NCollection_ItemsView::KeyIndexRef< TheKeyType >
 Key-index pair reference for structured binding support (key-only indexed maps). Enables: for (auto [key, index] : map.IndexedItems()) More...
 
class  NCollection_ItemsView::Iterator< BaseIterator, RefType, Extractor >
 Generic forward iterator for View classes. More...
 
class  NCollection_ItemsView::View< MapType, RefType, Extractor, IsConst >
 Generic view class for Items() iteration. More...
 
struct  std::tuple_size< NCollection_ItemsView::KeyValueRef< TheKeyType, TheValueType, IsConst > >
 
struct  std::tuple_element< 0, NCollection_ItemsView::KeyValueRef< TheKeyType, TheValueType, IsConst > >
 
struct  std::tuple_element< 1, NCollection_ItemsView::KeyValueRef< TheKeyType, TheValueType, IsConst > >
 
struct  std::tuple_size< NCollection_ItemsView::KeyValueIndexRef< TheKeyType, TheValueType, IsConst > >
 
struct  std::tuple_element< 0, NCollection_ItemsView::KeyValueIndexRef< TheKeyType, TheValueType, IsConst > >
 
struct  std::tuple_element< 1, NCollection_ItemsView::KeyValueIndexRef< TheKeyType, TheValueType, IsConst > >
 
struct  std::tuple_element< 2, NCollection_ItemsView::KeyValueIndexRef< TheKeyType, TheValueType, IsConst > >
 
struct  std::tuple_size< NCollection_ItemsView::KeyIndexRef< TheKeyType > >
 
struct  std::tuple_element< 0, NCollection_ItemsView::KeyIndexRef< TheKeyType > >
 
struct  std::tuple_element< 1, NCollection_ItemsView::KeyIndexRef< TheKeyType > >
 

Namespaces

namespace  NCollection_ItemsView
 
namespace  std
 STL namespace.
 

Detailed Description

Template utilities for key-value pair iteration with structured bindings.

This header provides reusable template classes for implementing Items() views across NCollection map classes, enabling C++17 structured binding syntax.

All utilities are organized under the NCollection_ItemsView namespace.