|
Open CASCADE Technology
6.5.4
|
#include <TObj_LabelIterator.hxx>

Public Member Functions | |
| TObj_LabelIterator (const TDF_Label &theLabel, const Standard_Boolean isRecursive=Standard_False) | |
| Creates an iterator an initialize it by theLabel and recursive flag. If isRecursive is Standard_True make recursive iterations. | |
| virtual Standard_Boolean | More () const |
| Returns True if there is a current Item in the iteration. | |
| virtual void | Next () |
| Move to the next Item. | |
| virtual Handle< TObj_Object > | Value () const |
| Returns the current item. | |
| const TDF_Label & | LabelValue () const |
| Returns the label of the current item. | |
Protected Member Functions | |
| TObj_LabelIterator () | |
| Creates an Empty Iterator. | |
| virtual void | MakeStep ()=0 |
| Shifts iterator to the next object. | |
| void | Init (const TDF_Label &theLabel, const Standard_Boolean isRecursive=Standard_False) |
| Initialize Iterator by the theLabel. | |
Protected Attributes | |
| TDF_Label | myNode |
| Current node. | |
| TDF_ChildIterator | myIterator |
| OCAF Child iterator. | |
| Handle< TObj_Object > | myObject |
| Current Object. | |
This class is a basis for OCAF based iterators.
| TObj_LabelIterator::TObj_LabelIterator | ( | ) | [protected] |
Constructor
| TObj_LabelIterator::TObj_LabelIterator | ( | const TDF_Label & | theLabel, |
| const Standard_Boolean | isRecursive = Standard_False |
||
| ) |
Constructor
| void TObj_LabelIterator::Init | ( | const TDF_Label & | theLabel, |
| const Standard_Boolean | isRecursive = Standard_False |
||
| ) | [inline, protected] |
Internal methods
| const TDF_Label& TObj_LabelIterator::LabelValue | ( | ) | const [inline] |
| virtual void TObj_LabelIterator::MakeStep | ( | ) | [protected, pure virtual] |
Iterating methods
Implemented in TObj_OcafObjectIterator, and TObj_ReferenceIterator.
| virtual Standard_Boolean TObj_LabelIterator::More | ( | void | ) | const [inline, virtual] |
Redefined methods
Reimplemented from TObj_ObjectIterator.
| virtual void TObj_LabelIterator::Next | ( | ) | [virtual] |
Reimplemented from TObj_ObjectIterator.
| virtual Handle< TObj_Object > TObj_LabelIterator::Value | ( | void | ) | const [inline, virtual] |
Reimplemented from TObj_ObjectIterator.
TDF_ChildIterator TObj_LabelIterator::myIterator [protected] |
TDF_Label TObj_LabelIterator::myNode [protected] |
Fields
Handle< TObj_Object > TObj_LabelIterator::myObject [protected] |
1.8.0