|
| TextArgument (std::string name_="", bool does_test=true, bool does_error=true) |
|
| TextArgument (const TextArgument *arg) |
|
virtual int | type () const |
|
virtual Argument * | copy () const |
|
virtual std::string | print () const |
|
virtual bool | suggestsQuotes () const |
|
| Argument (std::string name_="", bool does_test=true, bool does_error=true) |
|
| Argument (const Argument *arg) |
|
virtual | ~Argument () |
|
virtual void | set (const Argument *arg) |
|
std::string | printlong () const |
|
bool | test (MathStructure &value, int index, MathFunction *f, const EvaluationOptions &eo=default_evaluation_options) const |
|
virtual MathStructure | parse (const std::string &str, const ParseOptions &po=default_parse_options) const |
|
virtual void | parse (MathStructure *mstruct, const std::string &str, const ParseOptions &po=default_parse_options) const |
|
std::string | name () const |
|
void | setName (std::string name_) |
|
void | setCustomCondition (std::string condition) |
|
std::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 | handlesVector () const |
|
void | setHandleVector (bool handle_vector) |
|
bool | isLastArgument () const |
|
void | setIsLastArgument (bool is_last) |
|
bool | rationalPolynomial () const |
|
void | setRationalPolynomial (bool rational_polynomial) |
|
A text argument.
Accepts text (symbolic) structures. Argument values are parsed as text, unless surrounded by back slashes (which are then removed). Surrounding Parentheses and first quotation marks are removed.