Iterator over registered layers in a BRepGraph_LayerRegistry.
More...
#include <BRepGraph_LayerIterator.hxx>
Iterator over registered layers in a BRepGraph_LayerRegistry.
Provides zero-allocation iteration with OCCT More()/Next()/Value() pattern and STL range-for via begin()/end().
Iterator over registered layers in a BRepGraph_LayerRegistry.
Definition BRepGraph_LayerIterator.hxx:36
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142
Intrusive smart pointer for use with Standard_Transient class and its descendants.
Definition Standard_Handle.hxx:54
◆ BRepGraph_LayerIterator()
Construct an iterator over all layers in the registry.
◆ begin()
◆ end()
Sentinel marking end of iteration.
◆ More()
| bool BRepGraph_LayerIterator::More |
( |
| ) |
const |
|
inline |
True if the iterator has a current element.
◆ NbLayers()
| int BRepGraph_LayerIterator::NbLayers |
( |
| ) |
const |
|
inline |
Number of layers in the registry.
◆ Next()
| void BRepGraph_LayerIterator::Next |
( |
| ) |
|
|
inline |
Advance to the next layer.
◆ Slot()
| int BRepGraph_LayerIterator::Slot |
( |
| ) |
const |
|
inline |
Return the current slot index in the registry.
◆ Value()
Return the current layer handle.
The documentation for this class was generated from the following file: