improve comments

This commit is contained in:
eap 2012-08-24 13:32:35 +00:00
parent cb99a4c0e6
commit 868ce5dcae
2 changed files with 8 additions and 9 deletions

View File

@ -373,8 +373,8 @@ protected:
bool _requireShape; // work with GetDim()-1 mesh bound to geom only. Default TRUE bool _requireShape; // work with GetDim()-1 mesh bound to geom only. Default TRUE
bool _supportSubmeshes; // if !_requireDiscreteBoundary. Default FALSE bool _supportSubmeshes; // if !_requireDiscreteBoundary. Default FALSE
// quadratic mesh creation required, // indicates if quadratic mesh creation is required,
// is usually set trough SMESH_MesherHelper::IsQuadraticSubMesh() // is usually set like this: _quadraticMesh = SMESH_MesherHelper::IsQuadraticSubMesh(shape)
bool _quadraticMesh; bool _quadraticMesh;
int _error; //!< SMESH_ComputeErrorName or anything algo specific int _error; //!< SMESH_ComputeErrorName or anything algo specific

View File

@ -24,7 +24,6 @@
// File : SMESHDS_Hypothesis.hxx // File : SMESHDS_Hypothesis.hxx
// Author : Paul RASCLE, EDF // Author : Paul RASCLE, EDF
// Module : SMESH // Module : SMESH
// $Header$
// //
#ifndef _SMESHDS_HYPOTHESIS_HXX_ #ifndef _SMESHDS_HYPOTHESIS_HXX_
#define _SMESHDS_HYPOTHESIS_HXX_ #define _SMESHDS_HYPOTHESIS_HXX_
@ -36,7 +35,7 @@
class SMESHDS_EXPORT SMESHDS_Hypothesis class SMESHDS_EXPORT SMESHDS_Hypothesis
{ {
public: public:
SMESHDS_Hypothesis(int hypId); SMESHDS_Hypothesis(int hypId);
virtual ~SMESHDS_Hypothesis(); virtual ~SMESHDS_Hypothesis();
@ -50,12 +49,12 @@ public:
virtual bool operator==(const SMESHDS_Hypothesis& other) const; virtual bool operator==(const SMESHDS_Hypothesis& other) const;
bool operator!=(const SMESHDS_Hypothesis& other) const { return !(*this==other); } 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: protected:
std::string _name; std::string _name; // identifier if hypothesis type
int _hypId; int _hypId; // ID unique within application session
int _type; int _type; // enum hypothesis_type
}; };
#endif #endif