Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbGraphNode::markTree Method
Syntax
C++
void markTree(OdUInt8 flags, OdDbGraphNodeArray* pNodeArray = 0);

Marks this GraphNode object and all nested outgoing GraphNode objects with the specified flags. 

 

Parameters
Description
flags
[in] Flag bits.
pNodeArray
[in] Pointer to a GraphNode array.

If pNodeArray is specified, this function appends this GraphNode object and all nested outgoing GraphNode objects, to the specified array. While tranversing a branch, if any GraphNode object already has the flag bits set, the branch is no longer followed. 

The user must clear the flags with OdDbGraph::clearAll() or OdDbGraphNode::clear() when done with them. 

flags must be a combination of one or more of the following: 

 

Name
Value
Description
kNone
0x00
None.
kVisited
0x01
Used internally by OdDbGraph::findCycles() and while traversing a graphs with cycles.
kOutsideRefed
0x02
Used internally by Xref detach.
kSelected
0x04
User selection. Set by getOutgoing.
kInList
0x08
Is in list. Set by getOutgoing.
kListAll
0x0E
Used to clear kSelected, kInList, kOutsideRefed.
kFirstLevel
0x10
The node is connected to the root node. Read Only.
kUnresTree
0x20
The tree is unresolved.
kAll
0x2F
Used to clear all but kFirstLevel.
Copyright © 2002-2022. Open Design Alliance All rights reserved.