X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHDS%2FSMESHDS_Hypothesis.hxx;h=2b09ed32872dc755915848f5e0c0df0124822282;hb=9d1bb8e28cbec07c061acae2dbd7bd04ebaa753a;hp=b6e21c2cd03d288175c7da156146e58a8a55b337;hpb=789d7f7415a1e465aee36232e7633eea548ff1fb;p=modules%2Fsmesh.git diff --git a/src/SMESHDS/SMESHDS_Hypothesis.hxx b/src/SMESHDS/SMESHDS_Hypothesis.hxx index b6e21c2cd..2b09ed328 100644 --- a/src/SMESHDS/SMESHDS_Hypothesis.hxx +++ b/src/SMESHDS/SMESHDS_Hypothesis.hxx @@ -17,7 +17,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // // @@ -29,36 +29,28 @@ #ifndef _SMESHDS_HYPOTHESIS_HXX_ #define _SMESHDS_HYPOTHESIS_HXX_ -#if (__GNUC__>2) -#include -#include -#include -#else +#include "SMESH_SMESHDS.hxx" + #include -#include -#include -#endif - -// class istream; -// class ostream; +#include -class SMESHDS_Hypothesis +class SMESHDS_EXPORT SMESHDS_Hypothesis { public: SMESHDS_Hypothesis(int hypId); virtual ~SMESHDS_Hypothesis(); - const char* GetName(); - int GetID(); - int GetType(); + const char* GetName() const; + int GetID() const; + int GetType() const; - virtual ostream & SaveTo(ostream & save)=0; - virtual istream & LoadFrom(istream & load)=0; + virtual std::ostream & SaveTo(std::ostream & save)=0; + virtual std::istream & LoadFrom(std::istream & load)=0; -enum hypothesis_type {PARAM_ALGO, ALGO, ALGO_1D, ALGO_2D, ALGO_3D}; +enum hypothesis_type {PARAM_ALGO, ALGO_0D, ALGO_1D, ALGO_2D, ALGO_3D}; protected: - string _name; + std::string _name; int _hypId; int _type; };