mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
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
This commit is contained in:
@@ -37,18 +37,6 @@
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(PCDM_RetrievalDriver,PCDM_Reader)
|
||||
|
||||
//=======================================================================
|
||||
//function : Read
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void PCDM_RetrievalDriver::Read(Standard_IStream& /*theIStream*/,
|
||||
const Handle(Storage_Data)& /*theStorageData*/,
|
||||
const Handle(CDM_Document)& /*theDoc*/,
|
||||
const Handle(CDM_Application)& /*theApplication*/)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void PCDM_RetrievalDriver::References(const TCollection_ExtendedString& aFileName, PCDM_SequenceOfReference& theReferences, const Handle(CDM_MessageDriver)& theMsgDriver)
|
||||
{ PCDM_ReadWriter::Reader(aFileName)->ReadReferences(aFileName, theReferences, theMsgDriver);}
|
||||
|
||||
|
@@ -45,11 +45,6 @@ public:
|
||||
const TCollection_ExtendedString& theFileName,
|
||||
const Handle(CDM_MessageDriver)& theMsgDriver);
|
||||
|
||||
Standard_EXPORT virtual void Read (Standard_IStream& theIStream,
|
||||
const Handle(Storage_Data)& theStorageData,
|
||||
const Handle(CDM_Document)& theDoc,
|
||||
const Handle(CDM_Application)& theApplication) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT void SetFormat (const TCollection_ExtendedString& aformat);
|
||||
|
||||
Standard_EXPORT TCollection_ExtendedString GetFormat() const;
|
||||
|
Reference in New Issue
Block a user