Salome HOME
HYDROOperations: initial development and tests
[modules/hydro.git] / src / HYDROData / HYDROData_Image.h
index 38e48c19cb16816a1c1a183290b190dbba1b51c1..167d8b54767833d670de08c32ebe3f96804392c4 100644 (file)
@@ -85,6 +85,42 @@ public:
    */
   HYDRODATA_EXPORT void ClearReferences();
 
+  /**
+   * Stores the operator name
+   * \param theOpName name of the operator that must be executed for image update
+   */
+  HYDRODATA_EXPORT void SetOperatorName(const QString theOpName);
+
+  /**
+   * Returns the operator name
+   * \returns the name of the operator that must be executed for image update
+   */
+  HYDRODATA_EXPORT QString OperatorName();
+
+  /**
+   * Stores the operator arguments
+   * \param theArgs array that stores the operator arguments, needed for execution
+   */
+  HYDRODATA_EXPORT void SetArgs(const QByteArray& theArgs);
+
+  /**
+   * Returns the operator arguments
+   * \returns array that stores the operator arguments, needed for execution
+   */
+  HYDRODATA_EXPORT QByteArray Args();
+  
+  /**
+   * Sets the "MustBeUpdated" flag: if image is depended on updated features.
+   * \param theFlag is true for images that must be updated, false for up-to-date
+   */
+  HYDRODATA_EXPORT void MustBeUpdated(bool theFlag);
+
+  /**
+   * Returns the "MustBeUpdated" flag: is image must be recomputed or not
+   * \returns false if image is up to date
+   */
+  HYDRODATA_EXPORT bool MustBeUpdated();
+
 protected:
 
   friend class HYDROData_Iterator;