Expression parser and evaluator of CSwissKnife.
More...
#include <MathParser.h>
|
typedef struct GENAPI_NAMESPACE::CMathParser::Operation | Operation |
|
enum | OperType_t {
OP_SHL,
OP_SHR,
OP_POW,
OP_LOGIC_NEQ,
OP_LOGIC_GEQ,
OP_LOGIC_LEQ,
OP_LOGIC_AND,
OP_LOGIC_OR,
OP_COMSTART,
OP_ASSIGN,
OP_OBR,
OP_ADD,
OP_SUB,
OP_MUL,
OP_DIV,
OP_MOD,
OP_UNK,
OP_XOR,
OP_NOT,
OP_AND,
OP_OR,
OP_EQU,
OP_GREATER,
OP_LESS,
OP_LOGIC,
OP_LOGIC_SEP,
OP_CBR,
OP_COMMA,
OP_FORMULAEND,
OP_INDEX_TO_VAR,
OP_FUNC_ONEARG,
OP_FUNC_MULTIARG
} |
|
Expression parser and evaluator of CSwissKnife.
Definition at line 53 of file MathParser.h.
Enumerator |
---|
OP_SHL |
|
OP_SHR |
|
OP_POW |
|
OP_LOGIC_NEQ |
|
OP_LOGIC_GEQ |
|
OP_LOGIC_LEQ |
|
OP_LOGIC_AND |
|
OP_LOGIC_OR |
|
OP_COMSTART |
|
OP_ASSIGN |
|
OP_OBR |
|
OP_ADD |
|
OP_SUB |
|
OP_MUL |
|
OP_DIV |
|
OP_MOD |
|
OP_UNK |
|
OP_XOR |
|
OP_NOT |
|
OP_AND |
|
OP_OR |
|
OP_EQU |
|
OP_GREATER |
|
OP_LESS |
|
OP_LOGIC |
|
OP_LOGIC_SEP |
|
OP_CBR |
|
OP_COMMA |
|
OP_FORMULAEND |
|
OP_INDEX_TO_VAR |
|
OP_FUNC_ONEARG |
|
OP_FUNC_MULTIARG |
|
Definition at line 55 of file MathParser.h.
GENAPI_NAMESPACE::CMathParser::CMathParser |
( |
void |
| ) |
|
GENAPI_NAMESPACE::CMathParser::~CMathParser |
( |
| ) |
|
const char* GENAPI_NAMESPACE::CMathParser::Calc |
( |
| ) |
|
|
private |
const char* GENAPI_NAMESPACE::CMathParser::CalcToObr |
( |
| ) |
|
|
private |
const char* GENAPI_NAMESPACE::CMathParser::Eval |
( |
double * |
result | ) |
|
const char* GENAPI_NAMESPACE::CMathParser::Parse |
( |
const char * |
Formula, |
|
|
bool |
ConvertUpperCase |
|
) |
| |
const char* GENAPI_NAMESPACE::CMathParser::ParseFormula |
( |
bool |
ConvertUpperCase | ) |
|
|
private |
const char* GENAPI_NAMESPACE::CMathParser::PrepareFormula |
( |
| ) |
|
|
private |
const Operation GENAPI_NAMESPACE::CMathParser::BrOp |
|
staticprivate |
const Operation GENAPI_NAMESPACE::CMathParser::CbrOp |
|
staticprivate |
const Operation GENAPI_NAMESPACE::CMathParser::CommaOp |
|
staticprivate |
std::vector<char> GENAPI_NAMESPACE::CMathParser::errbuf |
|
private |
CStrMap* GENAPI_NAMESPACE::CMathParser::ExtFunctions |
const Operation GENAPI_NAMESPACE::CMathParser::ItvOp |
|
staticprivate |
CLexer GENAPI_NAMESPACE::CMathParser::Lexer |
|
private |
CSymTable GENAPI_NAMESPACE::CMathParser::MathSymTable |
|
staticprivate |
const Operation GENAPI_NAMESPACE::CMathParser::NegOp |
|
staticprivate |
int GENAPI_NAMESPACE::CMathParser::ObrDist |
|
private |
const signed char GENAPI_NAMESPACE::CMathParser::OpPriorities[OP_FUNC_MULTIARG+1] |
|
staticprivate |
std::vector<Operation> GENAPI_NAMESPACE::CMathParser::OpStack |
|
private |
std::vector<Operation> GENAPI_NAMESPACE::CMathParser::OpStackEval |
|
private |
int GENAPI_NAMESPACE::CMathParser::OpTop |
|
private |
CStrMap* GENAPI_NAMESPACE::CMathParser::Parameters |
void* GENAPI_NAMESPACE::CMathParser::ParamFuncParam |
std::vector<double> GENAPI_NAMESPACE::CMathParser::ValStack |
|
private |
std::vector<double> GENAPI_NAMESPACE::CMathParser::ValStackEval |
|
private |
int GENAPI_NAMESPACE::CMathParser::ValTop |
|
private |
CStrMap* GENAPI_NAMESPACE::CMathParser::VarParams |
|
private |
The documentation for this class was generated from the following file: