Diana
0.8.3
|
#include <IDianaParameter.hpp>
Public Member Functions | |
virtual Diana::DianaArray | DefaultValue () const =0 throw (Common::Error::ECapeUnknown) |
virtual Diana::DianaArray | LowerBound () const =0 throw (Common::Error::ECapeUnknown) |
virtual Diana::DianaArray | UpperBound () const =0 throw (Common::Error::ECapeUnknown) |
virtual Common::Types::CapeBoolean | Validate (Diana::DianaArray value, Common::Types::CapeString &message)=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeNoImpl) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const IDianaArrayRealParameterSpec &pspec) |
Array of real parameter specification. Specification defines options list and default value.
virtual Diana::DianaArray DefaultValue | ( | ) | const throw (Common::Error::ECapeUnknown) [pure virtual] |
Gets the default value of the real valued parameter for which this is the specification.
Implemented in DianaArrayRealParameterSpec.
virtual Diana::DianaArray LowerBound | ( | ) | const throw (Common::Error::ECapeUnknown) [pure virtual] |
Gets the lower bound of the real valued parameter for which this is the specification.
Implemented in DianaArrayRealParameterSpec.
virtual Diana::DianaArray UpperBound | ( | ) | const throw (Common::Error::ECapeUnknown) [pure virtual] |
Gets the upper bound of the real valued parameter for which this is the specification.
Implemented in DianaArrayRealParameterSpec.
virtual Common::Types::CapeBoolean Validate | ( | Diana::DianaArray | value, |
Common::Types::CapeString & | message | ||
) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeNoImpl) [pure virtual] |
Validates a real value against its specification. It returns a flag to indicate the success or failure of the validation together with a text message which can be used to convey the reasoning to the client/user. The flag is True for success and False for failure. Currently not implemented.
value | the value of the parameter to validate |
message | message conveying information regarding the validation |
Implemented in DianaArrayRealParameterSpec.
std::ostream& operator<< | ( | std::ostream & | os, |
const IDianaArrayRealParameterSpec & | pspec | ||
) | [friend] |
ostream output operator for the ICapeOptionParameterSpec class.