summaryrefslogtreecommitdiff
path: root/src/ExprIntrp/ExprIntrp_GenFct.cxx
blob: d70fef9aa48687051a860e324a3c96a32cd51f06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//static const char* sccsid = "@(#)ExprIntrp_GenFct.cxx	3.2 95/01/10"; // Do not delete this line. Used by sccs.
// Copyright: 	Matra-Datavision 1992
// File:	ExprIntrp_GenFct.cxx
// Created:	Tue Aug 18 11:11:32 1992
// Author:	Arnaud BOUZY
//		<adn>

#include <ExprIntrp_GenFct.ixx>
#include <ExprIntrp.hxx>
#include <ExprIntrp_yaccanal.hxx>

ExprIntrp_GenFct::ExprIntrp_GenFct ()
{
  done = Standard_False;
}

Handle( ExprIntrp_GenFct ) ExprIntrp_GenFct::Create()
{
  return new ExprIntrp_GenFct();
}

void ExprIntrp_GenFct::Process (const TCollection_AsciiString& str)
{
  Handle(ExprIntrp_GenFct) me = this;
  done = ExprIntrp::Parse(me,str);
}
 
Standard_Boolean ExprIntrp_GenFct::IsDone() const
{
  return done;
}