Diana
0.8.3
|
#include <IDianaParameter.hpp>
Public Member Functions | |
virtual const DianaArrayParameter & | ParametersArray () const =0 throw (Common::Error::ECapeUnknown) |
virtual Common::Types::CapeBoolean | Validate (const Diana::DianaArray &value, Common::Types::CapeString &message)=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeNoImpl) |
Friends | |
std::ostream & | operator<< (std::ostream &out_file, const IDianaArrayParameterSpec &pspec) |
Diana real array parameter specification. Specification defines boundaries and default value.
virtual const DianaArrayParameter& ParametersArray | ( | ) | const throw (Common::Error::ECapeUnknown) [pure virtual] |
Returns array of the parameters.
Implemented in DianaArrayParameterSpec.
virtual Common::Types::CapeBoolean Validate | ( | const 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 DianaArrayParameterSpec.
std::ostream& operator<< | ( | std::ostream & | out_file, |
const IDianaArrayParameterSpec & | pspec | ||
) | [friend] |
ostream output operator for the IDianaArrayParameterSpec class.