mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-11 17:43:28 +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:
@@ -18,25 +18,7 @@
|
||||
|
||||
#include <Standard_ExtString.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#ifndef _Standard_OStream_HeaderFile
|
||||
#include <Standard_OStream.hxx>
|
||||
#endif
|
||||
|
||||
//============================================================================
|
||||
//==== ShallowDump : Writes a ExtString value.
|
||||
//============================================================================
|
||||
Standard_EXPORT void ShallowDump (const Standard_ExtString Value, Standard_OStream& s)
|
||||
{
|
||||
s << hex << Value << " Standard_ExtString " << endl;
|
||||
}
|
||||
|
||||
const Handle_Standard_Type& Standard_ExtString_Type_()
|
||||
{
|
||||
static Handle_Standard_Type _aType =
|
||||
new Standard_Type("Standard_ExtString",sizeof(Standard_ExtString),0,NULL);
|
||||
|
||||
return _aType;
|
||||
}
|
||||
|
||||
Standard_Integer HashCode (const Standard_ExtString Value,
|
||||
const Standard_Integer Upper)
|
||||
|
||||
Reference in New Issue
Block a user