]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Replace Descret by Discrete in variable and method names.
authorgdd <gdd>
Fri, 17 Feb 2012 14:30:33 +0000 (14:30 +0000)
committergdd <gdd>
Fri, 17 Feb 2012 14:30:33 +0000 (14:30 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx
src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx

index 2c7c6c2863162a66e7eccef846af719b2a291fb1..dc08519b98cbf0f309ccdfe0f0204d37088a0bef 100644 (file)
@@ -242,8 +242,8 @@ BLSURFPlugin_BLSURF::BLSURFPlugin_BLSURF(int hypId, int studyId,
 
   _name = "BLSURF";
   _shapeType = (1 << TopAbs_FACE); // 1 bit /shape type
-  _compatibleHypothesis.push_back("BLSURF_Parameters");
-  _requireDescretBoundary = false;
+  _compatibleHypothesis.push_back(BLSURFPlugin_Hypothesis::GetHypType());
+  _requireDiscreteBoundary = false;
   _onlyUnaryInput = false;
   _hypothesis = NULL;
   _supportSubmeshes = true;
index 8ec9d377d387a280fadf6571dc38b37ba1f75c78..79f7a2334f510618f452dcec083729c879daf753 100644 (file)
@@ -62,6 +62,8 @@ public:
     DefaultGeom,
     UserDefined
   };
+
+  static const char* GetHypType() { return "BLSURF_Parameters"; }
   
   TopoDS_Shape entryToShape(std::string entry);