0025076: Hidden overloaded virtual functions
authorabv <abv@opencascade.com>
Tue, 29 Dec 2015 04:07:17 +0000 (07:07 +0300)
committerabv <abv@opencascade.com>
Mon, 11 Jan 2016 22:55:10 +0000 (01:55 +0300)
commit201c22081b41d7388415832bb65124396c41797d
tree1b9fcc39d675b16054f47beb81e03849a291ab21
parente6f550da9928b45b2f21a0ea60f428e1711c7c49
0025076: Hidden overloaded virtual functions

Implementation of virtual functions is made more consistent in places where warning was issued:

- Missing implementation of virtual method Closed() added in classes inheriting Intf_Polygon2d
- Empty implementation of virtual method Read() accepting stream is moved from PCDM_RetrievalDriver to StdLDrivers_DocumentRetrievalDriver
- Method BRepFill::Delete() is renamed to DeleteProfile() to avoid confusion with method Delete() inherited from MMgt_TShared
- Virtual method AIS_Dimenaion::ComputePlane() is removed from base class; each dimension defines and uses its own method with the same name (but different arguments)
- Inherited virtual method Dump() with single argument in class XCAFDoc_ShapeTool is now defined as short-cut to own method Dump(), also calling parent's one
- Inherited virtual method BoundingBox(void) is made visible in AIS_Shape
- Inherited virtual method Box(void) is made visible in classes inheriting BVH_PrimitiveSet
20 files changed:
src/AIS/AIS_AngleDimension.hxx
src/AIS/AIS_DiameterDimension.hxx
src/AIS/AIS_Dimension.hxx
src/AIS/AIS_RadiusDimension.hxx
src/AIS/AIS_Shape.hxx
src/BRepExtrema/BRepExtrema_TriangleSet.hxx
src/BRepFill/BRepFill_PipeShell.cxx
src/BRepFill/BRepFill_PipeShell.hxx
src/BRepOffsetAPI/BRepOffsetAPI_MakePipeShell.cxx
src/Geom2dInt/Geom2dInt_ThePolygon2dOfTheIntPCurvePCurveOfGInter.hxx
src/HLRBRep/HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter.hxx
src/PCDM/PCDM_RetrievalDriver.cxx
src/PCDM/PCDM_RetrievalDriver.hxx
src/Select3D/Select3D_BVHPrimitiveContent.hxx
src/SelectMgr/SelectMgr_SelectableObjectSet.hxx
src/SelectMgr/SelectMgr_SensitiveEntitySet.hxx
src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx
src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx
src/XCAFDoc/XCAFDoc_ShapeTool.cxx
src/XCAFDoc/XCAFDoc_ShapeTool.hxx