35 #ifndef _FloatParser_H__ 36 #define _FloatParser_H__ 130 void setVariable(
const std::string& varname,
float value);
133 float parse_expr_1();
134 float parse_expr_2();
135 float parse_expr_3();
136 float parse_expr_4();
137 float parse_expr_5();
138 float parse_expr_6();
139 float parse_expr_7();
140 float parse_expr_8();
141 void parse_word(
char* str);
145 float parse_argument();
146 float parse_last_argument();
binary_operator op
Definition: ExprParser.h:148
#define _UtilExport
Definition: UtilPrereqs.h:60
float getResult()
Definition: ExprParser.h:127
Definition: ExprParser.h:119
Definition: ExprParser.h:118
::std::string string
Definition: gtest-port.h:756
_UtilExport bool parse_vector_float(char *const, char **, bool, float *)
Parser for expressions like "3 * cos(5 + 4) / a" where a is a predeclared variable.
Definition: ExprParser.h:93
bool failed_
Definition: ExprParser.h:150
Definition: ExprParser.h:103
std::string remains_
Definition: ExprParser.h:152
std::map< std::string, float > variables_
Definition: ExprParser.h:153
Definition: ExprParser.h:100
bool getSuccess()
Definition: ExprParser.h:128
Definition: ExprParser.h:99
Definition: ExprParser.h:112
Definition: ExprParser.h:104
Definition: ExprParser.h:98
Definition: ExprParser.h:110
float result_
Definition: ExprParser.h:151
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Shared library macros, enums, constants and forward declarations for the util library ...
const char * reading_stream
Definition: ExprParser.h:149
_UtilExport bool parse_float(char *const, char **, float *)
Definition: ExprParser.h:111
const std::string & getRemains()
Definition: ExprParser.h:126
Definition: ExprParser.h:107
Definition: ExprParser.h:101
Definition: ExprParser.h:109
Definition: ExprParser.h:108
binary_operator
Definition: ExprParser.h:96
Definition: ExprParser.h:106
unary_operator
Definition: ExprParser.h:116
Definition: ExprParser.h:105
Definition: ExprParser.h:102