CFx SDK Documentation  2020SP3
Public Member Functions | Protected Attributes | Friends | List of all members
OdDbEvalExpr Class Reference

#include <DbEvalGraph.h>

Inheritance diagram for OdDbEvalExpr:
OdDbObject OdGiDrawable OdRxObject OdDbBlockGripExpr OdDbDynamicBlockProxyNode OdDbEvalConnectable OdDbBlockElement OdDbShHistoryNode OdDbBlockAction OdDbBlockGrip OdDbBlockParameter OdDbShBoolean OdDbShChamfer OdDbShFillet OdDbShPrimitive OdDbShSubentColor OdDbShSubentMaterial

Public Member Functions

 ODDB_DECLARE_MEMBERS (OdDbEvalExpr)
 
 OdDbEvalExpr ()
 
virtual ~OdDbEvalExpr ()
 
OdDbEvalGraphPtr getGraph (OdDb::OpenMode openMode=OdDb::kForRead) const
 
OdDbEvalNodeId nodeId () const
 
virtual void addedToGraph (OdDbEvalGraph *pGraph)
 
virtual void removedFromGraph (OdDbEvalGraph *pGraph)
 
virtual void adjacentNodeRemoved (const OdDbEvalNodeId &adjNodeId)
 
virtual void adjacentEdgeRemoved (const OdDbEvalNodeId &adjEdgeNodeId)
 
virtual void adjacentEdgeAdded (const OdDbEvalNodeId &fromId, const OdDbEvalNodeId &toId, bool isInvertible)
 
virtual void movedFromGraph (OdDbEvalGraph *pFromGraph)
 
virtual void movedIntoGraph (OdDbEvalGraph *pIntoGraph)
 
virtual void copiedIntoGraph (OdDbEvalGraph *pIntoGraph)
 
virtual bool isActivatable () const
 
virtual void activated (OdDbEvalNodeIdArray &argumentActiveList)
 
virtual void graphEvalStart (bool nodeIsActive)
 
virtual void graphEvalEnd (bool nodeIsActive)
 
virtual void graphEvalAbort (bool nodeIsActive)
 
virtual bool evaluate (const OdDbEvalContext *evalContext)
 
virtual bool equals (const OdDbEvalExpr *pOther) const
 
OdResBufPtr value () const
 
OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
void dwgOutFields (OdDbDwgFiler *pFiler) const
 
OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdResult postInDatabase (OdDbDatabase *)
 
- Public Member Functions inherited from OdDbObject
 ODDB_DECLARE_MEMBERS (OdDbObject)
 
 ~OdDbObject ()
 
void addRef ()
 
void release ()
 
long numRefs () const
 
OdDbObjectId objectId () const
 
OdDbHandle getDbHandle () const
 
OdDbHandle handle () const
 
OdDbObjectId ownerId () const
 
virtual void setOwnerId (OdDbObjectId ownerId)
 
OdDbDatabasedatabase () const
 
void createExtensionDictionary ()
 
OdDbObjectId extensionDictionary () const
 
bool releaseExtensionDictionary ()
 
OdDbXrecordPtr createXrecord (const OdString &xrecordName, OdDb::DuplicateRecordCloning style=OdDb::kDrcIgnore)
 
void upgradeOpen ()
 
void downgradeOpen ()
 
void cancel ()
 
virtual OdResult subOpen (OdDb::OpenMode mode)
 
virtual void subClose ()
 
OdResult erase (bool eraseIt=true)
 
virtual OdResult subErase (bool erasing)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
virtual void subHandOverTo (OdDbObject *pNewObject)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields_R12 (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields_R12 (OdDbDxfFiler *pFiler) const
 
virtual OdDb::DuplicateRecordCloning mergeStyle () const
 
virtual OdResBufPtr xData (const OdString &regappName=OdString::kEmpty) const
 
virtual void setXData (const OdResBuf *pRb)
 
bool isEraseStatusToggled () const
 
bool isErased () const
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
bool isNotifyEnabled () const
 
bool isModified () const
 
bool isModifiedXData () const
 
bool isModifiedGraphics () const
 
bool isNewObject () const
 
bool isNotifying () const
 
bool isUndoing () const
 
bool isReallyClosing () const
 
bool isDBRO () const
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
void assertNotifyEnabled () const
 
void disableUndoRecording (bool disable)
 
bool isUndoRecordingDisabled () const
 
OdDbDwgFilerundoFiler ()
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
void addReactor (OdDbObjectReactor *pReactor) const
 
void removeReactor (OdDbObjectReactor *pReactor) const
 
virtual void addPersistentReactor (const OdDbObjectId &objId)
 
virtual void removePersistentReactor (const OdDbObjectId &objId)
 
bool hasPersistentReactor (const OdDbObjectId &objId) const
 
OdDbObjectIdArray getPersistentReactors () const
 
OdDbObjectReactorArray getTransientReactors () const
 
virtual void recvPropagateModify (const OdDbObject *pSubObj)
 
virtual void xmitPropagateModify () const
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr deepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
virtual void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap)
 
void setOdDbObjectIdsInFlux ()
 
bool isOdDbObjectIdsInFlux () const
 
virtual void copied (const OdDbObject *pObject, const OdDbObject *pNewObject)
 
virtual void erased (const OdDbObject *pObject, bool erasing=true)
 
virtual void goodbye (const OdDbObject *pObject)
 
virtual void openedForModify (const OdDbObject *pObject)
 
virtual void modified (const OdDbObject *pObject)
 
virtual void subObjModified (const OdDbObject *pObject, const OdDbObject *pSubObj)
 
virtual void modifyUndone (const OdDbObject *pObject)
 
virtual void modifiedXData (const OdDbObject *pObject)
 
virtual void unappended (const OdDbObject *pObject)
 
virtual void reappended (const OdDbObject *pObject)
 
bool isAProxy () const
 
virtual void objectClosed (const OdDbObjectId &objectId)
 
virtual void modifiedGraphics (const OdDbObject *pObject)
 
virtual void copyFrom (const OdRxObject *pSource)
 
bool hasSaveVersionOverride () const
 
void setHasSaveVersionOverride (bool hasSaveVersionOverride)
 
virtual OdDb::DwgVersion getObjectSaveVersion (const OdDbFiler *pFiler, OdDb::MaintReleaseVer *pMaintVer=0) const
 
virtual OdDbObjectPtr decomposeForSave (OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
virtual OdDbObjectPtr decomposeForSave (OdDb::SaveType format, OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
void convertForSave (OdDb::DwgVersion ver)
 
virtual void composeForLoad (OdDb::SaveType format, OdDb::DwgVersion version, OdDbAuditInfo *pAuditInfo)
 
virtual OdGiDrawabledrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
ODRX_SEALED_VIRTUAL OdResult getClassID (void *pClsid) const ODRX_SEALED
 
void setGsNode (OdGsCache *pNode)
 
OdGsCachegsNode () const
 
void xDataTransformBy (const OdGeMatrix3d &xfm)
 
bool hasFields () const
 
OdDbObjectId getField (const OdString &fieldName) const
 
OdDbObjectPtr getField (const OdString &fieldName, OdDb::OpenMode mode) const
 
virtual OdDbObjectId setField (const OdString &fieldName, OdDbField *pField)
 
virtual OdResult removeField (OdDbObjectId fieldId)
 
virtual OdDbObjectId removeField (const OdString &fieldName)
 
OdDbObjectId getFieldDictionary () const
 
OdDbObjectPtr getFieldDictionary (OdDb::OpenMode mode) const
 
virtual OdRxClasssaveAsClass (OdRxClass *pClass) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Attributes

OdResBufPtr m_lastValue
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Friends

class OdDbEvalExprImpl
 

Additional Inherited Members

- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0, kDrawableIsAnEntity = 1, kDrawableUsesNesting = 2, kDrawableIsCompoundObject = 4,
  kDrawableViewIndependentViewportDraw = 8, kDrawableIsInvisible = 16, kDrawableHasAttributes = 32, kDrawableRegenTypeDependantGeometry = 64,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128), kDrawableRegenDraw = 256, kDrawableStandardDisplaySingleLOD = 512, kDrawableShadedDisplaySingleLOD = 1024,
  kDrawableViewDependentViewportDraw = 2048, kDrawableBlockDependentViewportDraw = 4096, kDrawableIsExternalReference = 8192, kDrawableNotPlottable = 16384,
  kLastFlag = kDrawableNotPlottable
}
 
enum  DrawableType {
  kGeometry = 0, kDistantLight = 1, kPointLight = 2, kSpotLight = 3,
  kAmbientLight, kSolidBackground, kGradientBackground, kImageBackground,
  kGroundPlaneBackground, kViewport, kWebLight, kSkyBackground,
  kImageBasedLightingBackground
}
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdDbObject
 OdDbObject ()
 
virtual OdResult subGetClassID (void *pClsid) const
 
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 

Detailed Description

This class represents single nodes in OdDbEvalGraph objects.

Remarks
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 <group OdDb_Classes>

See also
OdDbEvalConnectable OdDbEvalContext OdDbEvalContextIterator OdDbEvalContextPair OdDbEvalEdgeInfo OdDbEvalGraph

Definition at line 558 of file DbEvalGraph.h.

Constructor & Destructor Documentation

◆ OdDbEvalExpr()

OdDbEvalExpr::OdDbEvalExpr ( )

◆ ~OdDbEvalExpr()

virtual OdDbEvalExpr::~OdDbEvalExpr ( )
virtual

Member Function Documentation

◆ activated()

virtual void OdDbEvalExpr::activated ( OdDbEvalNodeIdArray argumentActiveList)
virtual

Notification function called whenever this Node object has been activated.

Parameters
argumentActivateList[in] Array of node IDs being activated.
Remarks
Called by OdDbEvalGraph::activate() or by OdDbEvalGraph::evaluate().

When the edge is invertible, this function is called twice.

This function is called after the operation.

◆ addedToGraph()

virtual void OdDbEvalExpr::addedToGraph ( OdDbEvalGraph pGraph)
virtual

Notification function called whenever this Node object has been added to a Graph object.

Parameters
pGraph[in] Pointer to the Graph object.
Remarks
Called by OdDbEvalGraph::addNode().

This function is called after the operation.

Reimplemented in OdDbBlockGrip.

◆ adjacentEdgeAdded()

virtual void OdDbEvalExpr::adjacentEdgeAdded ( const OdDbEvalNodeId fromId,
const OdDbEvalNodeId toId,
bool  isInvertible 
)
virtual

Notification function called whenever an edge has been added the Graph object.

Parameters
fromId[in] Node Id of the "from" Node object sharing the edge.
toId[in] Node Id of the "to" Node object sharing the edge.
isInvertible[in] True if and only if the edge the edge is invertible.
Remarks
Called by OdDbEvalGraph::addEdge().

When the edge is invertible, this function is called twice.

This function is called after the operation.

◆ adjacentEdgeRemoved()

virtual void OdDbEvalExpr::adjacentEdgeRemoved ( const OdDbEvalNodeId adjEdgeNodeId)
virtual

Notification function called whenever an edge of this Node object has been removed.

Parameters
adjEdgeNodeId[in] Node Id of the Node object sharing the edge.
Remarks
Called by OdDbEvalGraph::removeEdge().

This function is called after the operation.

◆ adjacentNodeRemoved()

virtual void OdDbEvalExpr::adjacentNodeRemoved ( const OdDbEvalNodeId adjNodeId)
virtual

Notification function called whenever a Node object with a shared edge to this Node object has been removed a Graph object.

Parameters
adjNodeId[in] Node Id of the adjacent Node object.
Remarks
Called by OdDbEvalGraph::removeNode().

This function is called after the operation.

◆ copiedIntoGraph()

virtual void OdDbEvalExpr::copiedIntoGraph ( OdDbEvalGraph pIntoGraph)
virtual

Notification function called whenever a Node object has been copied to another Graph object.

Parameters
pIntoGraph[in] Pointer to the Graph object into which a Node object was copied.
Remarks
Called by OdDbEvalGraph::copyFrom().

This function is called after the operation.

◆ dwgInFields()

OdResult OdDbEvalExpr::dwgInFields ( OdDbDwgFiler pFiler)
virtual

Reads the .dwg file data of this object.

Parameters
pFiler[in] Filer object from which data are read.
Returns
Returns the filer status.

This function is called by dwgIn() to allow the object to read its data.

When overriding this function:

1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dwgInFields(pFiler) returned. 4) Call the OdDbDwgFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().

Reimplemented from OdDbObject.

Reimplemented in OdDbShWedge, OdDbShTorus, OdDbShSweep, OdDbShSubentMaterial, OdDbShSubentColor, OdDbShSphere, OdDbShRevolve, OdDbShPyramid, OdDbShPrimitive, OdDbShLoft, OdDbShHistoryNode, OdDbShFillet, OdDbShExtrusion, OdDbShCone, OdDbShCylinder, OdDbShChamfer, OdDbShBrep, OdDbShBox, and OdDbShBoolean.

◆ dwgOutFields()

void OdDbEvalExpr::dwgOutFields ( OdDbDwgFiler pFiler) const
virtual

Writes the .dwg file data of this object.

Parameters
pFiler[in] Pointer to the filer to which data are written.
Remarks

This function is called by dwgIn() to allow the object to write its data.

When overriding this function:

1) Call assertReadEnabled(). 2) Call the parent class's dwgOutFields(pFiler). 3) Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbObject.

Reimplemented in OdDbShWedge, OdDbShTorus, OdDbShSweep, OdDbShSubentMaterial, OdDbShSubentColor, OdDbShSphere, OdDbShRevolve, OdDbShPyramid, OdDbShPrimitive, OdDbShLoft, OdDbShHistoryNode, OdDbShFillet, OdDbShExtrusion, OdDbShCone, OdDbShCylinder, OdDbShChamfer, OdDbShBrep, OdDbShBox, and OdDbShBoolean.

◆ dxfInFields()

OdResult OdDbEvalExpr::dxfInFields ( OdDbDxfFiler pFiler)
virtual

Reads the DXF data of this object.

Parameters
pFiler[in] Pointer to the filer from which data are read.
Returns
Returns the filer status.

This function is called by dxfIn() to allow the object to read its data.

When overriding this function:

1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().

Reimplemented from OdDbObject.

Reimplemented in OdDbShWedge, OdDbShTorus, OdDbShSweep, OdDbShSubentMaterial, OdDbShSubentColor, OdDbShSphere, OdDbShRevolve, OdDbShPyramid, OdDbShPrimitive, OdDbShLoft, OdDbShHistoryNode, OdDbShFillet, OdDbShExtrusion, OdDbShCone, OdDbShCylinder, OdDbShChamfer, OdDbShBrep, OdDbShBox, OdDbShBoolean, OdDbBlockVisibilityGrip, OdDbBlockLookupGrip, OdDbBlockRotationGrip, OdDbBlockPolarGrip, and OdDbBlockXYGrip.

◆ dxfOutFields()

void OdDbEvalExpr::dxfOutFields ( OdDbDxfFiler pFiler) const
virtual

Writes the DXF data of this object.

Parameters
pFiler[in] Pointer to the filer to which data are to be written.
Remarks

This function is called by dxfOut() to allow the object to write its data.

When overriding this function:

1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 4) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbObject.

Reimplemented in OdDbShWedge, OdDbShTorus, OdDbShSweep, OdDbShSubentMaterial, OdDbShSubentColor, OdDbShSphere, OdDbShRevolve, OdDbShPyramid, OdDbShPrimitive, OdDbShLoft, OdDbShHistoryNode, OdDbShFillet, OdDbShExtrusion, OdDbShCone, OdDbShCylinder, OdDbShChamfer, OdDbShBrep, OdDbShBox, OdDbShBoolean, OdDbBlockVisibilityGrip, OdDbBlockLookupGrip, OdDbBlockRotationGrip, OdDbBlockPolarGrip, and OdDbBlockXYGrip.

◆ equals()

virtual bool OdDbEvalExpr::equals ( const OdDbEvalExpr pOther) const
virtual

Returns true if and only if the specified Node object is equal to this Node object.

Parameters
pOther[in] Pointer to the other Node object.
Remarks
The default implementation of this function does nothing but throw an eNotImplemented error.

◆ evaluate()

virtual bool OdDbEvalExpr::evaluate ( const OdDbEvalContext evalContext)
virtual

Evaluates the expression represented by this Node object.

Parameters
evalContext[in] Evaluation context.
Remarks
Called by OdDbEvalGraph::evaluate().

Returns true if and only if successful. Returning false terminates the Traversal.

evalContext may be NULL.

Reimplemented in OdDbBlockElement.

◆ getGraph()

OdDbEvalGraphPtr OdDbEvalExpr::getGraph ( OdDb::OpenMode  openMode = OdDb::kForRead) const

Opens the OdDbEvalGraph object that owns this Node object.

Parameters
openMode[in] Mode in which to open the Graph object.
Returns
Returns a SmartPointer to the opened OdDbEvalGraph if successful, otherwise a null SmartPointer.

◆ graphEvalAbort()

virtual void OdDbEvalExpr::graphEvalAbort ( bool  nodeIsActive)
virtual

Notification function called whenever the Graph object travesal is been terminated.

Parameters
nodeIsActive[in] True if and only if this Node object has been activated.
Remarks
Called by OdDbEvalGraph::evaluate().

This function is called after the operation.

◆ graphEvalEnd()

virtual void OdDbEvalExpr::graphEvalEnd ( bool  nodeIsActive)
virtual

Notification function called whenever the Graph object has been traversed.

Parameters
nodeIsActive[in] True if and only if this Node object has been activated.
Remarks
Called by OdDbEvalGraph::evaluate().

This function is called after the operation.

Reimplemented in OdDbBlockRotationParameter, OdDbBlockFlipGrip, OdDbBlockFlipParameter, OdDbBlock2PtParameter, and OdDbBlock1PtParameter.

◆ graphEvalStart()

virtual void OdDbEvalExpr::graphEvalStart ( bool  nodeIsActive)
virtual

Notification function called whenever the Graph object is about to be traversed.

Parameters
nodeIsActive[in] True if and only if this Node object has been activated.
Remarks
Called by OdDbEvalGraph::evaluate().

This function is called before the operation.

◆ isActivatable()

virtual bool OdDbEvalExpr::isActivatable ( ) const
virtual

Returns true if and only if this Node object can be activated.

Remarks
The default implementation of this function always returns true.

◆ movedFromGraph()

virtual void OdDbEvalExpr::movedFromGraph ( OdDbEvalGraph pFromGraph)
virtual

Notification function called whenever this Node object is about to be moved to another Graph object.

Parameters
pFromGraph[in] Pointer to the Graph object from which this Node object will be moved.
Remarks
Called by OdDbEvalGraph::addGraph().

This function is called before the operation.

◆ movedIntoGraph()

virtual void OdDbEvalExpr::movedIntoGraph ( OdDbEvalGraph pIntoGraph)
virtual

Notification function called whenever this Node object has been moved to another Graph object.

Parameters
pIntoGraph[in] Pointer to the Graph object into which this Node object was moved.
Remarks
Called by OdDbEvalGraph::addGraph().

This function is called after the operation.

◆ nodeId()

OdDbEvalNodeId OdDbEvalExpr::nodeId ( ) const

Returns the node ID of this Node object.

Remarks
An unique ID is assigned when a Node object it added to a Graph.

Returns OdDbGraph::kNullId if this Node object is not graph-resident.

◆ ODDB_DECLARE_MEMBERS()

OdDbEvalExpr::ODDB_DECLARE_MEMBERS ( OdDbEvalExpr  )

◆ postInDatabase()

virtual OdResult OdDbEvalExpr::postInDatabase ( OdDbDatabase )
virtual

◆ removedFromGraph()

virtual void OdDbEvalExpr::removedFromGraph ( OdDbEvalGraph pGraph)
virtual

Notification function called whenever this Node object has been removed a Graph object.

Parameters
pGraph[in] Pointer to the Graph object.
Remarks
Called by OdDbEvalGraph::removeNode().

This function is called after the operation.

Reimplemented in OdDbBlockGrip.

◆ value()

OdResBufPtr OdDbEvalExpr::value ( ) const

Returns the value of the evaluated expression of this Node object.

Remarks
The value is updated with a call to OdDbEvalExpr::evaluate().

Friends And Related Function Documentation

◆ OdDbEvalExprImpl

friend class OdDbEvalExprImpl
friend

Definition at line 795 of file DbEvalGraph.h.

Member Data Documentation

◆ m_lastValue

OdResBufPtr OdDbEvalExpr::m_lastValue
protected

Definition at line 794 of file DbEvalGraph.h.


The documentation for this class was generated from the following file: