Salome HOME
refs #493: draft implementation of data model part of profiles interpolation
[modules/hydro.git] / src / HYDROData / HYDROData_Document.h
index 2a53899df0faef5699bf49ab57e937771703ee01..bfe81778a026093ea6dbdb4f94d9fee6efa10257 100644 (file)
@@ -28,6 +28,8 @@
 
 #include <TDocStd_Document.hxx>
 
+class HYDROData_InterpolatorsFactory;
+
 class QFile;
 class gp_Pnt2d;
 class gp_Pnt;
@@ -208,6 +210,11 @@ public:
     const QStringList& theNames, 
     const ObjectKind   theObjectKind = KIND_UNKNOWN ) const;
 
+public:
+  
+  //! Returns interpolator factory instance
+  HYDROData_InterpolatorsFactory* GetInterpolatorsFactory();
+
 protected:
 
   friend class HYDROData_Iterator;
@@ -245,6 +252,8 @@ private:
   Handle(TDocStd_Document) myDoc; ///< OCAF document instance corresponding for keeping all persistent data
   int myTransactionsAfterSave; ///< number of transactions after the last "save" call, used for "IsModified" method
   double myLX, myLY;
+
+  HYDROData_InterpolatorsFactory* myInterpolatorsFactory; ///< iterpolators factory
 };
 
 #endif