Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXExpression Class Reference

Expression. More...

#include <FXExpression.h>

List of all members.

Public Member Functions

 FXExpression ()
 Construct empty expression object.
 FXExpression (const FXExpression &orig)
 Copy expression object.
 FXExpression (const FXchar *expression, const FXchar *variables=NULL, FXExpressionError *error=NULL)
 Compile expression; if error is not NULL, error code is returned.
 FXExpression (const FXString &expression, const FXString &variables=FXString::null, FXExpressionError *error=NULL)
 Compile expression; if error is not NULL, error code is returned.
FXExpressionoperator= (const FXExpression &orig)
 Assign another expression to this one.
FXbool empty () const
 See if expression is empty.
FXdouble evaluate (const FXdouble *args=NULL)
 Evaluate expression with given arguments, if any.
FXExpressionError parse (const FXchar *expression, const FXchar *variables=NULL)
 Parse expression, return error code if syntax error is found.
FXExpressionError parse (const FXString &expression, const FXString &variables=FXString::null)
 Parse expression, return error code if syntax error is found.
 ~FXExpression ()
 Delete.

Static Public Member Functions

static const FXchar * getError (FXExpressionError err)
 Returns error code for given error.

Detailed Description

Expression.


The documentation for this class was generated from the following file:

Copyright © 1997-2011 Jeroen van der Zijp