mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-09 23:46:52 +08: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:
@@ -75,30 +75,6 @@ void PCollection_HArray1::~PCollection_HArray1 ()
|
||||
*/
|
||||
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// ShallowCopy
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Handle(Standard_Persistent) PCollection_HArray1::ShallowCopy() const
|
||||
{
|
||||
PCollection_HArray1* TheCopy = new PCollection_HArray1(*this);
|
||||
// PCollection_FieldOfHArray1 DataCopy (Data);
|
||||
// TheCopy->Data = DataCopy;
|
||||
return TheCopy;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// ShallowDump
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void PCollection_HArray1::ShallowDump(Standard_OStream& S) const
|
||||
{
|
||||
::ShallowDump(Data,S);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Anciens INLINE */
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user