Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraph_CacheIterator Class Reference

Iterator over registered cache families in a BRepGraph_CacheRegistry. More...

#include <BRepGraph_CacheIterator.hxx>

Public Member Functions

 BRepGraph_CacheIterator (const BRepGraph_CacheRegistry &theRegistry)
 Construct an iterator over all cache families in the registry.
bool More () const
 True if the iterator has a current element.
void Next ()
 Advance to the next cache family.
occ::handle< BRepGraph_Cache > Value () const
 Return the current cache family descriptor.
uint32_t Slot () const
 Return the current slot index in the registry.
uint32_t NbCaches () const
 Number of cache families in the registry.
NCollection_ForwardRangeIterator< BRepGraph_CacheIterator > begin ()
 STL range-for support.
NCollection_ForwardRangeSentinel end () const
 Sentinel marking end of iteration.

Detailed Description

Iterator over registered cache families in a BRepGraph_CacheRegistry.

Supports OCCT More()/Next()/Value() pattern and STL range-for via begin()/end().

Constructor & Destructor Documentation

◆ BRepGraph_CacheIterator()

BRepGraph_CacheIterator::BRepGraph_CacheIterator ( const BRepGraph_CacheRegistry & theRegistry)
inlineexplicit

Construct an iterator over all cache families in the registry.

Member Function Documentation

◆ begin()

NCollection_ForwardRangeIterator< BRepGraph_CacheIterator > BRepGraph_CacheIterator::begin ( )
inline

STL range-for support.

◆ end()

NCollection_ForwardRangeSentinel BRepGraph_CacheIterator::end ( ) const
inline

Sentinel marking end of iteration.

◆ More()

bool BRepGraph_CacheIterator::More ( ) const
inlinenodiscard

True if the iterator has a current element.

◆ NbCaches()

uint32_t BRepGraph_CacheIterator::NbCaches ( ) const
inlinenodiscard

Number of cache families in the registry.

◆ Next()

void BRepGraph_CacheIterator::Next ( )
inline

Advance to the next cache family.

◆ Slot()

uint32_t BRepGraph_CacheIterator::Slot ( ) const
inlinenodiscard

Return the current slot index in the registry.

◆ Value()

occ::handle< BRepGraph_Cache > BRepGraph_CacheIterator::Value ( ) const
inlinenodiscard

Return the current cache family descriptor.


The documentation for this class was generated from the following file: