mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -290,27 +290,6 @@ void TCollection_HExtendedString::Print(Standard_OStream& S) const
|
||||
myString.Print(S);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// ShallowCopy
|
||||
// ----------------------------------------------------------------------------
|
||||
Handle(TCollection_HExtendedString) TCollection_HExtendedString::ShallowCopy() const
|
||||
{
|
||||
Handle(TCollection_HExtendedString) thecopy =
|
||||
new TCollection_HExtendedString;
|
||||
for (Standard_Integer i = 1 ; i <= Length() ; i++)
|
||||
thecopy->Insert(i,Value(i));
|
||||
return thecopy;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// ShallowDump
|
||||
//---------------------------------------------------------------------
|
||||
void TCollection_HExtendedString::ShallowDump(Standard_OStream& S) const
|
||||
{
|
||||
S << "begin class HExtendedString "<<endl;
|
||||
myString.Print(S);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Issamestate
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user