CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef _DbEvalGraph_h_Included_
25 #define _DbEvalGraph_h_Included_
42 class OdDbImpEvalContext;
43 class OdDbImpEvalContextIterator;
82 #ifdef DYNBLOCKS_DLL_EXPORTS
84 #define DYNBLOCKS_EXPORT OD_TOOLKIT_EXPORT
86 #define DYNBLOCKS_EXPORT
88 #define DYNBLOCKS_EXPORT_STATIC OD_STATIC_EXPORT
91 #define DYNBLOCKS_EXPORT OD_TOOLKIT_IMPORT
93 #define DYNBLOCKS_EXPORT
95 #define DYNBLOCKS_EXPORT_STATIC OD_STATIC_IMPORT
431 bool& isActive)
const;
483 : mFlags(0), mRefCount(0)
498 : mIdFrom(fromId), mIdTo(toId), mFlags(flags), mRefCount(
count)
536 unsigned long mRefCount;
795 friend class OdDbEvalExprImpl;
879 const OdString& sourceConnectionName);
897 const OdString& sourceConnectionName);
913 const OdString& sourceConnectionName)
const;
1019 OdDbImpEvalContext* m_pImp;
1020 friend class OdDbImpEvalContextIterator;
1137 OdDbImpEvalContextIterator* m_pImp;
1138 friend class OdDbImpEvalContext;
virtual void adjacentEdgeRemoved(const OdDbEvalNodeId &adjEdgeNodeId)
virtual ~OdDbEvalContextPair()
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler) ODRX_OVERRIDE
virtual OdResBufPtr getConnectionValue(const OdString &connectionName) const
ODRX_DECLARE_MEMBERS(OdDbEvalContext)
virtual void graphEvalEnd(bool nodeIsActive)
static bool removeGraph(OdDbObject *pObj, const OdString &pKey)
OdArray< OdDbEvalExprPtr > OdDbEvalExprPtrArray
virtual OdResult postInDatabase(OdDbDatabase *)
static bool hasGraph(OdDbDatabase *pDb, const OdString &key)
OdSmartPtr< OdDbEvalExpr > OdDbEvalExprPtr
virtual OdDbEvalContextPair contextPair() const
virtual bool getEdgeInfo(const OdDbEvalNodeId &idFrom, const OdDbEvalNodeId &idTo, OdDbEvalEdgeInfo &edgeInfo) const
virtual void addedToGraph(OdDbEvalGraph *pGraph)
void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual bool isActivatable() const
virtual OdResult postInDatabase(OdDbDatabase *)
const OdString key() const
virtual void graphEvalAbort(bool nodeIsActive)
OdDbEvalNodeId from() const
virtual bool activate(const OdDbEvalNodeIdArray &activatedNodes) const
static OdDbEvalGraphPtr getGraph(OdDbDatabase *pDb, const OdString &key, const OdDb::OpenMode openMode=OdDb::kForRead)
virtual bool setConnectionValue(const OdString &connectionName, const OdResBuf *pValue)
OdDbEvalContextPair(const OdString &key, void *value)
virtual void getConnectionNames(OdStringArray &connectionNames) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const ODRX_OVERRIDE
virtual bool removeEdge(const OdDbEvalNodeId &idFrom, const OdDbEvalNodeId &idTo)
virtual void adjacentNodeRemoved(const OdDbEvalNodeId &adjNodeId)
virtual bool getAt(OdDbEvalContextPair &pair) const
OdArray< OdResBufPtr > OdResBufArray
ODRX_DECLARE_MEMBERS(OdDbEvalContextIterator)
virtual void getOutgoingEdges(const OdDbEvalNodeId &nodeId, OdDbEvalEdgeInfoArray &edges) const
unsigned long refCount() const
virtual void copyFrom(const OdRxObject *p) ODRX_OVERRIDE
virtual void getIncomingEdges(const OdDbEvalNodeId &nodeId, OdDbEvalEdgeInfoArray &edges) const
void setValue(void *value)
virtual void adjacentEdgeAdded(const OdDbEvalNodeId &fromId, const OdDbEvalNodeId &toId, bool isInvertible)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const ODRX_OVERRIDE
virtual bool getIsActive(const OdDbEvalNodeId &nodeId, bool &isActive) const
OdSmartPtr< OdDbEvalContextIterator > OdDbEvalContextIteratorPtr
OdDbEvalNodeId to() const
OdResBufPtr value() const
OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual bool isSubgraphOf(const OdDbEvalGraph *pOther) const
OdDbEvalContextIterator()
virtual bool getConnectedNames(const OdString &thisConnectionName, OdDbEvalNodeId sourceConnectableId, OdStringArray &sourceConnectionNames) const
OdSmartPtr< OdDbEvalGraph > OdDbEvalGraphPtr
virtual OdDbEvalNodeId addNode(OdDbEvalExpr *pNode)
ODDB_DECLARE_MEMBERS(OdDbEvalGraph)
virtual void activated(OdDbEvalNodeIdArray &argumentActiveList)
OdArray< OdDbEvalEdgeInfo > OdDbEvalEdgeInfoArray
virtual bool connectionAllowed(const OdString &thisConnectionName, OdDbEvalNodeId sourceConnectableId, const OdString &sourceConnectionName) const
virtual bool disconnectFrom(const OdString &thisConnectionName, OdDbEvalNodeId sourceConnectableId, const OdString &sourceConnectionName)
unsigned long OdDbEvalNodeId
ODDB_DECLARE_MEMBERS(OdDbEvalConnectable)
virtual bool getConnectionType(const OdString &connectionName, OdResBuf::ValueType &connectionType) const
virtual void addGraph(OdDbEvalGraph *pGraphToAdd)
virtual void removedFromGraph(OdDbEvalGraph *pGraph)
OdDbEvalGraphPtr getGraph(OdDb::OpenMode openMode=OdDb::kForRead) const
virtual void movedFromGraph(OdDbEvalGraph *pFromGraph)
static bool hasGraph(const OdDbObject *pObj, const OdString &key)
virtual bool evaluate(const OdDbEvalContext *pContext, const OdDbEvalNodeIdArray *pActivateNodes) const
bool isInvertible() const
virtual bool done() const
virtual bool evaluate(const OdDbEvalContext *evalContext)
virtual void getAllNodes(OdDbEvalNodeIdArray &allNodes) const
OdSmartPtr< OdDbEvalConnectable > OdDbEvalConnectablePtr
OdDbEvalNodeId nodeId() const
bool isSuppressed() const
static bool createGraph(OdDbObject *pObj, const OdString &key)
virtual bool removeNode(const OdDbEvalNodeId &nodeId)
static bool createGraph(OdDbDatabase *pDb, const OdString &key)
virtual void movedIntoGraph(OdDbEvalGraph *pIntoGraph)
virtual ~OdDbEvalContextIterator()
virtual bool connectTo(const OdString &thisConnectionName, OdDbEvalNodeId sourceConnectableId, const OdString &sourceConnectionName)
virtual void applyPartialUndo(OdDbDwgFiler *pFiler, OdRxClass *pClassObj) ODRX_OVERRIDE
virtual bool activate(const OdDbEvalNodeIdArray &activatedNodes, OdDbEvalNodeIdArray *pActiveSubgraph) const
virtual bool hasConnectionNamed(const OdString &connectionName) const
virtual void subHandOverTo(OdDbObject *pNewObject) ODRX_OVERRIDE
virtual void copiedIntoGraph(OdDbEvalGraph *pIntoGraph)
OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setKey(const OdString &key)
virtual bool addEdge(const OdDbEvalNodeId &idFrom, const OdDbEvalNodeId &idTo)
virtual void graphEvalStart(bool nodeIsActive)
virtual bool getConnectedObjects(const OdString &thisConnectionName, OdDbEvalNodeIdArray &connectedObjects) const
virtual void removeAt(const OdString &key)
virtual void insertAt(const OdDbEvalContextPair &pair)
virtual OdDbEvalExprPtr getNode(const OdDbEvalNodeId &nodeId, OdDb::OpenMode openMode=OdDb::kForRead) const
OdDbEvalEdgeInfo(OdDbEvalNodeId fromId, OdDbEvalNodeId toId, long flags, unsigned long count)
virtual bool addEdge(const OdDbEvalNodeId &idFrom, const OdDbEvalNodeId &idTo, bool invertible)
GLsizei const GLfloat * value
bool DAI_EXPORT operator==(const OdFileDescriptionAuto &left, const OdFileDescriptionAuto &right)
static OdDbEvalGraphPtr getGraph(const OdDbObject *pObj, const OdString &pKey, const OdDb::OpenMode openMode=OdDb::kForRead)
virtual ~OdDbEvalConnectable()
virtual bool equals(const OdDbEvalExpr *pOther) const
virtual bool evaluate() const
virtual bool equals(const OdDbEvalGraph *pOther) const
virtual bool removeNode(OdDbEvalExpr *pNode)
static bool removeGraph(OdDbDatabase *pDb, const OdString &key)
void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler) ODRX_OVERRIDE
virtual bool evaluate(const OdDbEvalContext *pContext) const
virtual OdDbEvalContextIteratorPtr newIterator() const
virtual bool activate(const OdDbEvalNodeIdArray &activatedNodes, OdDbEvalNodeIdArray *pActiveSubgraph, OdDbEvalNodeIdArray *pCycleNodes) const
ODDB_DECLARE_MEMBERS(OdDbEvalExpr)
virtual ~OdDbEvalContext()
OdArray< OdDbEvalNodeId, OdMemoryAllocator< OdDbEvalNodeId > > OdDbEvalNodeIdArray