![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Zero-allocation iterator over populated cache kinds on a node or reference. More...
#include <BRepGraph_CacheKindIterator.hxx>
Public Member Functions | |
| bool | More () const |
| True if the iterator has a current element. | |
| void | Next () |
| Advance to the next populated cache kind. | |
| occ::handle< BRepGraph_CacheKind > | Value () const |
| Return the current cache kind descriptor. | |
| int | KindSlot () const |
| Return the current cache-kind slot index (for fast slot-based access). | |
| int | NbKinds () const |
| Number of populated cache kinds found. | |
| NCollection_ForwardRangeIterator< BRepGraph_CacheKindIterator > | begin () |
| STL range-for support. | |
| NCollection_ForwardRangeSentinel | end () const |
| Sentinel marking end of iteration. | |
Zero-allocation iterator over populated cache kinds on a node or reference.
Template parameter TKeyId is either BRepGraph_NodeId or BRepGraph_RefId. Supports OCCT More()/Next()/Value() pattern and STL range-for via begin()/end().
Constructed by BRepGraph::CacheView::CacheKindIter(). Stores populated kind slot indices in a fixed-size stack buffer (no heap allocation).
|
inline |
STL range-for support.
|
inline |
Sentinel marking end of iteration.
|
inline |
Return the current cache-kind slot index (for fast slot-based access).
|
inline |
True if the iterator has a current element.
|
inline |
Number of populated cache kinds found.
|
inline |
Advance to the next populated cache kind.
|
inline |
Return the current cache kind descriptor.