Planeshift
FunctionParser_li Class Reference

#include <fparser.h>

Additional Inherited Members

- Public Types inherited from FunctionParserBase< long >
typedef long(* FunctionPtr) (const long *)
 
enum  ParseErrorType
 
typedef long value_type
 
- Public Member Functions inherited from FunctionParserBase< long >
bool AddConstant (const std::string &name, longvalue)
 
bool AddFunction (const std::string &name, FunctionPtr, unsigned paramsAmount)
 
bool AddFunction (const std::string &name, FunctionParserBase &)
 
bool AddFunctionWrapper (const std::string &name, const DerivedWrapper &, unsigned paramsAmount)
 
bool AddUnit (const std::string &name, longvalue)
 
const char * ErrorMsg () const
 
long Eval (const long *Vars)
 
int EvalError () const
 
void ForceDeepCopy ()
 
 FunctionParserBase ()
 
 FunctionParserBase (const FunctionParserBase &)
 
FunctionWrapper * GetFunctionWrapper (const std::string &name)
 
ParseErrorType GetParseErrorType () const
 
FunctionParserBaseoperator= (const FunctionParserBase &)
 
void Optimize ()
 
int Parse (const char *Function, const std::string &Vars, bool useDegrees=false)
 
int Parse (const std::string &Function, const std::string &Vars, bool useDegrees=false)
 
int ParseAndDeduceVariables (const std::string &function, int *amountOfVariablesFound=0, bool useDegrees=false)
 
int ParseAndDeduceVariables (const std::string &function, std::string &resultVarString, int *amountOfVariablesFound=0, bool useDegrees=false)
 
int ParseAndDeduceVariables (const std::string &function, std::vector< std::string > &resultVars, bool useDegrees=false)
 
bool RemoveIdentifier (const std::string &name)
 
void setDelimiterChar (char)
 
 ~FunctionParserBase ()
 
- Static Public Member Functions inherited from FunctionParserBase< long >
static long epsilon ()
 
static void setEpsilon (long)
 
- Protected Member Functions inherited from FunctionParserBase< long >
Data * getParserData ()
 
- Static Protected Member Functions inherited from FunctionParserBase< long >
static unsigned ParseIdentifier (const char *)
 
static std::pair< const char *, long > ParseLiteral (const char *)
 

Detailed Description

Definition at line 191 of file fparser.h.


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