mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +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:
@@ -30,3 +30,15 @@ TopOpeBRepTool_define.hxx
|
||||
TopOpeBRepTool_defineG.hxx
|
||||
TopOpeBRepTool_tol.hxx
|
||||
TopOpeBRepTool_tol.cxx
|
||||
TopOpeBRepTool_ListOfC2DF.hxx
|
||||
TopOpeBRepTool_ListIteratorOfListOfC2DF.hxx
|
||||
TopOpeBRepTool_DataMapOfOrientedShapeC2DF.hxx
|
||||
TopOpeBRepTool_DataMapIteratorOfDataMapOfOrientedShapeC2DF.hxx
|
||||
TopOpeBRepTool_DataMapOfShapeListOfC2DF.hxx
|
||||
TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeListOfC2DF.hxx
|
||||
TopOpeBRepTool_IndexedDataMapOfSolidClassifier.hxx
|
||||
TopOpeBRepTool_IndexedDataMapOfShapeBox2d.hxx
|
||||
TopOpeBRepTool_IndexedDataMapOfShapeBox.hxx
|
||||
TopOpeBRepTool_IndexedDataMapOfShapeconnexity.hxx
|
||||
TopOpeBRepTool_DataMapOfShapeface.hxx
|
||||
TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeface.hxx
|
||||
|
@@ -58,38 +58,21 @@ is
|
||||
pointer PSoClassif to SolidClassifier from BRepClass3d;
|
||||
|
||||
class C2DF;
|
||||
class ListOfC2DF instantiates List from TCollection(C2DF from TopOpeBRepTool);
|
||||
class DataMapOfOrientedShapeC2DF
|
||||
instantiates DataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
C2DF from TopOpeBRepTool,
|
||||
OrientedShapeMapHasher from TopTools);
|
||||
class DataMapOfShapeListOfC2DF
|
||||
instantiates DataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
ListOfC2DF from TopOpeBRepTool,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported ListOfC2DF;
|
||||
imported ListIteratorOfListOfC2DF;
|
||||
imported DataMapOfOrientedShapeC2DF;
|
||||
imported DataMapIteratorOfDataMapOfOrientedShapeC2DF;
|
||||
imported DataMapOfShapeListOfC2DF;
|
||||
imported DataMapIteratorOfDataMapOfShapeListOfC2DF;
|
||||
|
||||
class IndexedDataMapOfSolidClassifier
|
||||
instantiates IndexedDataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
SolidClassifier from BRepClass3d,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported IndexedDataMapOfSolidClassifier;
|
||||
|
||||
pointer Plos to ListOfShape from TopTools;
|
||||
class SolidClassifier;
|
||||
|
||||
class CurveTool;
|
||||
class IndexedDataMapOfShapeBox2d
|
||||
instantiates IndexedDataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
Box2d from Bnd,
|
||||
OrientedShapeMapHasher from TopTools);
|
||||
class IndexedDataMapOfShapeBox
|
||||
instantiates IndexedDataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
Box from Bnd,
|
||||
OrientedShapeMapHasher from TopTools);
|
||||
imported IndexedDataMapOfShapeBox2d;
|
||||
imported IndexedDataMapOfShapeBox;
|
||||
|
||||
class HBoxTool;
|
||||
class BoxSort;
|
||||
@@ -100,16 +83,11 @@ is
|
||||
pointer PShapeClassifier to ShapeClassifier from TopOpeBRepTool;
|
||||
|
||||
class connexity;
|
||||
class IndexedDataMapOfShapeconnexity instantiates
|
||||
IndexedDataMap from TCollection (Shape from TopoDS,
|
||||
connexity from TopOpeBRepTool,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported IndexedDataMapOfShapeconnexity;
|
||||
|
||||
class face;
|
||||
class DataMapOfShapeface instantiates
|
||||
DataMap from TCollection (Shape from TopoDS,
|
||||
face from TopOpeBRepTool,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapeface;
|
||||
imported DataMapIteratorOfDataMapOfShapeface;
|
||||
class CLASSI;
|
||||
|
||||
class TOOL;
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef TopOpeBRepTool_DataMapIteratorOfDataMapOfOrientedShapeC2DF_HeaderFile
|
||||
#define TopOpeBRepTool_DataMapIteratorOfDataMapOfOrientedShapeC2DF_HeaderFile
|
||||
|
||||
#include <TopOpeBRepTool_DataMapOfOrientedShapeC2DF.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeListOfC2DF_HeaderFile
|
||||
#define TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeListOfC2DF_HeaderFile
|
||||
|
||||
#include <TopOpeBRepTool_DataMapOfShapeListOfC2DF.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeface_HeaderFile
|
||||
#define TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeface_HeaderFile
|
||||
|
||||
#include <TopOpeBRepTool_DataMapOfShapeface.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,29 @@
|
||||
// Created on: 1993-06-17
|
||||
// Created by: Jean Yves LEBEY
|
||||
// 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 TopOpeBRepTool_DataMapOfOrientedShapeC2DF_HeaderFile
|
||||
#define TopOpeBRepTool_DataMapOfOrientedShapeC2DF_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TopOpeBRepTool_C2DF.hxx>
|
||||
#include <TopTools_OrientedShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,TopOpeBRepTool_C2DF,TopTools_OrientedShapeMapHasher> TopOpeBRepTool_DataMapOfOrientedShapeC2DF;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,TopOpeBRepTool_C2DF,TopTools_OrientedShapeMapHasher>::Iterator TopOpeBRepTool_DataMapIteratorOfDataMapOfOrientedShapeC2DF;
|
||||
|
||||
|
||||
#endif
|
@@ -0,0 +1,29 @@
|
||||
// Created on: 1993-06-17
|
||||
// Created by: Jean Yves LEBEY
|
||||
// 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 TopOpeBRepTool_DataMapOfShapeListOfC2DF_HeaderFile
|
||||
#define TopOpeBRepTool_DataMapOfShapeListOfC2DF_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TopOpeBRepTool_ListOfC2DF.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,TopOpeBRepTool_ListOfC2DF,TopTools_ShapeMapHasher> TopOpeBRepTool_DataMapOfShapeListOfC2DF;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,TopOpeBRepTool_ListOfC2DF,TopTools_ShapeMapHasher>::Iterator TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeListOfC2DF;
|
||||
|
||||
|
||||
#endif
|
29
src/TopOpeBRepTool/TopOpeBRepTool_DataMapOfShapeface.hxx
Normal file
29
src/TopOpeBRepTool/TopOpeBRepTool_DataMapOfShapeface.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1993-06-17
|
||||
// Created by: Jean Yves LEBEY
|
||||
// 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 TopOpeBRepTool_DataMapOfShapeface_HeaderFile
|
||||
#define TopOpeBRepTool_DataMapOfShapeface_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TopOpeBRepTool_face.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,TopOpeBRepTool_face,TopTools_ShapeMapHasher> TopOpeBRepTool_DataMapOfShapeface;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,TopOpeBRepTool_face,TopTools_ShapeMapHasher>::Iterator TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeface;
|
||||
|
||||
|
||||
#endif
|
@@ -0,0 +1,28 @@
|
||||
// Created on: 1993-06-17
|
||||
// Created by: Jean Yves LEBEY
|
||||
// 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 TopOpeBRepTool_IndexedDataMapOfShapeBox_HeaderFile
|
||||
#define TopOpeBRepTool_IndexedDataMapOfShapeBox_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <Bnd_Box.hxx>
|
||||
#include <TopTools_OrientedShapeMapHasher.hxx>
|
||||
#include <NCollection_IndexedDataMap.hxx>
|
||||
|
||||
typedef NCollection_IndexedDataMap<TopoDS_Shape,Bnd_Box,TopTools_OrientedShapeMapHasher> TopOpeBRepTool_IndexedDataMapOfShapeBox;
|
||||
|
||||
|
||||
#endif
|
@@ -0,0 +1,28 @@
|
||||
// Created on: 1993-06-17
|
||||
// Created by: Jean Yves LEBEY
|
||||
// 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 TopOpeBRepTool_IndexedDataMapOfShapeBox2d_HeaderFile
|
||||
#define TopOpeBRepTool_IndexedDataMapOfShapeBox2d_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <Bnd_Box2d.hxx>
|
||||
#include <TopTools_OrientedShapeMapHasher.hxx>
|
||||
#include <NCollection_IndexedDataMap.hxx>
|
||||
|
||||
typedef NCollection_IndexedDataMap<TopoDS_Shape,Bnd_Box2d,TopTools_OrientedShapeMapHasher> TopOpeBRepTool_IndexedDataMapOfShapeBox2d;
|
||||
|
||||
|
||||
#endif
|
@@ -0,0 +1,28 @@
|
||||
// Created on: 1993-06-17
|
||||
// Created by: Jean Yves LEBEY
|
||||
// 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 TopOpeBRepTool_IndexedDataMapOfShapeconnexity_HeaderFile
|
||||
#define TopOpeBRepTool_IndexedDataMapOfShapeconnexity_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TopOpeBRepTool_connexity.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_IndexedDataMap.hxx>
|
||||
|
||||
typedef NCollection_IndexedDataMap<TopoDS_Shape,TopOpeBRepTool_connexity,TopTools_ShapeMapHasher> TopOpeBRepTool_IndexedDataMapOfShapeconnexity;
|
||||
|
||||
|
||||
#endif
|
@@ -0,0 +1,28 @@
|
||||
// Created on: 1993-06-17
|
||||
// Created by: Jean Yves LEBEY
|
||||
// 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 TopOpeBRepTool_IndexedDataMapOfSolidClassifier_HeaderFile
|
||||
#define TopOpeBRepTool_IndexedDataMapOfSolidClassifier_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <BRepClass3d_SolidClassifier.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_IndexedDataMap.hxx>
|
||||
|
||||
typedef NCollection_IndexedDataMap<TopoDS_Shape,BRepClass3d_SolidClassifier,TopTools_ShapeMapHasher> TopOpeBRepTool_IndexedDataMapOfSolidClassifier;
|
||||
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef TopOpeBRepTool_ListIteratorOfListOfC2DF_HeaderFile
|
||||
#define TopOpeBRepTool_ListIteratorOfListOfC2DF_HeaderFile
|
||||
|
||||
#include <TopOpeBRepTool_ListOfC2DF.hxx>
|
||||
|
||||
#endif
|
27
src/TopOpeBRepTool/TopOpeBRepTool_ListOfC2DF.hxx
Normal file
27
src/TopOpeBRepTool/TopOpeBRepTool_ListOfC2DF.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-06-17
|
||||
// Created by: Jean Yves LEBEY
|
||||
// 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 TopOpeBRepTool_ListOfC2DF_HeaderFile
|
||||
#define TopOpeBRepTool_ListOfC2DF_HeaderFile
|
||||
|
||||
#include <TopOpeBRepTool_C2DF.hxx>
|
||||
#include <NCollection_List.hxx>
|
||||
|
||||
typedef NCollection_List<TopOpeBRepTool_C2DF> TopOpeBRepTool_ListOfC2DF;
|
||||
typedef NCollection_List<TopOpeBRepTool_C2DF>::Iterator TopOpeBRepTool_ListIteratorOfListOfC2DF;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user