Graph iterator.
More...
#include <XCAFDoc_AssemblyGraph.hxx>
|
| | Iterator (const occ::handle< XCAFDoc_AssemblyGraph > &theGraph, const int theNode=1) |
| | Accepting the assembly graph and starting node to iterate. Iteration starts from the specified node.
|
| bool | More () const |
| | Checks if there are more graph nodes to iterate.
|
| int | Current () const |
| void | Next () |
| | Moves iterator to the next position.
|
◆ Iterator()
Accepting the assembly graph and starting node to iterate. Iteration starts from the specified node.
- Parameters
-
| [in] | theGraph | - assembly graph to iterate. |
| [in] | theNode | - graph node ID. |
◆ Current()
| int XCAFDoc_AssemblyGraph::Iterator::Current |
( |
| ) |
const |
|
inline |
- Returns
- 1-based ID of the current node.
◆ More()
| bool XCAFDoc_AssemblyGraph::Iterator::More |
( |
| ) |
const |
|
inline |
Checks if there are more graph nodes to iterate.
- Returns
- true/false.
◆ Next()
| void XCAFDoc_AssemblyGraph::Iterator::Next |
( |
| ) |
|
|
inline |
Moves iterator to the next position.
The documentation for this class was generated from the following file: