]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/HOMARD/HOMARD_DriverTools.hxx
Salome HOME
Porting HOMARD SALOME module on WIN32 platform.
[modules/homard.git] / src / HOMARD / HOMARD_DriverTools.hxx
index ba4a92abc347b8f2dc9bb9f621975d8d048c59be..8898e153ca44632eb47b2a549f1afa4d1d46a9fe 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef HOMARD_DRIVERTOOLS_H
 #define HOMARD_DRIVERTOOLS_H
 
+#include "HOMARD.hxx"
+
 #include <string>
 
 class HOMARD_Boundary;
@@ -39,36 +41,36 @@ namespace HOMARD
   typedef enum { Case, Zone, Hypothesis, Iteration, Boundary, YACS } SignatureType;
 
   //! get persistence signature
-  std::string GetSignature( SignatureType type );
+  HOMARDIMPL_EXPORT std::string GetSignature( SignatureType type );
 
   //! get data separator
-  std::string separator();
+  HOMARDIMPL_EXPORT std::string separator();
 
   //! dump boundary to the string
-  std::string Dump( const ::HOMARD_Boundary& boundary );
+  HOMARDIMPL_EXPORT std::string Dump( const ::HOMARD_Boundary& boundary );
   //! dump case to the string
-  std::string Dump( const ::HOMARD_Cas& cas );
+  HOMARDIMPL_EXPORT std::string Dump( const ::HOMARD_Cas& cas );
   //! dump iteration to the string
-  std::string Dump( const ::HOMARD_Iteration& iteration );
+  HOMARDIMPL_EXPORT std::string Dump( const ::HOMARD_Iteration& iteration );
   //! dump hypothesis to the string
-  std::string Dump( const ::HOMARD_Hypothesis& hypothesis );
+  HOMARDIMPL_EXPORT std::string Dump( const ::HOMARD_Hypothesis& hypothesis );
   //! dump zone to the string
-  std::string Dump( const ::HOMARD_Zone& zone );
+  HOMARDIMPL_EXPORT std::string Dump( const ::HOMARD_Zone& zone );
   //! dump yacs to the string
-  std::string Dump( const ::HOMARD_YACS& yacs );
+  HOMARDIMPL_EXPORT std::string Dump( const ::HOMARD_YACS& yacs );
 
   //! restore boundary from the string
-  bool Restore( ::HOMARD_Boundary& boundary, const std::string& stream );
+  HOMARDIMPL_EXPORT bool Restore( ::HOMARD_Boundary& boundary, const std::string& stream );
   //! restore case from the string
-  bool Restore( ::HOMARD_Cas& cas, const std::string& stream );
+  HOMARDIMPL_EXPORT bool Restore( ::HOMARD_Cas& cas, const std::string& stream );
   //! restore hypothesis from the string
-  bool Restore( ::HOMARD_Hypothesis& hypothesis, const std::string& stream );
+  HOMARDIMPL_EXPORT bool Restore( ::HOMARD_Hypothesis& hypothesis, const std::string& stream );
   //! restore iteration from the string
-  bool Restore( ::HOMARD_Iteration& iteration, const std::string& stream );
+  HOMARDIMPL_EXPORT bool Restore( ::HOMARD_Iteration& iteration, const std::string& stream );
   //! restore zone from the string
-  bool Restore( ::HOMARD_Zone& zone, const std::string& stream );
+  HOMARDIMPL_EXPORT bool Restore( ::HOMARD_Zone& zone, const std::string& stream );
   //! restore yacs from the string
-  bool Restore( ::HOMARD_YACS& yacs, const std::string& stream );
+  HOMARDIMPL_EXPORT bool Restore( ::HOMARD_YACS& yacs, const std::string& stream );
 };
 
 #endif // HOMARD_DRIVERTOOLS_H