Class MEAL::Argument

class Argument : public Reference::Able

Pure virtual base class of function arguments.

The Argument class represents an independent variable of a function. The values taken by this variable are represented by Argument::Value instances. Nothing is known about the type of the variable, enabling Function classes to be developed with an arbitrary number of independent variables of arbitrary type.

Subclassed by MEAL::Axis< Type >

Public Functions

virtual ~Argument()

Destructor.

Public Static Attributes

static bool verbose

Verbosity flag.

class Value : public Reference::Able

The value of an argument.

Subclassed by MEAL::Axis< Type >::Value

Public Functions

virtual ~Value()

Destructor.

virtual void apply() const = 0

Apply the value of this Argument.

virtual std::string get_string() const = 0

Return a string representation of the value, if posssible.