Salome HOME
#24666 [CEA][Windows] BLSURPLUGIN compilation issue
authorrnv <rnv@opencascade.com>
Thu, 29 Jul 2021 11:35:26 +0000 (14:35 +0300)
committerrnv <rnv@opencascade.com>
Thu, 29 Jul 2021 11:35:26 +0000 (14:35 +0300)
src/SMESHDS/SMESHDS_Hypothesis.cxx
src/SMESHDS/SMESHDS_Hypothesis.hxx

index 38482c2a25dd153aaeebd1a78bad836a6174e453..712ab920dc2929cc2da58a247913f4b10bcbf807 100644 (file)
@@ -121,7 +121,7 @@ bool SMESHDS_Hypothesis::IsSameName( const SMESHDS_Hypothesis& other) const
  */
 //================================================================================
 
-void SMESHDS_Hypothesis::SaveString(std::ostream & save, const std::string& txt )
+void SMESHDS_Hypothesis::SaveStringToStream(std::ostream & save, const std::string& txt )
 {
   save << " " << txt.size() << " " << txt;
 }
@@ -132,7 +132,7 @@ void SMESHDS_Hypothesis::SaveString(std::ostream & save, const std::string& txt
  */
 //================================================================================
 
-bool SMESHDS_Hypothesis::LoadString(std::istream & load, std::string& txt )
+bool SMESHDS_Hypothesis::LoadStringFromStream(std::istream & load, std::string& txt )
 {
   txt.clear();
   int size = -1;
index 0c16c46a24390a7f1eaaa38cd17cdfe19ceb466c..5ecf507890f87e83732242befa193168833a8354 100644 (file)
@@ -48,8 +48,8 @@ class SMESHDS_EXPORT SMESHDS_Hypothesis
   virtual std::ostream & SaveTo(std::ostream & save)=0;
   virtual std::istream & LoadFrom(std::istream & load)=0;
 
-  static void SaveString(std::ostream & save, const std::string& txt );
-  static bool LoadString(std::istream & load, std::string&       txt );
+  static void SaveStringToStream(std::ostream & save, const std::string& txt );
+  static bool LoadStringFromStream(std::istream & load, std::string&       txt );
 
   bool IsSameName( const SMESHDS_Hypothesis& other) const;
   virtual bool operator==(const SMESHDS_Hypothesis& other) const;