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

Clears the specified set flag bits in this GraphNode object. 

 

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–2020. Open Design Alliance. All rights reserved.