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

IValueDefinition describes a value returned by the getValues() function of IValueSet. More...

#include <hydrocouple.h>

Inheritance diagram for HydroCouple::IValueDefinition:
Collaboration diagram for HydroCouple::IValueDefinition:

Public Member Functions

virtual ~IValueDefinition ()
 ~IValueDefinition More...
 
virtual QVariant::Type type () const =0
 The object types of value that will be available and is returned by the GetValues function.IPropertyChanged. More...
 
virtual QVariant missingValue () const =0
 The value representing that data is missing. More...
 
virtual QVariant defaultValue () const =0
 Gets the default value of the argument. 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

IValueDefinition describes a value returned by the getValues() function of IValueSet.

This interface is not meant to be implemented directly. Instead, implement either IQuality or IQuantity or a custom derived vale definition interface.

Constructor & Destructor Documentation

virtual HydroCouple::IValueDefinition::~IValueDefinition ( )
inlinevirtual

~IValueDefinition

Member Function Documentation

virtual QVariant HydroCouple::IValueDefinition::defaultValue ( ) const
pure virtual

Gets the default value of the argument.

virtual QVariant HydroCouple::IValueDefinition::missingValue ( ) const
pure virtual

The value representing that data is missing.

virtual QVariant::Type HydroCouple::IValueDefinition::type ( ) const
pure virtual

The object types of value that will be available and is returned by the GetValues function.IPropertyChanged.

Returns
the value type associated with this IValueDefinition

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