Parser and evaluator for CIntSwissKnife.
More...
#include <Int64MathParser.h>
|
typedef char *(* | MultiArgFunc) (int paramcnt, int64_t *args, CStrMap *strparams, int64_t *result) |
|
typedef int64_t(* | OneArgFunc) (int64_t arg) |
|
typedef struct GENAPI_NAMESPACE::CInt64MathParser::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
} |
|
typedef int(* | PrmSrchFunc) (const char *str, size_t len, int64_t *value, void *param) |
|
Parser and evaluator for CIntSwissKnife.
Definition at line 54 of file Int64MathParser.h.
typedef char*( * GENAPI_NAMESPACE::CInt64MathParser::MultiArgFunc) (int paramcnt, int64_t *args, CStrMap *strparams, int64_t *result) |
|
private |
typedef int64_t( * GENAPI_NAMESPACE::CInt64MathParser::OneArgFunc) (int64_t arg) |
|
private |
typedef int( * GENAPI_NAMESPACE::CInt64MathParser::PrmSrchFunc) (const char *str, size_t len, int64_t *value, void *param) |
|
private |
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 61 of file Int64MathParser.h.
GENAPI_NAMESPACE::CInt64MathParser::CInt64MathParser |
( |
void |
| ) |
|
GENAPI_NAMESPACE::CInt64MathParser::~CInt64MathParser |
( |
| ) |
|
const char* GENAPI_NAMESPACE::CInt64MathParser::Calc |
( |
| ) |
|
|
private |
const char* GENAPI_NAMESPACE::CInt64MathParser::CalcToObr |
( |
| ) |
|
|
private |
const char* GENAPI_NAMESPACE::CInt64MathParser::Eval |
( |
int64_t * |
result | ) |
|
const char* GENAPI_NAMESPACE::CInt64MathParser::Parse |
( |
const char * |
Formula, |
|
|
bool |
ConvertUpperCase |
|
) |
| |
const char* GENAPI_NAMESPACE::CInt64MathParser::ParseFormula |
( |
bool |
ConvertUpperCase | ) |
|
|
private |
const char* GENAPI_NAMESPACE::CInt64MathParser::PrepareFormula |
( |
| ) |
|
|
private |
const Operation GENAPI_NAMESPACE::CInt64MathParser::BrOp |
|
staticprivate |
const Operation GENAPI_NAMESPACE::CInt64MathParser::CbrOp |
|
staticprivate |
const Operation GENAPI_NAMESPACE::CInt64MathParser::CommaOp |
|
staticprivate |
std::vector<char> GENAPI_NAMESPACE::CInt64MathParser::errbuf |
|
private |
CStrMap* GENAPI_NAMESPACE::CInt64MathParser::ExtFunctions |
const Operation GENAPI_NAMESPACE::CInt64MathParser::ItvOp |
|
staticprivate |
CSymTable GENAPI_NAMESPACE::CInt64MathParser::MathSymTable |
|
staticprivate |
PrmSrchFunc GENAPI_NAMESPACE::CInt64MathParser::MoreParams |
const Operation GENAPI_NAMESPACE::CInt64MathParser::NegOp |
|
staticprivate |
int GENAPI_NAMESPACE::CInt64MathParser::ObrDist |
|
private |
const signed char GENAPI_NAMESPACE::CInt64MathParser::OpPriorities[OP_FUNC_MULTIARG+1] |
|
staticprivate |
std::vector<Operation> GENAPI_NAMESPACE::CInt64MathParser::OpStack |
|
private |
std::vector<Operation> GENAPI_NAMESPACE::CInt64MathParser::OpStackEval |
|
private |
int GENAPI_NAMESPACE::CInt64MathParser::OpTop |
|
private |
CStrMap* GENAPI_NAMESPACE::CInt64MathParser::Parameters |
void* GENAPI_NAMESPACE::CInt64MathParser::ParamFuncParam |
std::vector<int64_t> GENAPI_NAMESPACE::CInt64MathParser::ValStack |
|
private |
std::vector<int64_t> GENAPI_NAMESPACE::CInt64MathParser::ValStackEval |
|
private |
int GENAPI_NAMESPACE::CInt64MathParser::ValTop |
|
private |
CStrMap* GENAPI_NAMESPACE::CInt64MathParser::VarParams |
|
private |
The documentation for this class was generated from the following file: