mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 17:06:14 +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:
@@ -1,2 +1 @@
|
||||
IFSelect_ActFunc.hxx
|
||||
IFSelect_ActFunc.cxx
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
// Created on: 2000-02-29
|
||||
// Created by: data exchange team
|
||||
// Copyright (c) 2000-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <IFSelect_ActFunc.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : IFSelect_ActFunc_Type_
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(Standard_Type)& STANDARD_TYPE(IFSelect_ActFunc)
|
||||
{
|
||||
static Handle(Standard_Type) _aType =
|
||||
new Standard_Type("IFSelect_ActFunc", sizeof(IFSelect_ActFunc), 0, NULL);
|
||||
|
||||
return _aType;
|
||||
}
|
||||
|
||||
@@ -16,12 +16,9 @@
|
||||
#ifndef _IFSelect_ActFunc_HeaderFile
|
||||
#define _IFSelect_ActFunc_HeaderFile
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <IFSelect_SessionPilot.hxx>
|
||||
#include <IFSelect_ReturnStatus.hxx>
|
||||
|
||||
typedef IFSelect_ReturnStatus (*IFSelect_ActFunc) (const Handle(IFSelect_SessionPilot)&);
|
||||
|
||||
Standard_EXPORT Handle(Standard_Type)& STANDARD_TYPE(IFSelect_ActFunc);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user