1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0024805: Eliminate unused static functions and methods: ShallowDump(), ShallowCopy(), STANDARD_TYPE(...)

Implementation of global functions STANDARD_TYPE() for types not inheriting Standard_Transient or Standard_Persistent are eliminated.

Global functions and class methods ShallowCopy() are removed; also removed unused classes Visual3d_PickPath and Visual3d_PickDescriptor.

Global functions and class methods ShallowDump() are removed, except for classes Standard_GUID, TopLoc_Datum, and TopLoc_Location as the latter are still used in some Debug printouts.
This commit is contained in:
abv
2014-04-11 13:59:41 +04:00
committed by apn
parent c5751993f2
commit 2cb4424136
143 changed files with 16 additions and 2825 deletions

View File

@@ -90,29 +90,6 @@ void PCollection_HArray2::~PCollection_HArray2 ()
}
*/
// --------------------------------------------------------------------
// ShallowCopy
// --------------------------------------------------------------------
Handle(Standard_Persistent) PCollection_HArray2::ShallowCopy() const
{
PCollection_HArray2* TheCopy = new PCollection_HArray2(*this);
// PCollection_FieldOfHArray2 DataCopy (Data);
// TheCopy->Data = DataCopy;
return TheCopy;
}
// --------------------------------------------------------------------
// ShallowDump
// --------------------------------------------------------------------
void PCollection_HArray2::ShallowDump(Standard_OStream& S) const
{
::ShallowDump(Data,S);
}
/* Anciens INLINE */
// --------------------------------------------------------------------