Open CASCADE Technology
7.7.0
|
Iterator in depth along the assembly tree. More...
#include <XCAFDoc_AssemblyIterator.hxx>
Public Member Functions | |
XCAFDoc_AssemblyIterator (const Handle< TDocStd_Document > &theDoc, const Standard_Integer theLevel=INT_MAX) | |
Constructs iterator starting from assembly roots. More... | |
XCAFDoc_AssemblyIterator (const Handle< TDocStd_Document > &theDoc, const XCAFDoc_AssemblyItemId &theRoot, const Standard_Integer theLevel=INT_MAX) | |
Constructs iterator starting from the specified position in the assembly tree. More... | |
Standard_Boolean | More () const |
void | Next () |
Moves depth-first iterator to the next position. More... | |
XCAFDoc_AssemblyItemId | Current () const |
Iterator in depth along the assembly tree.
XCAFDoc_AssemblyIterator::XCAFDoc_AssemblyIterator | ( | const Handle< TDocStd_Document > & | theDoc, |
const Standard_Integer | theLevel = INT_MAX |
||
) |
Constructs iterator starting from assembly roots.
[in] | theDoc | - document to iterate. |
[in,opt] | theLevel - max level of hierarchy to reach (INT_MAX is for no limit). |
XCAFDoc_AssemblyIterator::XCAFDoc_AssemblyIterator | ( | const Handle< TDocStd_Document > & | theDoc, |
const XCAFDoc_AssemblyItemId & | theRoot, | ||
const Standard_Integer | theLevel = INT_MAX |
||
) |
Constructs iterator starting from the specified position in the assembly tree.
[in] | theDoc | - document to iterate. |
[in] | theRoot | - assembly item to start iterating from. |
[in,opt] | theLevel - max level of hierarchy to reach (INT_MAX is for no limit). |
XCAFDoc_AssemblyItemId XCAFDoc_AssemblyIterator::Current | ( | ) | const |
Standard_Boolean XCAFDoc_AssemblyIterator::More | ( | ) | const |
void XCAFDoc_AssemblyIterator::Next | ( | ) |
Moves depth-first iterator to the next position.