![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Typed iterator over a reverse-index vector of parent IDs. Skips removed parent definitions automatically in sequential iteration. Also provides indexed access (Length/Value) for callers that need random access into the underlying vector (e.g. BRepGraph_ParentExplorer). More...
#include <BRepGraph_ReverseIterator.hxx>
Public Member Functions | |
| ParentsOf (const BRepGraph &theGraph, const NCollection_DynamicArray< TypedIdT > &theParents) | |
| ParentsOf (const BRepGraph &theGraph, const NCollection_DynamicArray< TypedIdT > &theParents, const uint32_t theStartIndex) | |
| Construct starting at a given vector index (for resumable iteration). Skips to the first non-removed entry at or after theStartIndex. | |
| bool | More () const |
| void | Next () |
| TypedIdT | CurrentId () const |
| TypedIdT | Current () const |
| Alias for CurrentId(), enables range-for via NCollection_ForwardRange Current() priority. | |
| const DefTraits< TypedIdT >::DefType & | Definition () const |
| Current parent definition (typed lookup via DefTraits). | |
| uint32_t | Index () const |
| int | Length () const |
| Returns the total number of parent entries (including removed). | |
| size_t | Size () const |
| TypedIdT | Value (const size_t theIndex) const |
| Returns the parent ID at the given index (does NOT check IsRemoved). | |
| NCollection_ForwardRangeIterator< ParentsOf > | begin () |
| Returns an STL-compatible iterator for range-based for loops. | |
| NCollection_ForwardRangeSentinel | end () const |
| Returns a sentinel marking the end of iteration. | |
Typed iterator over a reverse-index vector of parent IDs. Skips removed parent definitions automatically in sequential iteration. Also provides indexed access (Length/Value) for callers that need random access into the underlying vector (e.g. BRepGraph_ParentExplorer).
| TypedIdT | Typed ID such as BRepGraph_FaceId, BRepGraph_EdgeId, etc. |
|
inline |
|
inline |
Construct starting at a given vector index (for resumable iteration). Skips to the first non-removed entry at or after theStartIndex.
|
inline |
Returns an STL-compatible iterator for range-based for loops.
|
inline |
Alias for CurrentId(), enables range-for via NCollection_ForwardRange Current() priority.
|
inline |
|
inline |
Current parent definition (typed lookup via DefTraits).
|
inline |
Returns a sentinel marking the end of iteration.
|
inline |
|
inline |
Returns the total number of parent entries (including removed).
|
inline |
|
inline |
|
inline |
|
inline |
Returns the parent ID at the given index (does NOT check IsRemoved).