Diana  0.8.3
Public Member Functions | Friends
IDianaArrayRealParameterSpec Class Reference

#include <IDianaParameter.hpp>

Inheritance diagram for IDianaArrayRealParameterSpec:
ICapeParameterSpec ICapeIdentification DianaArrayRealParameterSpec

List of all members.

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)

Detailed Description

Array of real parameter specification. Specification defines options list and default value.


Member Function Documentation

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.

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.

Parameters:
valuethe value of the parameter to validate
messagemessage conveying information regarding the validation

Implemented in DianaArrayRealParameterSpec.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const IDianaArrayRealParameterSpec pspec 
) [friend]

ostream output operator for the ICapeOptionParameterSpec class.


The documentation for this class was generated from the following file: