![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
Typed iterator over parent ID relation lists that also resolves the specific RefId linking each parent to the child by lookup in the parent definition. Used only where the reverse relation stores parent IDs but no ref IDs. More...
#include <BRepGraph_ReverseIterator.hxx>
Public Types | |
| using | ParentIdType = typename TraitsT::ParentId |
| using | ChildIdType = typename TraitsT::ChildId |
| using | RefIdType = typename TraitsT::RefId |
| using | ResultType = ParentRef<ParentIdType, RefIdType> |
| using | ContainerType = typename TraitsT::ContainerType |
Public Member Functions | |
| LookupParentRefsOf (const BRepGraph &theGraph, const ContainerType &theParents, const ChildIdType theChild) | |
| bool | More () const |
| void | Next () |
| ResultType | Current () const |
| ParentIdType | CurrentParentId () const |
| RefIdType | CurrentRefId () const |
| uint32_t | Index () const |
| NCollection_ForwardRangeIterator< LookupParentRefsOf > | 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 parent ID relation lists that also resolves the specific RefId linking each parent to the child by lookup in the parent definition. Used only where the reverse relation stores parent IDs but no ref IDs.
| TraitsT | Traits with: ParentId, ChildId, RefId types, FindRef(graph, parentId, childId) -> RefId (invalid if not found) |
| using BRepGraph_ReverseIterator::LookupParentRefsOf< TraitsT >::ChildIdType = typename TraitsT::ChildId |
| using BRepGraph_ReverseIterator::LookupParentRefsOf< TraitsT >::ContainerType = typename TraitsT::ContainerType |
| using BRepGraph_ReverseIterator::LookupParentRefsOf< TraitsT >::ParentIdType = typename TraitsT::ParentId |
| using BRepGraph_ReverseIterator::LookupParentRefsOf< TraitsT >::RefIdType = typename TraitsT::RefId |
| using BRepGraph_ReverseIterator::LookupParentRefsOf< TraitsT >::ResultType = ParentRef<ParentIdType, RefIdType> |
|
inline |
|
inline |
Returns an STL-compatible iterator for range-based for loops.
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inline |
Returns a sentinel marking the end of iteration.
|
inlinenodiscard |
|
inlinenodiscard |
|
inline |