API Reference > OdDb Classes > OdDbEvalExpr Class
OdDbEvalExpr Class
OdDbEvalExprOdDbEvalExprOdDbEvalExprOdDbEvalExprOdDbEvalExpr
Syntax
C++
class OdDbEvalExpr : public OdDbObject;

DbEvalGraph.h

This class represents single nodes in OdDbEvalGraph objects.

Each node reprsents an action or expression. The OdDbEvalGraph object calls each owned node's evaluate() method while traversing the graph within the OdDbEvalGraph::evaluate() method. 

Corresponding C++ library: TD_DynBlocks

  • OdDbEvalConnectable
  • OdDbEvalContext
  • OdDbEvalContextIterator
  • OdDbEvalContextPair
  • OdDbEvalEdgeInfo
  • OdDbEvalGraph
 
Name 
Description 
 
 
 
 
 
Name 
Description 
 
Notification function called whenever this Node object has been activated.
 
 
Notification function called whenever this Node object has been added to a Graph object.
 
 
Notification function called whenever an edge has been added the Graph object.
 
 
Notification function called whenever an edge of this Node object has been removed.
 
 
Notification function called whenever a Node object with a shared edge to this Node object has been removed a Graph object.
 
 
Notification function called whenever a Node object has been copied to another Graph object.
 
 
Reads the .dwg file data of this object.
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns true if and only if the specified Node object is equal to this Node object.
 
 
Evaluates the expression represented by this Node object.  
 
Opens the OdDbEvalGraph object that owns this Node object.
 
 
Notification function called whenever the Graph object travesal is been terminated.
 
 
Notification function called whenever the Graph object has been traversed.
 
 
Notification function called whenever the Graph object is about to be traversed.
 
 
Returns true if and only if this Node object can be activated. 
 
Notification function called whenever this Node object is about to be moved to another Graph object.
 
 
Notification function called whenever this Node object has been moved to another Graph object.
 
 
Returns the node ID of this Node object. 
 
 
 
 
 
OdDbEvalGraph::addGraph() calls this method on each node in the to-be-added graph just after all nodes have been added to the destination graph. The default behavior is to do nothing. Some subclasses of OdDbEvalExpr should override this function to update their references to other nodes. Nodes should not alter the map. This function is called exactly once for each node in a graph after all node IDs in a graph are changed. 
 
Notification function called whenever this Node object has been removed a Graph object.
 
 
Returns the value of the evaluated expression of this Node object. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.