#include <Arithmetic.hh>
| numeric::expression_parser::ArithmeticScanner::~ArithmeticScanner |
( |
| ) |
|
|
virtual |
Automatically generated virtual destructor for class deriving directly from ReferenceCount.
Auto-generated virtual destructor
| numeric::expression_parser::ArithmeticScanner::ArithmeticScanner |
( |
| ) |
|
| numeric::expression_parser::ArithmeticScanner::ArithmeticScanner |
( |
bool |
| ) |
|
Constructor which does not add the "standard" set of min, max and sqrt functions.
| void numeric::expression_parser::ArithmeticScanner::add_function |
( |
std::string const & |
name, |
|
|
numeric::Size |
nargs |
|
) |
| |
| void numeric::expression_parser::ArithmeticScanner::add_standard_functions |
( |
| ) |
|
| void numeric::expression_parser::ArithmeticScanner::add_variable |
( |
std::string const & |
name | ) |
|
| void numeric::expression_parser::ArithmeticScanner::log_error |
( |
| ) |
const |
|
private |
| TokenSetOP numeric::expression_parser::ArithmeticScanner::scan |
( |
std::string const & |
input_string | ) |
|
References numeric::expression_parser::COMMA, numeric::expression_parser::DIVIDE_SYMBOL, numeric::expression_parser::is_letter(), numeric::expression_parser::is_numeral(), numeric::expression_parser::LEFT_PAREN, numeric::expression_parser::MULTIPLY_SYMBOL, numeric::expression_parser::PLUS_SYMBOL, numeric::expression_parser::RIGHT_PAREN, scan_identifier(), scan_literal(), numeric::expression_parser::SUBTRACT_SYMBOL, utility::to_string(), and utility_exit_with_message.
Referenced by numeric::expression_parser::parse_string_to_boolean_expression(), and numeric::expression_parser::parse_string_to_expression().
| TokenOP numeric::expression_parser::ArithmeticScanner::scan_identifier |
( |
std::string const & |
input_string | ) |
const |
|
private |
| LiteralTokenOP numeric::expression_parser::ArithmeticScanner::scan_literal |
( |
std::string const & |
input_string | ) |
const |
|
private |
| std::map< std::string, numeric::Size > numeric::expression_parser::ArithmeticScanner::functions_ |
|
private |
| std::map< std::string, numeric::Size > numeric::expression_parser::ArithmeticScanner::variables_ |
|
private |
The documentation for this class was generated from the following files: