0024805: Eliminate unused static functions and methods: ShallowDump(), ShallowCopy...
authorabv <abv@opencascade.com>
Fri, 11 Apr 2014 09:59:41 +0000 (13:59 +0400)
committerapn <apn@opencascade.com>
Thu, 17 Apr 2014 11:59:15 +0000 (15:59 +0400)
commit2cb4424136bc7bfc0e364638091fc8e4e79f9bb3
tree0f6b927615196bf9888cee6e22d1d03a09940440
parentc5751993f2a5c5b66655495449464d25f09f0b4c
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.
143 files changed:
src/Aspect/Aspect_CLayer2d.cxx [deleted file]
src/Aspect/Aspect_CLayer2d.hxx
src/Aspect/Aspect_Display.hxx
src/Aspect/Aspect_Drawable.hxx
src/Aspect/Aspect_FStream.cxx [deleted file]
src/Aspect/Aspect_FStream.hxx
src/Aspect/Aspect_GraphicCallbackProc.hxx
src/Aspect/Aspect_Handle.cxx [deleted file]
src/Aspect/Aspect_Handle.hxx
src/Aspect/Aspect_IFStream.cxx [deleted file]
src/Aspect/Aspect_IFStream.hxx
src/Aspect/Aspect_RGBPixel.cxx [deleted file]
src/Aspect/Aspect_RGBPixel.hxx
src/Aspect/Aspect_RenderingContext.hxx
src/Aspect/FILES
src/DBC/DBC_BaseArray.cdl
src/DBC/DBC_BaseArray.cxx
src/DBC/DBC_BaseArray_objs.hxx
src/DDataStd/DDataStd_BasicCommands.cxx
src/Graphic3d/FILES
src/Graphic3d/Graphic3d_CBitFields16.cxx [deleted file]
src/Graphic3d/Graphic3d_CBitFields16.hxx
src/Graphic3d/Graphic3d_CBitFields20.cxx [deleted file]
src/Graphic3d/Graphic3d_CBitFields20.hxx
src/Graphic3d/Graphic3d_CBitFields4.cxx [deleted file]
src/Graphic3d/Graphic3d_CBitFields4.hxx
src/Graphic3d/Graphic3d_CBitFields8.cxx [deleted file]
src/Graphic3d/Graphic3d_CBitFields8.hxx
src/Graphic3d/Graphic3d_CBounds.cxx [deleted file]
src/Graphic3d/Graphic3d_CBounds.hxx
src/Graphic3d/Graphic3d_CGraduatedTrihedron.cxx [deleted file]
src/Graphic3d/Graphic3d_CGraduatedTrihedron.hxx
src/Graphic3d/Graphic3d_CLight.cxx [deleted file]
src/Graphic3d/Graphic3d_CLight.hxx
src/Graphic3d/Graphic3d_CPick.cxx [deleted file]
src/Graphic3d/Graphic3d_CPick.hxx
src/Graphic3d/Graphic3d_CTexture.cxx [deleted file]
src/Graphic3d/Graphic3d_CTexture.hxx
src/Graphic3d/Graphic3d_CTransPersStruct.cxx [deleted file]
src/Graphic3d/Graphic3d_CTransPersStruct.hxx
src/Graphic3d/Graphic3d_CUserDraw.cxx [deleted file]
src/Graphic3d/Graphic3d_CUserDraw.hxx
src/Graphic3d/Graphic3d_CView.cxx [deleted file]
src/Graphic3d/Graphic3d_CView.hxx
src/IFSelect/FILES
src/IFSelect/IFSelect_ActFunc.cxx [deleted file]
src/IFSelect/IFSelect_ActFunc.hxx
src/MoniTool/FILES
src/MoniTool/MoniTool_ValueInterpret.cxx [deleted file]
src/MoniTool/MoniTool_ValueInterpret.hxx
src/MoniTool/MoniTool_ValueSatisfies.cxx [deleted file]
src/MoniTool/MoniTool_ValueSatisfies.hxx
src/NCollection/NCollection_UtfString.hxx
src/OSD/FILES
src/OSD/OSD_Function.cxx [deleted file]
src/OSD/OSD_Function.hxx
src/OSD/OSD_MAllocHook.cxx
src/PCollection/PCollection_HArray1.cdl
src/PCollection/PCollection_HArray1.gxx
src/PCollection/PCollection_HArray2.cdl
src/PCollection/PCollection_HArray2.gxx
src/PCollection/PCollection_HAsciiString.cdl
src/PCollection/PCollection_HAsciiString.cxx
src/PCollection/PCollection_HDoubleList.cdl
src/PCollection/PCollection_HDoubleList.gxx
src/PCollection/PCollection_HExtendedString.cdl
src/PCollection/PCollection_HExtendedString.cxx
src/PCollection/PCollection_HSequence.cdl
src/PCollection/PCollection_HSequence.gxx
src/PCollection/PCollection_HSingleList.cdl
src/PCollection/PCollection_HSingleList.gxx
src/PMMgt/PMMgt_PManaged.cxx
src/SWDRAW/SWDRAW.cxx
src/ShapeProcess/FILES
src/ShapeProcess/ShapeProcess_OperFunc.cxx [deleted file]
src/ShapeProcess/ShapeProcess_OperFunc.hxx
src/Standard/FILES
src/Standard/Handle_Standard_Persistent.hxx
src/Standard/Standard_Address.cxx [deleted file]
src/Standard/Standard_Address.hxx
src/Standard/Standard_Boolean.cxx [deleted file]
src/Standard/Standard_Boolean.hxx
src/Standard/Standard_CString.cxx
src/Standard/Standard_CString.hxx
src/Standard/Standard_Character.cxx [deleted file]
src/Standard/Standard_Character.hxx
src/Standard/Standard_ExtCharacter.cxx [deleted file]
src/Standard/Standard_ExtCharacter.hxx
src/Standard/Standard_ExtString.cxx
src/Standard/Standard_ExtString.hxx
src/Standard/Standard_GUID.cdl
src/Standard/Standard_IStream.cxx [deleted file]
src/Standard/Standard_IStream.hxx
src/Standard/Standard_Integer.cxx [deleted file]
src/Standard/Standard_Integer.hxx
src/Standard/Standard_OId.hxx [deleted file]
src/Standard/Standard_OStream.cxx [deleted file]
src/Standard/Standard_OStream.hxx
src/Standard/Standard_Persistent.cdl
src/Standard/Standard_Persistent.cxx
src/Standard/Standard_Persistent_proto.hxx
src/Standard/Standard_PrimitiveTypes.hxx
src/Standard/Standard_Real.cxx
src/Standard/Standard_Real.hxx
src/Standard/Standard_ShallowDump.cxx [deleted file]
src/Standard/Standard_ShortReal.cxx
src/Standard/Standard_ShortReal.hxx
src/Standard/Standard_Storable.cdl
src/Standard/Standard_Storable.cxx
src/Standard/Standard_Time.cxx [deleted file]
src/Standard/Standard_Time.hxx
src/Standard/Standard_Transient.cxx
src/Standard/Standard_Transient_proto.hxx
src/Standard/Standard_Type.cdl
src/Standard/Standard_Type.cxx
src/Standard/Standard_UUID.cxx
src/Standard/Standard_UUID.hxx
src/Storage/FILES
src/Storage/Storage_Container.cxx [deleted file]
src/Storage/Storage_Container.hxx
src/Storage/Storage_Macros.hxx
src/TCollection/TCollection_HAsciiString.cdl
src/TCollection/TCollection_HAsciiString.cxx
src/TCollection/TCollection_HExtendedString.cdl
src/TCollection/TCollection_HExtendedString.cxx
src/TCollection/TCollection_HSequence.gxx
src/TCollection/TCollection_HSet.cdl
src/TCollection/TCollection_HSet.gxx
src/TDF/TDF_Attribute.cxx
src/V3d/V3d_DirectionalLight.cxx
src/V3d/V3d_PositionLight.cxx
src/V3d/V3d_PositionalLight.cxx
src/V3d/V3d_SpotLight.cxx
src/Visual3d/Visual3d.cdl
src/Visual3d/Visual3d_PickDescriptor.cdl [deleted file]
src/Visual3d/Visual3d_PickDescriptor.cxx [deleted file]
src/Visual3d/Visual3d_PickPath.cdl [deleted file]
src/Visual3d/Visual3d_PickPath.cxx [deleted file]
src/Visual3d/Visual3d_ViewManager.cdl
src/Visual3d/Visual3d_ViewManager.cxx
src/WNT/WNT_Dword.hxx
src/WNT/WNT_Uint.hxx
src/WNT/WNT_WindowData.hxx