Salome HOME
Tests for Bathymetry object.
[modules/hydro.git] / src / HYDROData / HYDROOperations_Factory.h
index 7ef2c0e044431291cc23785862ab242c13036f42..310280a7df1c8ab8fb81a2025615abb481a483d1 100644 (file)
@@ -44,15 +44,6 @@ public:
   HYDRODATA_EXPORT Handle(HYDROData_Image) CreateImage(
     Handle_HYDROData_Document theDoc, const ImageComposer_Operator* theOperator);
 
-  /**
-   * Updates an Image object in the data structure. If it is changed, 
-   * sets "MustBeUpdated" flag to other depended images.
-   * \param theDoc document of this image (needed to update other images flags)
-   * \param theImage the updated image
-   */
-  HYDRODATA_EXPORT void UpdateImage(
-    Handle_HYDROData_Document theDoc, Handle(HYDROData_Image) theImage);
-
   /**
    * Returns the operator, initialized by the properties of theImage
    * \param theImage data structures object, that contains all arguments 
@@ -63,23 +54,17 @@ public:
     Handle(HYDROData_Image) theImage) const;
  
 
-protected:
-
-  //! Not public constructor that creates only one, global instance of this factory.
-  HYDROOperations_Factory();
-
   /**
    * Returns the appropriate operator by the name
    * \param theName name of the operator, equals to the operation_name constructor
    * \returns NULL if operator with such name is not registered yet
    */
-  ImageComposer_Operator* Operator(const QString theName) const;
-  
-  /**
-   * Enables "MustBeUpdated" flag for Images that are depended on "MustBeUpdated" images.
-   * \param theDoc document where this operation is performed
-   */
-  void SetMustBeUpdatedImages(Handle_HYDROData_Document theDoc) const;
+  HYDRODATA_EXPORT ImageComposer_Operator* Operator(const QString theName) const;
+
+protected:
+
+  //! Not public constructor that creates only one, global instance of this factory.
+  HYDROOperations_Factory();  
 
 private:
   //! Map that stores all operators, isentified by strings