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.
◆ Operation
◆ OperType_t
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.
◆ CMathParser()
GENAPI_NAMESPACE::CMathParser::CMathParser |
( |
void |
| ) |
|
◆ ~CMathParser()
GENAPI_NAMESPACE::CMathParser::~CMathParser |
( |
| ) |
|
◆ Calc()
const char* GENAPI_NAMESPACE::CMathParser::Calc |
( |
| ) |
|
|
private |
◆ CalcToObr()
const char* GENAPI_NAMESPACE::CMathParser::CalcToObr |
( |
| ) |
|
|
private |
◆ Eval()
const char* GENAPI_NAMESPACE::CMathParser::Eval |
( |
double * |
result | ) |
|
◆ Parse()
const char* GENAPI_NAMESPACE::CMathParser::Parse |
( |
const char * |
Formula, |
|
|
bool |
ConvertUpperCase |
|
) |
| |
◆ ParseFormula()
const char* GENAPI_NAMESPACE::CMathParser::ParseFormula |
( |
bool |
ConvertUpperCase | ) |
|
|
private |
◆ PrepareFormula()
const char* GENAPI_NAMESPACE::CMathParser::PrepareFormula |
( |
| ) |
|
|
private |
◆ BrOp
const Operation GENAPI_NAMESPACE::CMathParser::BrOp |
|
staticprivate |
◆ CbrOp
const Operation GENAPI_NAMESPACE::CMathParser::CbrOp |
|
staticprivate |
◆ CommaOp
const Operation GENAPI_NAMESPACE::CMathParser::CommaOp |
|
staticprivate |
◆ DoubleFunctions
◆ errbuf
std::vector<char> GENAPI_NAMESPACE::CMathParser::errbuf |
|
private |
◆ ExtFunctions
CStrMap* GENAPI_NAMESPACE::CMathParser::ExtFunctions |
◆ ItvOp
const Operation GENAPI_NAMESPACE::CMathParser::ItvOp |
|
staticprivate |
◆ Lexer
CLexer GENAPI_NAMESPACE::CMathParser::Lexer |
|
private |
◆ MathSymTable
CSymTable GENAPI_NAMESPACE::CMathParser::MathSymTable |
|
staticprivate |
◆ MoreParams
◆ NegOp
const Operation GENAPI_NAMESPACE::CMathParser::NegOp |
|
staticprivate |
◆ ObrDist
int GENAPI_NAMESPACE::CMathParser::ObrDist |
|
private |
◆ OpPriorities
const signed char GENAPI_NAMESPACE::CMathParser::OpPriorities[OP_FUNC_MULTIARG+1] |
|
staticprivate |
◆ OpStack
std::vector<Operation> GENAPI_NAMESPACE::CMathParser::OpStack |
|
private |
◆ OpStackEval
std::vector<Operation> GENAPI_NAMESPACE::CMathParser::OpStackEval |
|
private |
◆ OpTop
int GENAPI_NAMESPACE::CMathParser::OpTop |
|
private |
◆ Parameters
CStrMap* GENAPI_NAMESPACE::CMathParser::Parameters |
◆ ParamFuncParam
void* GENAPI_NAMESPACE::CMathParser::ParamFuncParam |
◆ ValStack
std::vector<double> GENAPI_NAMESPACE::CMathParser::ValStack |
|
private |
◆ ValStackEval
std::vector<double> GENAPI_NAMESPACE::CMathParser::ValStackEval |
|
private |
◆ ValTop
int GENAPI_NAMESPACE::CMathParser::ValTop |
|
private |
◆ VarParams
CStrMap* GENAPI_NAMESPACE::CMathParser::VarParams |
|
private |
The documentation for this class was generated from the following file: