From 620c59f749e7268e11b2bf78e81858bd038cfb66 Mon Sep 17 00:00:00 2001 From: gdd Date: Fri, 17 Feb 2012 14:30:33 +0000 Subject: [PATCH] Replace Descret by Discrete in variable and method names. --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 4 ++-- src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 2c7c6c2..dc08519 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -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; diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx index 8ec9d37..79f7a23 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx @@ -62,6 +62,8 @@ public: DefaultGeom, UserDefined }; + + static const char* GetHypType() { return "BLSURF_Parameters"; } TopoDS_Shape entryToShape(std::string entry); -- 2.39.2