Diana
0.8.3
|
#include <CapeNLPData.hpp>
Public Member Functions | |
CapeMeasuredPoint (const Common::Types::CapeArrayLong &_indices) | |
CapeMeasuredPoint (CapeMeasuredData &_ExpDat) | |
void | SetTime (Common::Types::CapeDouble _time) |
Common::Types::CapeDouble | GetTime () const |
void | SetValue (Common::Types::CapeLong _idx, CapeMeasuredValue _value) throw (Common::Error::ECapeInvalidArgument) |
void | SetValueByIndex (Common::Types::CapeLong _idx, CapeMeasuredValue _value) throw (Common::Error::ECapeInvalidArgument) |
CapeMeasuredValue | GetValue (Common::Types::CapeLong _idx) const throw (Common::Error::ECapeInvalidArgument) |
CapeMeasuredValue | GetValueByIndex (Common::Types::CapeLong _idx) const throw (Common::Error::ECapeInvalidArgument) |
Private Attributes | |
const Common::Types::CapeArrayLong * | parrIndices |
Mapping array (array of indices) | |
Common::Types::CapeDouble | dblTime |
Time of measurements (sampling point) | |
CapeMeasuredValues | arrValues |
Measured values with variances. |
Represents obrerved meashuremets of state variables at smpling point in time.
CapeMeasuredPoint | ( | const Common::Types::CapeArrayLong & | _indices | ) |
Constructor of CapeMeasuredPoint class.
_indices | - reference to indices of measured model state variables. All indices have to be presetted before creating CapeMeasuredPoint's instance. |
CapeMeasuredPoint | ( | CapeMeasuredData & | _ExpDat | ) |
Constructor of CapeMeasuredPoint class.
_ExpDat | - set of experimental data for which this measured point must be created. |
Common::Types::CapeDouble GetTime | ( | ) | const [inline] |
Returns the value of time.
References CapeMeasuredPoint::dblTime.
CapeMeasuredValue GetValue | ( | Common::Types::CapeLong | _idx | ) | const throw (Common::Error::ECapeInvalidArgument) |
Returns the measured value
_idx | - index. |
CapeMeasuredValue GetValueByIndex | ( | Common::Types::CapeLong | _idx | ) | const throw (Common::Error::ECapeInvalidArgument) |
Returns the measured value by index in mapping array
_idx | - position of index in mapping array. |
void SetTime | ( | Common::Types::CapeDouble | _time | ) | [inline] |
Sets the value of time.
References CapeMeasuredPoint::dblTime.
void SetValue | ( | Common::Types::CapeLong | _idx, |
CapeMeasuredValue | _value | ||
) | throw (Common::Error::ECapeInvalidArgument) |
Sets the measured value.
_idx | - index |
_value | - measured value. |
void SetValueByIndex | ( | Common::Types::CapeLong | _idx, |
CapeMeasuredValue | _value | ||
) | throw (Common::Error::ECapeInvalidArgument) |
Sets the measured value by index in mapping array.
_idx | - position of index in mapping array |
_value | - measured value. |