|
| NumberArgument (string name_="", ArgumentMinMaxPreDefinition minmax=ARGUMENT_MIN_MAX_NONE, bool does_test=true, bool does_error=true) |
|
| NumberArgument (const NumberArgument *arg) |
|
virtual void | set (const Argument *arg) |
|
virtual Argument * | copy () const |
|
virtual string | print () const |
|
void | setMin (const Number *nmin) |
|
void | setIncludeEqualsMin (bool include_equals) |
|
bool | includeEqualsMin () const |
|
const Number * | min () const |
|
void | setMax (const Number *nmax) |
|
void | setIncludeEqualsMax (bool include_equals) |
|
bool | includeEqualsMax () const |
|
const Number * | max () const |
|
bool | complexAllowed () const |
|
void | setComplexAllowed (bool allow_complex) |
|
bool | rationalNumber () const |
|
void | setRationalNumber (bool rational_number) |
|
virtual int | type () const |
|
| Argument (string name_="", bool does_test=true, bool does_error=true) |
|
| Argument (const Argument *arg) |
|
virtual | ~Argument () |
|
string | printlong () const |
|
bool | test (MathStructure &value, int index, MathFunction *f, const EvaluationOptions &eo=default_evaluation_options) const |
|
virtual MathStructure | parse (const string &str, const ParseOptions &po=default_parse_options) const |
|
virtual void | parse (MathStructure *mstruct, const string &str, const ParseOptions &po=default_parse_options) const |
|
string | name () const |
|
void | setName (string name_) |
|
void | setCustomCondition (string condition) |
|
string | getCustomCondition () const |
|
bool | tests () const |
|
void | setTests (bool does_error) |
|
bool | alerts () const |
|
void | setAlerts (bool does_error) |
|
bool | zeroForbidden () const |
|
void | setZeroForbidden (bool forbid_zero) |
|
bool | matrixAllowed () const |
|
void | setMatrixAllowed (bool allow_matrix) |
|
bool | rationalPolynomial () const |
|
void | setRationalPolynomial (bool rational_polynomial) |
|
virtual bool | suggestsQuotes () const |
|
A definition for numerical arguments.
These arguments allows numerical values. The value can be restricted to real or rational numbers (defaults to allow all numbers, including complex), and a max and/or min value.