Rosetta
2019.07
|
#include <Arithmetic.hh>
Public Member Functions | |
BooleanExpressionScanner () | |
Public Member Functions inherited from numeric::expression_parser::ArithmeticScanner | |
~ArithmeticScanner () override | |
Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
ArithmeticScanner () | |
Constructor which adds the "standard" set of min, max and sqrt functions. More... | |
ArithmeticScanner (bool) | |
Constructor which does not add the "standard" set of min, max and sqrt functions. More... | |
void | add_standard_functions () |
Add the functions min, max and sqrt. More... | |
void | treat_AND_and_OR_as_operators (bool setting) |
void | add_variable (std::string const &name) |
void | add_function (std::string const &name, numeric::Size nargs) |
TokenSetOP | scan (std::string const &input_string) |
Public Member Functions inherited from utility::pointer::ReferenceCount | |
ReferenceCount () | |
Default constructor. More... | |
virtual | ~ReferenceCount () |
Additional Inherited Members | |
Public Types inherited from utility::pointer::ReferenceCount | |
typedef platform::Size | Size |
typedef platform::Size | size_type |
numeric::expression_parser::BooleanExpressionScanner::BooleanExpressionScanner | ( | ) |
Simply adds more functions in its constructor so that a mixture of boolean and arithmetic expressions may be scanned.
References numeric::expression_parser::ArithmeticScanner::add_function().