Diana  0.8.3
Public Member Functions | Protected Attributes
DianaArrayRealParameterSpec Class Reference

#include <DianaParameter.hpp>

Inheritance diagram for DianaArrayRealParameterSpec:
IDianaArrayRealParameterSpec ICapeParameterSpec ICapeIdentification

List of all members.

Public Member Functions

 DianaArrayRealParameterSpec (const Common::Types::CapeString &name, const Common::Types::CapeString &description=Common::Types::CapeStringUNDEFINED, Diana::DianaArray _defaultValue=Diana::DianaArray(), Diana::DianaArray _lowerBound=Diana::DianaArray(), Diana::DianaArray _upperBound=Diana::DianaArray())
Common::Identification::ICapeIdentificationclone () throw (Common::Error::ECapeUnknown, Common::Error::ECapeNoImpl)
const Common::Types::CapeStringGetComponentName () const throw (Common::Error::ECapeUnknown)
void SetComponentName (const Common::Types::CapeString &_name) throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument)
const Common::Types::CapeStringGetComponentDescription () const throw (Common::Error::ECapeUnknown)
void SetComponentDescription (const Common::Types::CapeString &_description) throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument)
Common::Parameter::CapeParamType Type () const throw (Common::Error::ECapeUnknown)
Common::Types::CapeVariant Dimensionality () const throw (Common::Error::ECapeUnknown, Common::Error::ECapeNoImpl)
Diana::DianaArray DefaultValue () const throw (Common::Error::ECapeUnknown)
void setDefaultValue (const Diana::DianaArray &_val)
Diana::DianaArray LowerBound () const throw (Common::Error::ECapeUnknown)
void setLowerBound (const Diana::DianaArray &lb)
Diana::DianaArray UpperBound () const throw (Common::Error::ECapeUnknown)
void setUpperBound (const Diana::DianaArray &ub)
Common::Types::CapeBoolean Validate (Diana::DianaArray value, Common::Types::CapeString &message) throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeNoImpl)

Protected Attributes

Common::Types::CapeString name
 specification name
Common::Types::CapeString description
 specification description
Diana::DianaArray defaultValue
 parameter default value
Diana::DianaArray lowerBound
 parameter lower bound
Diana::DianaArray upperBound
 parameter upper bound

Detailed Description

Diana realization of the ICapeRealParameterSpec interface.


Constructor & Destructor Documentation

Constructor.


Member Function Documentation

Creates a new copy in the memory of the DianaRealParameterSpec object.

Reimplemented from ICapeIdentification.

Gets the default value of the real valued parameter for which this is the specification.

Implements IDianaArrayRealParameterSpec.

Gets the dimensionality of the parameter for which this is the specification. The dimensionality represents the physical dimensional axes of this parameter. It is expected that the dimensionality must cover at least 6 fundamental axes (length, mass, time, angle, temperature and charge).

Implements ICapeParameterSpec.

gets the description of the component.

Implements ICapeIdentification.

gets the name of the component.

Implements ICapeIdentification.

Gets the lower bound of the real valued parameter for which this is the specification.

Implements IDianaArrayRealParameterSpec.

sets the description of the component.

Parameters:
_descriptionthe description of the component

Implements ICapeIdentification.

sets the name of the component.

Parameters:
_namethe name of the component

Implements ICapeIdentification.

void setDefaultValue ( const Diana::DianaArray _val)

set the default Value, this is not CAPE

void setLowerBound ( const Diana::DianaArray lb)

set the lower Bound, this is not CAPE

void setUpperBound ( const Diana::DianaArray ub)

set the lower Bound, this is not CAPE

Returns real type (CAPE_REAL).

Implements ICapeParameterSpec.

Gets the upper bound of the real valued parameter for which this is the specification.

Implements IDianaArrayRealParameterSpec.

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

Implements IDianaArrayRealParameterSpec.


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