HydroCouple  1.0.0
Description of the HydroCouple Component-Based Model Coupling Interface Definitions
HydroCouple::IUnit Class Referenceabstract

IUnit interface, describing the physical unit of a IQuantity. More...

#include <hydrocouple.h>

Inheritance diagram for HydroCouple::IUnit:
Collaboration diagram for HydroCouple::IUnit:

Public Member Functions

virtual ~IUnit ()
 
virtual IUnitDimensionsdimensions () const =0
 Fundamental dimensions of the unit. More...
 
virtual double conversionFactorToSI () const =0
 Conversion factor to SI ('A' in: SI-value = A * quant-value + B) More...
 
virtual double offsetToSI () const =0
 OffSet to SI ('B' in: SI-value = A * quant-value + B). More...
 
- Public Member Functions inherited from HydroCouple::IDescription
virtual ~IDescription ()
 
virtual QString caption () const =0
 Gets caption for the entity. More...
 
virtual void setCaption (const QString &caption)=0
 Sets caption for the entity. More...
 
virtual QString description () const =0
 Gets additional descriptive information for the entity. More...
 
virtual void setDescription (const QString &description)=0
 Gets additional descriptive information for the entity. More...
 
- Public Member Functions inherited from HydroCouple::IPropertyChanged
virtual ~IPropertyChanged ()
 

Additional Inherited Members

- Signals inherited from HydroCouple::IPropertyChanged
virtual void propertyChanged (const QString &propertyName)=0
 IPropertyChanged::propertyChanged() is called to emit signal/event when property of child class changes. More...
 

Detailed Description

IUnit interface, describing the physical unit of a IQuantity.

Constructor & Destructor Documentation

virtual HydroCouple::IUnit::~IUnit ( )
inlinevirtual

Member Function Documentation

virtual double HydroCouple::IUnit::conversionFactorToSI ( ) const
pure virtual

Conversion factor to SI ('A' in: SI-value = A * quant-value + B)

virtual IUnitDimensions* HydroCouple::IUnit::dimensions ( ) const
pure virtual

Fundamental dimensions of the unit.

virtual double HydroCouple::IUnit::offsetToSI ( ) const
pure virtual

OffSet to SI ('B' in: SI-value = A * quant-value + B).


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