author | azn <azn@opencascade.com> | |

Thu, 18 Dec 2014 07:27:01 +0000 (10:27 +0300) | ||

committer | bugmaster <bugmaster@opencascade.com> | |

Thu, 29 Jan 2015 10:43:36 +0000 (13:43 +0300) | ||

commit | 6da30ff153a42ef3f2cc3a095ae49f9b086d3043 | |

tree | 4a2e74c00200cf2af22a4215a8f269073b2c6e08 | tree | snapshot (tar.gz zip) |

parent | e2b55410ff16eec05e3f66d063167caa4ae207f0 | commit | diff |

0025622: CAST analysis: Avoid invocation of virtual Methods of the declared Class in a Constructor or Destructor

The Delete() methods have been deleted from the following classes:

- Adaptor2d_Curve2d

- Adaptor3d_Curve

- Adaptor3d_Surface

- AppBlend_Approx

- AppCont_Function

- AppParCurves_MultiCurve

- AppParCurves_MultiPoint

- ApproxInt_SvSurfaces

- BRepPrim_OneAxis

- BRepSweep_NumLinearRegularSweep

- BRepSweep_Translation

- BRepSweep_Trsf

- DBC_BaseArray

- GeomFill_Profiler

- HatchGen_PointOnHatching

- math_BFGS

- math_FunctionSet

- math_FunctionSetRoot

- math_FunctionWithDerivative

- math_MultipleVarFunction

- math_MultipleVarFunctionWithHessian

- math_MultipleVarFunctionWithGradient

- math_Powell

- math_NewtonMinimum

- math_NewtonFunctionSetRoot

- math_BissecNewton (just add virtual destructor)

- math_FRPR

- math_BrentMinimum (just add virtual destructor)

- OSD_Chronometer

- ProjLib_Projector

Virtual methods Delete() or Destroy() of the transient inheritors is not changed (-> separate issue).

Classes Graphic3d_DataStructureManager and PrsMgr_Presentation without changes.

The Delete() methods have been deleted from the following classes:

- Adaptor2d_Curve2d

- Adaptor3d_Curve

- Adaptor3d_Surface

- AppBlend_Approx

- AppCont_Function

- AppParCurves_MultiCurve

- AppParCurves_MultiPoint

- ApproxInt_SvSurfaces

- BRepPrim_OneAxis

- BRepSweep_NumLinearRegularSweep

- BRepSweep_Translation

- BRepSweep_Trsf

- DBC_BaseArray

- GeomFill_Profiler

- HatchGen_PointOnHatching

- math_BFGS

- math_FunctionSet

- math_FunctionSetRoot

- math_FunctionWithDerivative

- math_MultipleVarFunction

- math_MultipleVarFunctionWithHessian

- math_MultipleVarFunctionWithGradient

- math_Powell

- math_NewtonMinimum

- math_NewtonFunctionSetRoot

- math_BissecNewton (just add virtual destructor)

- math_FRPR

- math_BrentMinimum (just add virtual destructor)

- OSD_Chronometer

- ProjLib_Projector

Virtual methods Delete() or Destroy() of the transient inheritors is not changed (-> separate issue).

Classes Graphic3d_DataStructureManager and PrsMgr_Presentation without changes.

63 files changed: