Salome HOME
Tests for Bathymetry object.
[modules/hydro.git] / src / HYDROData / HYDROData_Object.h
index 0c733954882b59e7ca4e37e1de40f2398a595f47..7ea49e6b1c46daa92c2d930981e8e4854a031190 100644 (file)
@@ -8,6 +8,7 @@
 #include <QMap>
 
 class QString;
+class QVariant;
 class QStringList;
 
 ///! Kind of an object in a document
@@ -68,6 +69,18 @@ public:
    */
   HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
 
+  /**
+   * Updates object state.
+   * Base implementation dose nothing.
+   */
+  HYDRODATA_EXPORT virtual void Update();
+
+  /**
+   * Returns data of object wrapped to QVariant.
+   * Base implementation returns null value.
+   */
+  HYDRODATA_EXPORT virtual QVariant GetDataVariant();
+
   /**
    * Checks is object exists in the data structure.
    * \returns true is object is not exists in the data model