// 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

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_ExprIntrp_GenRel.hxx>

#include <Standard_Boolean.hxx>
#include <Handle_Expr_GeneralRelation.hxx>
#include <ExprIntrp_Generator.hxx>
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;


};







#endif // _ExprIntrp_GenRel_HeaderFile
