1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +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:
abv
2015-06-28 15:16:42 +03:00
parent 4f953fa991
commit df8d39700d
1424 changed files with 28413 additions and 2013 deletions

View File

@@ -34,3 +34,14 @@ TopOpeBRepBuild_ffsfs.cxx
TopOpeBRepBuild_BuilderON2d.cxx
TopOpeBRepBuild_fctwes.cxx
TopOpeBRepBuild_ffwesk.cxx
TopOpeBRepBuild_ListOfLoop.hxx
TopOpeBRepBuild_ListIteratorOfListOfLoop.hxx
TopOpeBRepBuild_ListOfListOfLoop.hxx
TopOpeBRepBuild_ListIteratorOfListOfListOfLoop.hxx
TopOpeBRepBuild_ListOfPave.hxx
TopOpeBRepBuild_ListIteratorOfListOfPave.hxx
TopOpeBRepBuild_ListOfShapeListOfShape.hxx
TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape.hxx
TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape.hxx
TopOpeBRepBuild_DataMapIteratorOfDataMapOfShapeListOfShapeListOfShape.hxx
TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo.hxx

View File

@@ -43,15 +43,18 @@ uses
is
class Loop;
class ListOfLoop instantiates List from TCollection(Loop);
imported ListOfLoop;
imported ListIteratorOfListOfLoop;
class LoopSet;
deferred class LoopClassifier;
enumeration LoopEnum is ANYLOOP,BOUNDARY,BLOCK end LoopEnum;
class ListOfListOfLoop instantiates List from TCollection(ListOfLoop);
imported ListOfListOfLoop;
imported ListIteratorOfListOfListOfLoop;
class AreaBuilder;
class Pave;
class ListOfPave instantiates List from TCollection(Pave);
imported ListOfPave;
imported ListIteratorOfListOfPave;
class PaveSet;
class PaveClassifier;
class Area1dBuilder;
@@ -85,10 +88,10 @@ is
class SolidBuilder;
class ShapeListOfShape;
class ListOfShapeListOfShape instantiates List from TCollection(ShapeListOfShape);
class DataMapOfShapeListOfShapeListOfShape
instantiates DataMap from TCollection
(Shape from TopoDS,ListOfShapeListOfShape,ShapeMapHasher from TopTools);
imported ListOfShapeListOfShape;
imported ListIteratorOfListOfShapeListOfShape;
imported DataMapOfShapeListOfShapeListOfShape;
imported DataMapIteratorOfDataMapOfShapeListOfShapeListOfShape;
class GTopo; pointer PGTopo to GTopo from TopOpeBRepBuild;
class GIter;
@@ -108,10 +111,7 @@ is
class CorrectFace2d;
class VertexInfo;
class Tools2d;
class IndexedDataMapOfShapeVertexInfo instantiates
IndexedDataMap from TCollection (Shape from TopoDS,
VertexInfo from TopOpeBRepBuild,
ShapeMapHasher from TopTools);
imported IndexedDataMapOfShapeVertexInfo;
--modified by NIZNHY-PKV Thu Feb 10 11:25:19 2000 to

View File

@@ -0,0 +1,8 @@
#ifndef TopOpeBRepBuild_DataMapIteratorOfDataMapOfShapeListOfShapeListOfShape_HeaderFile
#define TopOpeBRepBuild_DataMapIteratorOfDataMapOfShapeListOfShapeListOfShape_HeaderFile
#include <TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape.hxx>
#endif

View 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 TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape_HeaderFile
#define TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape_HeaderFile
#include <TopoDS_Shape.hxx>
#include <TopOpeBRepBuild_ListOfShapeListOfShape.hxx>
#include <TopTools_ShapeMapHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TopoDS_Shape,TopOpeBRepBuild_ListOfShapeListOfShape,TopTools_ShapeMapHasher> TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape;
typedef NCollection_DataMap<TopoDS_Shape,TopOpeBRepBuild_ListOfShapeListOfShape,TopTools_ShapeMapHasher>::Iterator TopOpeBRepBuild_DataMapIteratorOfDataMapOfShapeListOfShapeListOfShape;
#endif

View File

@@ -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 TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo_HeaderFile
#define TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo_HeaderFile
#include <TopoDS_Shape.hxx>
#include <TopOpeBRepBuild_VertexInfo.hxx>
#include <TopTools_ShapeMapHasher.hxx>
#include <NCollection_IndexedDataMap.hxx>
typedef NCollection_IndexedDataMap<TopoDS_Shape,TopOpeBRepBuild_VertexInfo,TopTools_ShapeMapHasher> TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo;
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TopOpeBRepBuild_ListIteratorOfListOfListOfLoop_HeaderFile
#define TopOpeBRepBuild_ListIteratorOfListOfListOfLoop_HeaderFile
#include <TopOpeBRepBuild_ListOfListOfLoop.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TopOpeBRepBuild_ListIteratorOfListOfLoop_HeaderFile
#define TopOpeBRepBuild_ListIteratorOfListOfLoop_HeaderFile
#include <TopOpeBRepBuild_ListOfLoop.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TopOpeBRepBuild_ListIteratorOfListOfPave_HeaderFile
#define TopOpeBRepBuild_ListIteratorOfListOfPave_HeaderFile
#include <TopOpeBRepBuild_ListOfPave.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape_HeaderFile
#define TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape_HeaderFile
#include <TopOpeBRepBuild_ListOfShapeListOfShape.hxx>
#endif

View 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 TopOpeBRepBuild_ListOfListOfLoop_HeaderFile
#define TopOpeBRepBuild_ListOfListOfLoop_HeaderFile
#include <TopOpeBRepBuild_ListOfLoop.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<TopOpeBRepBuild_ListOfLoop> TopOpeBRepBuild_ListOfListOfLoop;
typedef NCollection_List<TopOpeBRepBuild_ListOfLoop>::Iterator TopOpeBRepBuild_ListIteratorOfListOfListOfLoop;
#endif

View 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 TopOpeBRepBuild_ListOfLoop_HeaderFile
#define TopOpeBRepBuild_ListOfLoop_HeaderFile
#include <TopOpeBRepBuild_Loop.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Handle(TopOpeBRepBuild_Loop)> TopOpeBRepBuild_ListOfLoop;
typedef NCollection_List<Handle(TopOpeBRepBuild_Loop)>::Iterator TopOpeBRepBuild_ListIteratorOfListOfLoop;
#endif

View 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 TopOpeBRepBuild_ListOfPave_HeaderFile
#define TopOpeBRepBuild_ListOfPave_HeaderFile
#include <TopOpeBRepBuild_Pave.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Handle(TopOpeBRepBuild_Pave)> TopOpeBRepBuild_ListOfPave;
typedef NCollection_List<Handle(TopOpeBRepBuild_Pave)>::Iterator TopOpeBRepBuild_ListIteratorOfListOfPave;
#endif

View 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 TopOpeBRepBuild_ListOfShapeListOfShape_HeaderFile
#define TopOpeBRepBuild_ListOfShapeListOfShape_HeaderFile
#include <TopOpeBRepBuild_ShapeListOfShape.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<TopOpeBRepBuild_ShapeListOfShape> TopOpeBRepBuild_ListOfShapeListOfShape;
typedef NCollection_List<TopOpeBRepBuild_ShapeListOfShape>::Iterator TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape;
#endif