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

10
src/MAT/FILES Normal file
View File

@@ -0,0 +1,10 @@
MAT_SequenceOfBasicElt.hxx
MAT_SequenceOfArc.hxx
MAT_DataMapOfIntegerArc.hxx
MAT_DataMapIteratorOfDataMapOfIntegerArc.hxx
MAT_DataMapOfIntegerBasicElt.hxx
MAT_DataMapIteratorOfDataMapOfIntegerBasicElt.hxx
MAT_DataMapOfIntegerNode.hxx
MAT_DataMapIteratorOfDataMapOfIntegerNode.hxx
MAT_DataMapOfIntegerBisector.hxx
MAT_DataMapIteratorOfDataMapOfIntegerBisector.hxx

View File

@@ -39,26 +39,21 @@ is
class Zone;
class SequenceOfBasicElt instantiates Sequence from TCollection
(BasicElt from MAT);
imported SequenceOfBasicElt;
class SequenceOfArc instantiates Sequence from TCollection
(Arc from MAT) ;
imported SequenceOfArc;
class DataMapOfIntegerArc instantiates
DataMap from TCollection(Integer from Standard,
Arc from MAT ,
MapIntegerHasher from TColStd);
imported DataMapOfIntegerArc;
class DataMapOfIntegerBasicElt instantiates
DataMap from TCollection(Integer from Standard,
BasicElt from MAT ,
MapIntegerHasher from TColStd);
imported DataMapIteratorOfDataMapOfIntegerArc;
imported DataMapOfIntegerBasicElt;
imported DataMapIteratorOfDataMapOfIntegerBasicElt;
class DataMapOfIntegerNode instantiates
DataMap from TCollection(Integer from Standard,
Node from MAT ,
MapIntegerHasher from TColStd);
imported DataMapOfIntegerNode;
imported DataMapIteratorOfDataMapOfIntegerNode;
---------------------------------------------------
@@ -69,10 +64,9 @@ is
class Bisector;
class DataMapOfIntegerBisector instantiates
DataMap from TCollection(Integer from Standard,
Bisector from MAT ,
MapIntegerHasher from TColStd);
imported DataMapOfIntegerBisector;
imported DataMapIteratorOfDataMapOfIntegerBisector;
class ListOfBisector instantiates TList from MAT (Bisector from MAT);

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,29 @@
// Created on: 1992-09-22
// Created by: Gilles DEBARBOUILLE
// Copyright (c) 1992-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 MAT_DataMapOfIntegerArc_HeaderFile
#define MAT_DataMapOfIntegerArc_HeaderFile
#include <Standard_Integer.hxx>
#include <MAT_Arc.hxx>
#include <TColStd_MapIntegerHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Standard_Integer,Handle(MAT_Arc),TColStd_MapIntegerHasher> MAT_DataMapOfIntegerArc;
typedef NCollection_DataMap<Standard_Integer,Handle(MAT_Arc),TColStd_MapIntegerHasher>::Iterator MAT_DataMapIteratorOfDataMapOfIntegerArc;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1992-09-22
// Created by: Gilles DEBARBOUILLE
// Copyright (c) 1992-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 MAT_DataMapOfIntegerBasicElt_HeaderFile
#define MAT_DataMapOfIntegerBasicElt_HeaderFile
#include <Standard_Integer.hxx>
#include <MAT_BasicElt.hxx>
#include <TColStd_MapIntegerHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Standard_Integer,Handle(MAT_BasicElt),TColStd_MapIntegerHasher> MAT_DataMapOfIntegerBasicElt;
typedef NCollection_DataMap<Standard_Integer,Handle(MAT_BasicElt),TColStd_MapIntegerHasher>::Iterator MAT_DataMapIteratorOfDataMapOfIntegerBasicElt;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1992-09-22
// Created by: Gilles DEBARBOUILLE
// Copyright (c) 1992-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 MAT_DataMapOfIntegerBisector_HeaderFile
#define MAT_DataMapOfIntegerBisector_HeaderFile
#include <Standard_Integer.hxx>
#include <MAT_Bisector.hxx>
#include <TColStd_MapIntegerHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Standard_Integer,Handle(MAT_Bisector),TColStd_MapIntegerHasher> MAT_DataMapOfIntegerBisector;
typedef NCollection_DataMap<Standard_Integer,Handle(MAT_Bisector),TColStd_MapIntegerHasher>::Iterator MAT_DataMapIteratorOfDataMapOfIntegerBisector;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1992-09-22
// Created by: Gilles DEBARBOUILLE
// Copyright (c) 1992-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 MAT_DataMapOfIntegerNode_HeaderFile
#define MAT_DataMapOfIntegerNode_HeaderFile
#include <Standard_Integer.hxx>
#include <MAT_Node.hxx>
#include <TColStd_MapIntegerHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Standard_Integer,Handle(MAT_Node),TColStd_MapIntegerHasher> MAT_DataMapOfIntegerNode;
typedef NCollection_DataMap<Standard_Integer,Handle(MAT_Node),TColStd_MapIntegerHasher>::Iterator MAT_DataMapIteratorOfDataMapOfIntegerNode;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1992-09-22
// Created by: Gilles DEBARBOUILLE
// Copyright (c) 1992-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 MAT_SequenceOfArc_HeaderFile
#define MAT_SequenceOfArc_HeaderFile
#include <MAT_Arc.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(MAT_Arc)> MAT_SequenceOfArc;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1992-09-22
// Created by: Gilles DEBARBOUILLE
// Copyright (c) 1992-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 MAT_SequenceOfBasicElt_HeaderFile
#define MAT_SequenceOfBasicElt_HeaderFile
#include <MAT_BasicElt.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(MAT_BasicElt)> MAT_SequenceOfBasicElt;
#endif