![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Iterates on the ChildStepren step of a step, at the first level only. It is possible to ask the iterator to explore all the sub step levels of the given one, with the option "allLevels". More...
#include <TDataStd_ChildNodeIterator.hxx>
Public Member Functions | |
| TDataStd_ChildNodeIterator () | |
| Creates an empty iterator. | |
| TDataStd_ChildNodeIterator (const occ::handle< TDataStd_TreeNode > &aTreeNode, const bool allLevels=false) | |
| Iterates on the ChildStepren of the given Step. If <allLevels> option is set to true, it explores not only the first, but all the sub Step levels. | |
| void | Initialize (const occ::handle< TDataStd_TreeNode > &aTreeNode, const bool allLevels=false) |
| Initializes the iteration on the Children Step of the given Step. If <allLevels> option is set to true, it explores not only the first, but all the sub Step levels. | |
| bool | More () const |
| Returns True if there is a current Item in the iteration. | |
| void | Next () |
| Move to the next Item. | |
| void | NextBrother () |
| Move to the next Brother. If there is none, go up etc. This method is interesting only with "allLevels" behavior, because it avoids to explore the current Step ChildStepren. | |
| const occ::handle< TDataStd_TreeNode > & | Value () const |
| Returns the current item; a null Step if there is no one. | |
Iterates on the ChildStepren step of a step, at the first level only. It is possible to ask the iterator to explore all the sub step levels of the given one, with the option "allLevels".
| TDataStd_ChildNodeIterator::TDataStd_ChildNodeIterator | ( | ) |
Creates an empty iterator.
| TDataStd_ChildNodeIterator::TDataStd_ChildNodeIterator | ( | const occ::handle< TDataStd_TreeNode > & | aTreeNode, |
| const bool | allLevels = false ) |
Iterates on the ChildStepren of the given Step. If <allLevels> option is set to true, it explores not only the first, but all the sub Step levels.
| void TDataStd_ChildNodeIterator::Initialize | ( | const occ::handle< TDataStd_TreeNode > & | aTreeNode, |
| const bool | allLevels = false ) |
Initializes the iteration on the Children Step of the given Step. If <allLevels> option is set to true, it explores not only the first, but all the sub Step levels.
|
inline |
Returns True if there is a current Item in the iteration.
| void TDataStd_ChildNodeIterator::Next | ( | ) |
Move to the next Item.
| void TDataStd_ChildNodeIterator::NextBrother | ( | ) |
Move to the next Brother. If there is none, go up etc. This method is interesting only with "allLevels" behavior, because it avoids to explore the current Step ChildStepren.
|
inline |
Returns the current item; a null Step if there is no one.