Salome HOME
PAL7705: Possibility to override default implementation added
authorsan <san@opencascade.com>
Fri, 28 Jan 2005 08:48:56 +0000 (08:48 +0000)
committersan <san@opencascade.com>
Fri, 28 Jan 2005 08:48:56 +0000 (08:48 +0000)
src/StdMeshers/StdMeshers_NumberOfSegments.hxx
src/StdMeshers/StdMeshers_Regular_1D.hxx

index 79147e1a2aca6cc735e99d5d8bd4e45287a6a56f..5ae8dc918e819c4637c3818de9afda375c7a8bf2 100644 (file)
@@ -45,7 +45,7 @@ public:
 
   int GetNumberOfSegments() const;
 
 
   int GetNumberOfSegments() const;
 
-  void SetScaleFactor(double scaleFactor)
+  virtual void SetScaleFactor(double scaleFactor)
     throw (SALOME_Exception);
 
   double GetScaleFactor() const;
     throw (SALOME_Exception);
 
   double GetScaleFactor() const;
index 96128d98477692336107b5319cc9146182a2c3f0..b9d61432b11189afdac127515b61ba5ab215c537 100644 (file)
@@ -58,9 +58,9 @@ public:
 
 protected:
 
 
 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 };
 
 
   enum HypothesisType { LOCAL_LENGTH, NB_SEGMENTS, BEG_END_LENGTH, DEFLECTION, ARITHMETIC_1D, NONE };