From 839d52abd723607eea64d032e344350489b34c86 Mon Sep 17 00:00:00 2001 From: san Date: Fri, 28 Jan 2005 08:48:56 +0000 Subject: [PATCH] PAL7705: Possibility to override default implementation added --- src/StdMeshers/StdMeshers_NumberOfSegments.hxx | 2 +- src/StdMeshers/StdMeshers_Regular_1D.hxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 };