OEQBase

class OEQBase

This class represents OEQBase.

The OEQBase is the abstract class which defines the API for storage and retrieval of expressions used in graph matching operations.

The following classes derive from this class:

GetExpr

const OEExprBase *GetExpr() const =0
      OEExprBase *GetExpr()       =0

This pure virtual method defines the interface for retrieving a stored expressions from a OEQBase parent class instance. If no expression was stored previously a NULL pointer may be returned. The pointer returned from this method should therefore be checked before use.

SetExpr

bool SetExpr(const OEExprBase *)=0
bool SetExpr(const OEExprBase &)=0

This pure virtual method defines the interface for storage of an expression. The parent class instance takes ownership of the memory associated with the expression pointer. Any existing expressions stored in the parent instance will be destroyed. Stored expressions are destroyed along with their parent OEQBase object.