HydroCouple  2.0.0
HydroCouple 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 ()=0
 IUnit::~IUnit is a virtual destructor. More...
 
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 ()=0
 IDescription::~IDescription is a virtual destructor. More...
 
virtual string caption () const =0
 Gets caption for the entity. More...
 
virtual void setCaption (const string &caption)=0
 Sets caption for the entity. More...
 
virtual string description () const =0
 Gets additional descriptive information for the entity. More...
 
virtual void setDescription (const string &description)=0
 Gets additional descriptive information for the entity. More...
 
- Public Member Functions inherited from HydroCouple::IPropertyChanged
virtual ~IPropertyChanged ()=0
 IPropertyChanged::~IPropertyChanged is a virtual destructor. More...
 
virtual void registerPropertyChangedListener (const function< void(const any &, const string &)> &propertyChangedListener)=0
 IPropertyChanged::registerPropertyChangedListener() registers a listener to be called when a property of an object changes. More...
 
virtual void deRegisterPropertyChangedListener (const function< void(const any &, const string &propertyName)> &propertyChangedListener)=0
 IPropertyChanged::deRegisterPropertyChangedListener() deregisters a listener that is called when a property of an object changes. More...
 

Detailed Description

IUnit interface, describing the physical unit of a IQuantity.

Constructor & Destructor Documentation

◆ ~IUnit()

virtual HydroCouple::IUnit::~IUnit ( )
pure virtual

IUnit::~IUnit is a virtual destructor.

Member Function Documentation

◆ conversionFactorToSI()

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

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

◆ dimensions()

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

Fundamental dimensions of the unit.

◆ offsetToSI()

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: