// 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_Analysis_HeaderFile
#define _ExprIntrp_Analysis_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <ExprIntrp_StackOfGeneralExpression.hxx>
#include <ExprIntrp_StackOfGeneralRelation.hxx>
#include <ExprIntrp_StackOfGeneralFunction.hxx>
#include <TColStd_ListOfAsciiString.hxx>
#include <TColStd_ListOfInteger.hxx>
#include <ExprIntrp_SequenceOfNamedFunction.hxx>
#include <ExprIntrp_SequenceOfNamedExpression.hxx>
#include <Handle_ExprIntrp_Generator.hxx>
#include <Handle_Expr_GeneralExpression.hxx>
#include <Handle_Expr_GeneralRelation.hxx>
#include <Standard_Integer.hxx>
#include <Handle_Expr_GeneralFunction.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_Expr_NamedFunction.hxx>
#include <Handle_Expr_NamedExpression.hxx>
class ExprIntrp_Generator;
class Expr_GeneralExpression;
class Expr_GeneralRelation;
class TCollection_AsciiString;
class Expr_GeneralFunction;
class Expr_NamedFunction;
class Expr_NamedExpression;



class ExprIntrp_Analysis 
{
public:

  DEFINE_STANDARD_ALLOC

  
  Standard_EXPORT ExprIntrp_Analysis();
  
  Standard_EXPORT   void SetMaster (const Handle(ExprIntrp_Generator)& agen) ;
  
  Standard_EXPORT   void Push (const Handle(Expr_GeneralExpression)& exp) ;
  
  Standard_EXPORT   void PushRelation (const Handle(Expr_GeneralRelation)& rel) ;
  
  Standard_EXPORT   void PushName (const TCollection_AsciiString& name) ;
  
  Standard_EXPORT   void PushValue (const Standard_Integer degree) ;
  
  Standard_EXPORT   void PushFunction (const Handle(Expr_GeneralFunction)& func) ;
  
  Standard_EXPORT   Handle(Expr_GeneralExpression) Pop() ;
  
  Standard_EXPORT   Handle(Expr_GeneralRelation) PopRelation() ;
  
  Standard_EXPORT   TCollection_AsciiString PopName() ;
  
  Standard_EXPORT   Standard_Integer PopValue() ;
  
  Standard_EXPORT   Handle(Expr_GeneralFunction) PopFunction() ;
  
  Standard_EXPORT   Standard_Boolean IsExpStackEmpty()  const;
  
  Standard_EXPORT   Standard_Boolean IsRelStackEmpty()  const;
  
  Standard_EXPORT   void ResetAll() ;
  
  Standard_EXPORT   void Use (const Handle(Expr_NamedFunction)& func) ;
  
  Standard_EXPORT   void Use (const Handle(Expr_NamedExpression)& named) ;
  
  Standard_EXPORT   Handle(Expr_NamedExpression) GetNamed (const TCollection_AsciiString& name) ;
  
  Standard_EXPORT   Handle(Expr_NamedFunction) GetFunction (const TCollection_AsciiString& name) ;




protected:





private:



  ExprIntrp_StackOfGeneralExpression myGEStack;
  ExprIntrp_StackOfGeneralRelation myGRStack;
  ExprIntrp_StackOfGeneralFunction myGFStack;
  TColStd_ListOfAsciiString myNameStack;
  TColStd_ListOfInteger myValueStack;
  ExprIntrp_SequenceOfNamedFunction myFunctions;
  ExprIntrp_SequenceOfNamedExpression myNamed;
  Handle(ExprIntrp_Generator) myMaster;


};







#endif // _ExprIntrp_Analysis_HeaderFile
