Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
izonedata.h
Go to the documentation of this file.
1 #pragma once
2 // izonedata.h
3 
4 #include "module/interface/idata.h"
5 
11 namespace block
12 {
13 #ifdef _WIN32
14  class IData;
15 #endif
16  class IZoneThing;
17 
25  class IZoneData
26  {
27  public:
28 
30  virtual const QObject *getQObject() const=0;
32  virtual QObject * getQObject()=0;
33  virtual const itascaxd::IData * getIData() const=0;
34  virtual itascaxd::IData * getIData()=0;
35 
37  virtual QString getProperty() const=0;
39  virtual bool getPropertyActive() const=0;
41  virtual QStringList getPropertiesAvailable() const=0;
43  virtual double getData(const IZoneThing *z) const=0;
46  virtual QList<uint> getInterestedIn() const=0;
48  virtual void destroy()=0;
49 
52  virtual void setProperty(const QString &s)=0;
53 
54  // signals
56  virtual void propertyChanged(const QString &s)=0;
57  virtual void propertyActiveChanged(bool active)=0;
58  virtual void propertiesAvailableChanged(const QStringList &s)=0;
59  };
60 } // namespace block
61 // EoF
virtual void propertyChanged(const QString &s)=0
This SIGNAL is sent when the property name changes, used when retrieving zone properties.
This is the interface for ZoneThing, a class that holds extra data not in the fortran arrays....
Definition: izonething.h:30
virtual QList< uint > getInterestedIn() const =0
virtual bool getPropertyActive() const =0
Returns TRUE if the current data index is a Zone Property.
virtual QString getProperty() const =0
Returns the name of the property value being retrieved if the current data is Zone Property.
virtual QStringList getPropertiesAvailable() const =0
Returns list of available properties.
Definition: idata.h:16
virtual void destroy()=0
Destroys this object safely across interface boundaries.
virtual double getData(const IZoneThing *z) const =0
Retrieves scalar data from the zone, depending on the current index and property data.
Access to zone scalar data in a generic way. This class maintains a list of scalar data (sxx,...
Definition: izonedata.h:25
virtual void setProperty(const QString &s)=0
virtual const QObject * getQObject() const =0
Returns a pointer const to a QObject representing this object.