Salome HOME
refs #561: the draft data model for Strickler table
[modules/hydro.git] / src / HYDROData / HYDROData_Document.h
index bfe81778a026093ea6dbdb4f94d9fee6efa10257..4c57cbc0a6378261374dd78186944c8ae105b709 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015  EDF-R&D
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
@@ -29,6 +25,7 @@
 #include <TDocStd_Document.hxx>
 
 class HYDROData_InterpolatorsFactory;
+class HYDROData_IProfilesInterpolator;
 
 class QFile;
 class gp_Pnt2d;
@@ -213,7 +210,13 @@ public:
 public:
   
   //! Returns interpolator factory instance
-  HYDROData_InterpolatorsFactory* GetInterpolatorsFactory();
+  HYDRODATA_EXPORT HYDROData_InterpolatorsFactory* GetInterpolatorsFactory();
+
+  //! Get the appropriate interpolator by the name.
+  HYDRODATA_EXPORT HYDROData_IProfilesInterpolator* GetInterpolator( const TCollection_AsciiString& theName ) const;
+
+  //! Get list of registered interpolator names.
+  HYDRODATA_EXPORT NCollection_Sequence<TCollection_AsciiString> GetInterpolatorNames() const;
 
 protected: