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

Qualitative data described items in terms of some quality or categorization that may be 'informal' or may use relatively ill-defined characteristics such as warmth and flavour. However, qualitative data can include well-defined aspects such as gender, nationality or commodity type. More...

#include <hydrocouple.h>

Inheritance diagram for HydroCouple::IQuality:
Collaboration diagram for HydroCouple::IQuality:

Public Member Functions

virtual ~IQuality ()
 
virtual QList< QVariant > categories () const =0
 
virtual bool isOrdered () const =0
 Checks if the IQuality is defined by an ordered set of ICategory or not. More...
 
- Public Member Functions inherited from HydroCouple::IValueDefinition
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

Qualitative data described items in terms of some quality or categorization that may be 'informal' or may use relatively ill-defined characteristics such as warmth and flavour. However, qualitative data can include well-defined aspects such as gender, nationality or commodity type.

Returns
An IQuality describes qualitative data, where a value is specified as one category within a number of predefined (possible) categories. These categories can be ordered or not.

For qualitative data the IComponentItem data exchanged between IComponents contains one of the possible ICategory instances per element in the IComponentItem involved.

Examples:

  • Colors:
    • red
    • green
    • blue
  • Land use:
    • nature
    • recreation
    • industry
    • infrastructure
  • Rating:
    • worse
    • same
    • better

Constructor & Destructor Documentation

virtual HydroCouple::IQuality::~IQuality ( )
inlinevirtual

Member Function Documentation

virtual QList<QVariant> HydroCouple::IQuality::categories ( ) const
pure virtual
Returns
A list of the possible ICategory allowed for this IQuality If the quality is not ordered the list contains the ICategory's in an unspecified order. When it is ordered the list contains the ICategory's in the same sequence.
virtual bool HydroCouple::IQuality::isOrdered ( ) const
pure virtual

Checks if the IQuality is defined by an ordered set of ICategory or not.


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