API Reference > OdDb Classes > OdDbGraph Class > OdDbGraph Methods > OdDbGraph::clearAll Method
OdDbGraph::clearAll Method
Syntax
C++
void clearAll(OdUInt8 flags);
Parameters 
Description 
OdUInt8 flags 
[in] Flag bits. 

Clears the specified set flag bits in the GraphNode objects of this Graph object. 

 

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

 

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

 

OdDbGraphNode::kListAll and OdDbGraphNode::kAll are intended to be used with this function.

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