mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024750: Replace instantiations of TCollection generic classes by NCollection templates -- automatic
Automatic upgrade of code by command "occt_upgrade . -tcollection"
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
ShapeAnalysis_BoxBndTree.hxx
|
||||
ShapeAnalysis_BoxBndTree.cxx
|
||||
ShapeAnalysis_SequenceOfFreeBounds.hxx
|
||||
ShapeAnalysis_HSequenceOfFreeBounds.hxx
|
||||
ShapeAnalysis_DataMapOfShapeListOfReal.hxx
|
||||
ShapeAnalysis_DataMapIteratorOfDataMapOfShapeListOfReal.hxx
|
||||
|
@@ -94,17 +94,13 @@ is
|
||||
|
||||
class TransferParametersProj;
|
||||
|
||||
class SequenceOfFreeBounds instantiates
|
||||
Sequence from TCollection (FreeBoundData from ShapeAnalysis);
|
||||
imported SequenceOfFreeBounds;
|
||||
|
||||
class HSequenceOfFreeBounds instantiates
|
||||
HSequence from TCollection (FreeBoundData from ShapeAnalysis,
|
||||
SequenceOfFreeBounds from ShapeAnalysis);
|
||||
imported transient class HSequenceOfFreeBounds;
|
||||
|
||||
class DataMapOfShapeListOfReal instantiates
|
||||
DataMap from TCollection(Shape from TopoDS,
|
||||
ListOfReal from TColStd,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapeListOfReal;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfShapeListOfReal;
|
||||
|
||||
--class SequenceOfOverlapEdges instantiates
|
||||
--Sequence from TCollection (OverlapEdges from ShapeAnalysis);
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef ShapeAnalysis_DataMapIteratorOfDataMapOfShapeListOfReal_HeaderFile
|
||||
#define ShapeAnalysis_DataMapIteratorOfDataMapOfShapeListOfReal_HeaderFile
|
||||
|
||||
#include <ShapeAnalysis_DataMapOfShapeListOfReal.hxx>
|
||||
|
||||
#endif
|
29
src/ShapeAnalysis/ShapeAnalysis_DataMapOfShapeListOfReal.hxx
Normal file
29
src/ShapeAnalysis/ShapeAnalysis_DataMapOfShapeListOfReal.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1998-06-03
|
||||
// Created by: data exchange team
|
||||
// Copyright (c) 1998-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 ShapeAnalysis_DataMapOfShapeListOfReal_HeaderFile
|
||||
#define ShapeAnalysis_DataMapOfShapeListOfReal_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TColStd_ListOfReal.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,TColStd_ListOfReal,TopTools_ShapeMapHasher> ShapeAnalysis_DataMapOfShapeListOfReal;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,TColStd_ListOfReal,TopTools_ShapeMapHasher>::Iterator ShapeAnalysis_DataMapIteratorOfDataMapOfShapeListOfReal;
|
||||
|
||||
|
||||
#endif
|
27
src/ShapeAnalysis/ShapeAnalysis_HSequenceOfFreeBounds.hxx
Normal file
27
src/ShapeAnalysis/ShapeAnalysis_HSequenceOfFreeBounds.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1998-06-03
|
||||
// Created by: data exchange team
|
||||
// Copyright (c) 1998-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 ShapeAnalysis_HSequenceOfFreeBounds_HeaderFile
|
||||
#define ShapeAnalysis_HSequenceOfFreeBounds_HeaderFile
|
||||
|
||||
#include <ShapeAnalysis_FreeBoundData.hxx>
|
||||
#include <ShapeAnalysis_SequenceOfFreeBounds.hxx>
|
||||
#include <NCollection_DefineHSequence.hxx>
|
||||
|
||||
DEFINE_HSEQUENCE(ShapeAnalysis_HSequenceOfFreeBounds, ShapeAnalysis_SequenceOfFreeBounds)
|
||||
|
||||
|
||||
#endif
|
26
src/ShapeAnalysis/ShapeAnalysis_SequenceOfFreeBounds.hxx
Normal file
26
src/ShapeAnalysis/ShapeAnalysis_SequenceOfFreeBounds.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1998-06-03
|
||||
// Created by: data exchange team
|
||||
// Copyright (c) 1998-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 ShapeAnalysis_SequenceOfFreeBounds_HeaderFile
|
||||
#define ShapeAnalysis_SequenceOfFreeBounds_HeaderFile
|
||||
|
||||
#include <ShapeAnalysis_FreeBoundData.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Handle(ShapeAnalysis_FreeBoundData)> ShapeAnalysis_SequenceOfFreeBounds;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user