awips2/nativeLib/rary.ohd.ofs/inc/MathExpr.h
2017-04-21 18:33:55 -06:00

38 lines
1.1 KiB
C++

//------------------------------------------------------------------------------
// MathExpr - class representing an the result of a two term mathematical
// expression.
//------------------------------------------------------------------------------
// Copyright: See the COPYRIGHT file.
//------------------------------------------------------------------------------
// Notes:
//
//------------------------------------------------------------------------------
// History:
//
// 07 Jun 2002 James R. VanShaar, Riverside Technology, inc
// Created initial version based on MinusExpr.h
//------------------------------------------------------------------------------
// Variables: I/O Description
//
//
//------------------------------------------------------------------------------
#ifndef MathExpr_INCLUDED
#define MathExpr_INCLUDED
#include "TwoOpExpr.h"
class MathExpr : public TwoOpExpr
{
public:
MathExpr( Expression*, char, Expression* );
Expression* copy();
double evaluate();
char* toString();
char _mathSymbol; // Mathematical symbol.
};
#endif