API Reference > OdDb Classes > OdDbGraphNode Class > OdDbGraphNode Methods > OdDbGraphNode::markTree Method
OdDbGraphNode::markTree Method
Syntax
C++
void markTree(OdUInt8 flags, OdDbGraphNodeArray* pNodeArray = 0);
Parameters 
Description 
OdUInt8 flags 
[in] Flag bits.  
OdDbGraphNodeArray* pNodeArray = 0 
[in] Pointer to a GraphNode array. 

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

 

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. 

 

This function is not implemented, and will generate a link error if you reference it.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.