X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_LocalLength.hxx;h=7cb47251e1663d1264a28f408444ab7ffc4228c4;hp=147890c164b3c0793e602b0be084259f11f1974f;hb=5b889e3e3ee1533b1046811adad02a4fe783860c;hpb=19ad8814ceb8c54aac76c0e6d266cca1c17b7fc4 diff --git a/src/SMESH/SMESH_LocalLength.hxx b/src/SMESH/SMESH_LocalLength.hxx index 147890c16..7cb47251e 100644 --- a/src/SMESH/SMESH_LocalLength.hxx +++ b/src/SMESH/SMESH_LocalLength.hxx @@ -32,25 +32,23 @@ #include "SMESH_Hypothesis.hxx" #include "Utils_SALOME_Exception.hxx" -class SMESH_LocalLength: - public SMESH_Hypothesis +class SMESH_LocalLength:public SMESH_Hypothesis { -public: - SMESH_LocalLength(int hypId, int studyId, SMESH_Gen* gen); - virtual ~SMESH_LocalLength(); + public: + SMESH_LocalLength(int hypId, int studyId, SMESH_Gen * gen); + virtual ~ SMESH_LocalLength(); - void SetLength(double length) - throw (SALOME_Exception); + void SetLength(double length) throw(SALOME_Exception); - double GetLength(); + double GetLength() const; - virtual ostream & SaveTo(ostream & save); - virtual istream & LoadFrom(istream & load); - friend ostream & operator << (ostream & save, SMESH_LocalLength & hyp); - friend istream & operator >> (istream & load, SMESH_LocalLength & hyp); + virtual ostream & SaveTo(ostream & save); + virtual istream & LoadFrom(istream & load); + friend ostream & operator <<(ostream & save, SMESH_LocalLength & hyp); + friend istream & operator >>(istream & load, SMESH_LocalLength & hyp); -protected: - double _length; + protected: + double _length; }; #endif