Typed iterator over a relation 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>
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
class BRepGraph_ReverseIterator::ParentsOf< TypedIdT, ContainerT >
Typed iterator over a relation 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).
- Template Parameters
-
◆ ParentsOf() [1/2]
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
◆ ParentsOf() [2/2]
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
Construct starting at a given vector index (for resumable iteration). Skips to the first non-removed entry at or after theStartIndex.
◆ begin()
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
Returns an STL-compatible iterator for range-based for loops.
◆ Current()
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
◆ CurrentId()
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
◆ Definition()
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
Current parent definition (typed lookup via DefTraits).
◆ end()
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
Returns a sentinel marking the end of iteration.
◆ Index()
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
◆ More()
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
◆ Next()
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
◆ Size()
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
◆ Value()
template<typename TypedIdT, typename ContainerT = NCollection_LinearVector<TypedIdT>>
Returns the parent ID at the given bucket index (does NOT check removal status).
The documentation for this class was generated from the following file: