From: eap Date: Fri, 24 Aug 2012 13:32:35 +0000 (+0000) Subject: improve comments X-Git-Tag: V6_6_0a1~184 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=868ce5dcaebd0ad9495ac378113ffa65d0f97168;p=modules%2Fsmesh.git improve comments --- diff --git a/src/SMESH/SMESH_Algo.hxx b/src/SMESH/SMESH_Algo.hxx index 580445b48..115c26a28 100644 --- a/src/SMESH/SMESH_Algo.hxx +++ b/src/SMESH/SMESH_Algo.hxx @@ -373,8 +373,8 @@ protected: bool _requireShape; // work with GetDim()-1 mesh bound to geom only. Default TRUE bool _supportSubmeshes; // if !_requireDiscreteBoundary. Default FALSE - // quadratic mesh creation required, - // is usually set trough SMESH_MesherHelper::IsQuadraticSubMesh() + // indicates if quadratic mesh creation is required, + // is usually set like this: _quadraticMesh = SMESH_MesherHelper::IsQuadraticSubMesh(shape) bool _quadraticMesh; int _error; //!< SMESH_ComputeErrorName or anything algo specific diff --git a/src/SMESHDS/SMESHDS_Hypothesis.hxx b/src/SMESHDS/SMESHDS_Hypothesis.hxx index d819684af..85e115c05 100644 --- a/src/SMESHDS/SMESHDS_Hypothesis.hxx +++ b/src/SMESHDS/SMESHDS_Hypothesis.hxx @@ -24,7 +24,6 @@ // File : SMESHDS_Hypothesis.hxx // Author : Paul RASCLE, EDF // Module : SMESH -// $Header$ // #ifndef _SMESHDS_HYPOTHESIS_HXX_ #define _SMESHDS_HYPOTHESIS_HXX_ @@ -36,7 +35,7 @@ class SMESHDS_EXPORT SMESHDS_Hypothesis { -public: + public: SMESHDS_Hypothesis(int hypId); virtual ~SMESHDS_Hypothesis(); @@ -50,12 +49,12 @@ public: virtual bool operator==(const SMESHDS_Hypothesis& other) const; bool operator!=(const SMESHDS_Hypothesis& other) const { return !(*this==other); } -enum hypothesis_type {PARAM_ALGO, ALGO_0D, ALGO_1D, ALGO_2D, ALGO_3D}; + enum hypothesis_type { PARAM_ALGO, ALGO_0D, ALGO_1D, ALGO_2D, ALGO_3D }; -protected: - std::string _name; - int _hypId; - int _type; + protected: + std::string _name; // identifier if hypothesis type + int _hypId; // ID unique within application session + int _type; // enum hypothesis_type }; #endif