Coding, Modeling Data - Clean up dead headers (#1439)

This commit is contained in:
Pasukhin Dmitry
2026-08-08 07:19:35 +01:00
committed by GitHub
parent 4c2c356490
commit 0d47342863
31 changed files with 2 additions and 1496 deletions
@@ -1,22 +0,0 @@
// Created on: 2004-05-11
// Created by: Sergey ZARITCHNY <szy@opencascade.com>
// Copyright (c) 2004-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.
#ifndef _BinTools_LocationSetPtr_HeaderFile
#define _BinTools_LocationSetPtr_HeaderFile
class BinTools_LocationSet;
typedef BinTools_LocationSet* BinTools_LocationSetPtr;
#endif // _BinTools_LocationSetPtr_HeaderFile
@@ -13,7 +13,6 @@ set(OCCT_BinTools_FILES
BinTools_IStream.hxx
BinTools_LocationSet.cxx
BinTools_LocationSet.hxx
BinTools_LocationSetPtr.hxx
BinTools_ShapeSet.cxx
BinTools_ShapeSet.hxx
BinTools_ShapeSetBase.cxx
@@ -2,14 +2,10 @@
set(OCCT_TopTools_FILES_LOCATION "${CMAKE_CURRENT_LIST_DIR}")
set(OCCT_TopTools_FILES
TopTools.cxx
TopTools.hxx
TopTools_FormatVersion.hxx
TopTools_LocationSet.cxx
TopTools_LocationSet.hxx
TopTools_LocationSetPtr.hxx
TopTools_ShapeMapHasher.hxx
TopTools_ShapeSet.cxx
@@ -1,31 +0,0 @@
// Created on: 1993-01-20
// Created by: Remi LEQUETTE
// Copyright (c) 1993-1999 Matra Datavision
// Copyright (c) 1999-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 <TopTools.hxx>
#include <TopTools_ShapeSet.hxx>
//=================================================================================================
void TopTools::Dump(const TopoDS_Shape& Sh, Standard_OStream& S)
{
TopTools_ShapeSet SSet;
SSet.Add(Sh);
SSet.Dump(Sh, S);
SSet.Dump(S);
}
void TopTools::Dummy(const int) {}
@@ -1,84 +0,0 @@
// Created on: 1993-01-14
// Created by: Remi LEQUETTE
// Copyright (c) 1993-1999 Matra Datavision
// Copyright (c) 1999-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.
#ifndef _TopTools_HeaderFile
#define _TopTools_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_OStream.hxx>
class TopoDS_Shape;
//! The TopTools package provides utilities for the
//! topological data structure.
//!
//! * ShapeMapHasher. Hash a Shape base on the TShape
//! and the Location. The Orientation is not used.
//!
//! * OrientedShapeMapHasher. Hash a Shape base on the
//! TShape ,the Location and the Orientation.
//!
//! * Instantiations of TCollection for Shapes :
//! MapOfShape
//! IndexedMapOfShape
//! DataMapOfIntegerShape
//! DataMapOfShapeInteger
//! DataMapOfShapeReal
//! Array1OfShape
//! HArray1OfShape
//! SequenceOfShape
//! HSequenceOfShape
//! ListOfShape
//! Array1OfListShape
//! HArray1OfListShape
//! DataMapOfIntegerListOfShape
//! DataMapOfShapeListOfShape
//! DataMapOfShapeListOfInteger
//! IndexedDataMapOfShapeShape
//! IndexedDataMapOfShapeListOfShape
//! DataMapOfShapeShape
//! IndexedMapOfOrientedShape
//! DataMapOfShapeSequenceOfShape
//! IndexedDataMapOfShapeAddress
//! DataMapOfOrientedShapeShape
//!
//! * LocationSet: to write sets of locations.
//!
//! * ShapeSet: to writes sets of TShapes.
//!
//! Package Methods:
//!
//! Dump: To dump the topology of a Shape.
class TopTools
{
public:
DEFINE_STANDARD_ALLOC
//! A set of Shapes. Can be dump, wrote or read.
//! Dumps the topological structure of <Sh> on the
//! stream <S>.
Standard_EXPORT static void Dump(const TopoDS_Shape& Sh, Standard_OStream& S);
//! This is to bypass an extraction bug. It will force
//! the inclusion of int.hxx itself
//! including Standard_OStream.hxx at the correct
//! position.
Standard_EXPORT static void Dummy(const int I);
};
#endif // _TopTools_HeaderFile
@@ -1,23 +0,0 @@
// Created on: 1993-01-14
// Created by: Remi LEQUETTE
// Copyright (c) 1993-1999 Matra Datavision
// Copyright (c) 1999-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.
#ifndef _TopTools_LocationSetPtr_HeaderFile
#define _TopTools_LocationSetPtr_HeaderFile
class TopTools_LocationSet;
typedef TopTools_LocationSet* TopTools_LocationSetPtr;
#endif // _TopTools_LocationSetPtr_HeaderFile