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

@@ -98,23 +98,21 @@ is
class Interval;
class ListOfInterval instantiates
List from TCollection (Interval from BRepOffset);
imported ListOfInterval;
imported ListIteratorOfListOfInterval;
class DataMapOfShapeListOfInterval instantiates
DataMap from TCollection(Shape from TopoDS,
ListOfInterval from BRepOffset,
ShapeMapHasher from TopTools );
imported DataMapOfShapeListOfInterval;
class DataMapOfShapeOffset instantiates
DataMap from TCollection(Shape from TopoDS,
Offset from BRepOffset,
ShapeMapHasher from TopTools );
imported DataMapIteratorOfDataMapOfShapeListOfInterval;
imported DataMapOfShapeOffset;
imported DataMapIteratorOfDataMapOfShapeOffset;
class DataMapOfShapeMapOfShape instantiates
DataMap from TCollection(Shape from TopoDS,
MapOfShape from TopTools,
ShapeMapHasher from TopTools);
imported DataMapOfShapeMapOfShape;
imported DataMapIteratorOfDataMapOfShapeMapOfShape;
Surface( Surface : in Surface from Geom;

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,29 @@
// Created on: 1995-10-12
// Created by: Bruno DUMORTIER
// Copyright (c) 1995-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 BRepOffset_DataMapOfShapeListOfInterval_HeaderFile
#define BRepOffset_DataMapOfShapeListOfInterval_HeaderFile
#include <TopoDS_Shape.hxx>
#include <BRepOffset_ListOfInterval.hxx>
#include <TopTools_ShapeMapHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TopoDS_Shape,BRepOffset_ListOfInterval,TopTools_ShapeMapHasher> BRepOffset_DataMapOfShapeListOfInterval;
typedef NCollection_DataMap<TopoDS_Shape,BRepOffset_ListOfInterval,TopTools_ShapeMapHasher>::Iterator BRepOffset_DataMapIteratorOfDataMapOfShapeListOfInterval;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1995-10-12
// Created by: Bruno DUMORTIER
// Copyright (c) 1995-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 BRepOffset_DataMapOfShapeMapOfShape_HeaderFile
#define BRepOffset_DataMapOfShapeMapOfShape_HeaderFile
#include <TopoDS_Shape.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopTools_ShapeMapHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TopoDS_Shape,TopTools_MapOfShape,TopTools_ShapeMapHasher> BRepOffset_DataMapOfShapeMapOfShape;
typedef NCollection_DataMap<TopoDS_Shape,TopTools_MapOfShape,TopTools_ShapeMapHasher>::Iterator BRepOffset_DataMapIteratorOfDataMapOfShapeMapOfShape;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1995-10-12
// Created by: Bruno DUMORTIER
// Copyright (c) 1995-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 BRepOffset_DataMapOfShapeOffset_HeaderFile
#define BRepOffset_DataMapOfShapeOffset_HeaderFile
#include <TopoDS_Shape.hxx>
#include <BRepOffset_Offset.hxx>
#include <TopTools_ShapeMapHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TopoDS_Shape,BRepOffset_Offset,TopTools_ShapeMapHasher> BRepOffset_DataMapOfShapeOffset;
typedef NCollection_DataMap<TopoDS_Shape,BRepOffset_Offset,TopTools_ShapeMapHasher>::Iterator BRepOffset_DataMapIteratorOfDataMapOfShapeOffset;
#endif

View File

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

View File

@@ -0,0 +1,27 @@
// Created on: 1995-10-12
// Created by: Bruno DUMORTIER
// Copyright (c) 1995-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 BRepOffset_ListOfInterval_HeaderFile
#define BRepOffset_ListOfInterval_HeaderFile
#include <BRepOffset_Interval.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<BRepOffset_Interval> BRepOffset_ListOfInterval;
typedef NCollection_List<BRepOffset_Interval>::Iterator BRepOffset_ListIteratorOfListOfInterval;
#endif

8
src/BRepOffset/FILES Normal file
View File

@@ -0,0 +1,8 @@
BRepOffset_ListOfInterval.hxx
BRepOffset_ListIteratorOfListOfInterval.hxx
BRepOffset_DataMapOfShapeListOfInterval.hxx
BRepOffset_DataMapIteratorOfDataMapOfShapeListOfInterval.hxx
BRepOffset_DataMapOfShapeOffset.hxx
BRepOffset_DataMapIteratorOfDataMapOfShapeOffset.hxx
BRepOffset_DataMapOfShapeMapOfShape.hxx
BRepOffset_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx