From: san Date: Fri, 28 Jan 2005 08:48:56 +0000 (+0000) Subject: PAL7705: Possibility to override default implementation added X-Git-Tag: V2_2_0b2~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=839d52abd723607eea64d032e344350489b34c86;p=modules%2Fsmesh.git PAL7705: Possibility to override default implementation added --- diff --git a/src/StdMeshers/StdMeshers_NumberOfSegments.hxx b/src/StdMeshers/StdMeshers_NumberOfSegments.hxx index 79147e1a2..5ae8dc918 100644 --- a/src/StdMeshers/StdMeshers_NumberOfSegments.hxx +++ b/src/StdMeshers/StdMeshers_NumberOfSegments.hxx @@ -45,7 +45,7 @@ public: int GetNumberOfSegments() const; - void SetScaleFactor(double scaleFactor) + virtual void SetScaleFactor(double scaleFactor) throw (SALOME_Exception); double GetScaleFactor() const; diff --git a/src/StdMeshers/StdMeshers_Regular_1D.hxx b/src/StdMeshers/StdMeshers_Regular_1D.hxx index 96128d984..b9d61432b 100644 --- a/src/StdMeshers/StdMeshers_Regular_1D.hxx +++ b/src/StdMeshers/StdMeshers_Regular_1D.hxx @@ -58,9 +58,9 @@ public: protected: - bool computeInternalParameters (const TopoDS_Edge& theEdge, - std::list< double > & theParameters, - const bool theReverse) const; + virtual bool computeInternalParameters (const TopoDS_Edge& theEdge, + std::list< double > & theParameters, + const bool theReverse) const; enum HypothesisType { LOCAL_LENGTH, NB_SEGMENTS, BEG_END_LENGTH, DEFLECTION, ARITHMETIC_1D, NONE };