Diana
0.8.3
|
#include <CapeParameter.hpp>
Public Member Functions | |
virtual CapeParamType | Type () const =0 throw (Common::Error::ECapeUnknown) |
virtual Common::Types::CapeVariant | Dimensionality () const =0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeNoImpl) |
Base class for the parameter specification. Defines type and unit dimension of the parameter.
virtual Common::Types::CapeVariant Dimensionality | ( | ) | const throw (Common::Error::ECapeUnknown, Common::Error::ECapeNoImpl) [pure virtual] |
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).
Implemented in DianaArrayStringParameterSpec, DianaArrayRealParameterSpec, DianaArrayParameterSpec, DianaOptionParameterSpec, DianaPointerParameterSpec, DianaBooleanParameterSpec, DianaIntegerParameterSpec, and DianaRealParameterSpec.
virtual CapeParamType Type | ( | ) | const throw (Common::Error::ECapeUnknown) [pure virtual] |
Gets the type of the parameter for which this is a specification: real (CAPE_REAL), integer(CAPE_INT), option(CAPE_OPTION), boolean(CAPE_BOOLEAN) or array(CAPE_ARRAY)
Implemented in DianaArrayStringParameterSpec, DianaArrayRealParameterSpec, DianaArrayParameterSpec, DianaOptionParameterSpec, DianaPointerParameterSpec, DianaBooleanParameterSpec, DianaIntegerParameterSpec, and DianaRealParameterSpec.