// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _ExprIntrp_GenRel_HeaderFile #define _ExprIntrp_GenRel_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_ExprIntrp_GenRel_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_Expr_GeneralRelation_HeaderFile #include #endif #ifndef _ExprIntrp_Generator_HeaderFile #include #endif class Expr_GeneralRelation; class Standard_NoSuchObject; class TCollection_AsciiString; //! Implements an interpreter for equations or system
//! of equations made of expressions of package Expr.
class ExprIntrp_GenRel : public ExprIntrp_Generator { public: Standard_EXPORT static Handle_ExprIntrp_GenRel Create() ; //! Processes given string.
Standard_EXPORT void Process(const TCollection_AsciiString& str) ; //! Returns false if any syntax error has occurred during
//! process.
Standard_EXPORT Standard_Boolean IsDone() const; //! Returns relation generated. Raises an exception if
//! IsDone answers false.
Standard_EXPORT Handle_Expr_GeneralRelation Relation() const; DEFINE_STANDARD_RTTI(ExprIntrp_GenRel) protected: private: //! Creates an empty generator
Standard_EXPORT ExprIntrp_GenRel(); Standard_Boolean done; Handle_Expr_GeneralRelation myRelation; }; // other Inline functions and methods (like "C++: function call" methods) #endif