1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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

18
src/MAT2d/FILES Normal file
View File

@@ -0,0 +1,18 @@
MAT2d_SequenceOfConnexion.hxx
MAT2d_DataMapOfIntegerSequenceOfConnexion.hxx
MAT2d_DataMapIteratorOfDataMapOfIntegerSequenceOfConnexion.hxx
MAT2d_Array2OfConnexion.hxx
MAT2d_DataMapOfIntegerBisec.hxx
MAT2d_DataMapIteratorOfDataMapOfIntegerBisec.hxx
MAT2d_DataMapOfIntegerPnt2d.hxx
MAT2d_DataMapIteratorOfDataMapOfIntegerPnt2d.hxx
MAT2d_DataMapOfIntegerVec2d.hxx
MAT2d_DataMapIteratorOfDataMapOfIntegerVec2d.hxx
MAT2d_SequenceOfSequenceOfCurve.hxx
MAT2d_SequenceOfSequenceOfGeometry.hxx
MAT2d_DataMapOfIntegerConnexion.hxx
MAT2d_DataMapIteratorOfDataMapOfIntegerConnexion.hxx
MAT2d_DataMapOfBiIntSequenceOfInteger.hxx
MAT2d_DataMapIteratorOfDataMapOfBiIntSequenceOfInteger.hxx
MAT2d_DataMapOfBiIntInteger.hxx
MAT2d_DataMapIteratorOfDataMapOfBiIntInteger.hxx

View File

@@ -47,57 +47,47 @@ is
class CutCurve;
class SequenceOfConnexion instantiates Sequence from TCollection
(Connexion from MAT2d);
imported SequenceOfConnexion;
class DataMapOfIntegerSequenceOfConnexion instantiates DataMap
from TCollection (Integer from Standard,
SequenceOfConnexion from MAT2d,
MapIntegerHasher from TColStd);
imported DataMapOfIntegerSequenceOfConnexion;
imported DataMapIteratorOfDataMapOfIntegerSequenceOfConnexion;
class Array2OfConnexion instantiates Array2 from TCollection
(Connexion from MAT2d);
imported Array2OfConnexion;
class DataMapOfIntegerBisec instantiates DataMap from TCollection
(Integer from Standard,
Bisec from Bisector,
MapIntegerHasher from TColStd);
imported DataMapOfIntegerBisec;
imported DataMapIteratorOfDataMapOfIntegerBisec;
class DataMapOfIntegerPnt2d instantiates DataMap from TCollection
(Integer from Standard,
Pnt2d from gp,
MapIntegerHasher from TColStd);
imported DataMapOfIntegerPnt2d;
imported DataMapIteratorOfDataMapOfIntegerPnt2d;
class DataMapOfIntegerVec2d instantiates DataMap from TCollection
(Integer from Standard,
Vec2d from gp,
MapIntegerHasher from TColStd);
imported DataMapOfIntegerVec2d;
imported DataMapIteratorOfDataMapOfIntegerVec2d;
class SequenceOfSequenceOfCurve instantiates Sequence from TCollection
(SequenceOfCurve from TColGeom2d);
imported SequenceOfSequenceOfCurve;
class SequenceOfSequenceOfGeometry instantiates Sequence from TCollection
(SequenceOfGeometry from TColGeom2d);
imported SequenceOfSequenceOfGeometry;
class DataMapOfIntegerConnexion instantiates DataMap from TCollection
(Integer from Standard,
Connexion from MAT2d,
MapIntegerHasher from TColStd);
imported DataMapOfIntegerConnexion;
imported DataMapIteratorOfDataMapOfIntegerConnexion;
class BiInt;
class MapBiIntHasher;
class DataMapOfBiIntSequenceOfInteger instantiates DataMap
from TCollection (BiInt from MAT2d,
SequenceOfInteger from TColStd,
MapBiIntHasher from MAT2d);
imported DataMapOfBiIntSequenceOfInteger;
imported DataMapIteratorOfDataMapOfBiIntSequenceOfInteger;
class DataMapOfBiIntInteger instantiates DataMap
from TCollection (BiInt from MAT2d,
Integer from Standard,
MapBiIntHasher from MAT2d);
imported DataMapOfBiIntInteger;
imported DataMapIteratorOfDataMapOfBiIntInteger;
end MAT2d;

View File

@@ -0,0 +1,26 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_Array2OfConnexion_HeaderFile
#define MAT2d_Array2OfConnexion_HeaderFile
#include <MAT2d_Connexion.hxx>
#include <NCollection_Array2.hxx>
typedef NCollection_Array2<Handle(MAT2d_Connexion)> MAT2d_Array2OfConnexion;
#endif

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,29 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_DataMapOfBiIntInteger_HeaderFile
#define MAT2d_DataMapOfBiIntInteger_HeaderFile
#include <MAT2d_BiInt.hxx>
#include <Standard_Integer.hxx>
#include <MAT2d_MapBiIntHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<MAT2d_BiInt,Standard_Integer,MAT2d_MapBiIntHasher> MAT2d_DataMapOfBiIntInteger;
typedef NCollection_DataMap<MAT2d_BiInt,Standard_Integer,MAT2d_MapBiIntHasher>::Iterator MAT2d_DataMapIteratorOfDataMapOfBiIntInteger;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_DataMapOfBiIntSequenceOfInteger_HeaderFile
#define MAT2d_DataMapOfBiIntSequenceOfInteger_HeaderFile
#include <MAT2d_BiInt.hxx>
#include <TColStd_SequenceOfInteger.hxx>
#include <MAT2d_MapBiIntHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<MAT2d_BiInt,TColStd_SequenceOfInteger,MAT2d_MapBiIntHasher> MAT2d_DataMapOfBiIntSequenceOfInteger;
typedef NCollection_DataMap<MAT2d_BiInt,TColStd_SequenceOfInteger,MAT2d_MapBiIntHasher>::Iterator MAT2d_DataMapIteratorOfDataMapOfBiIntSequenceOfInteger;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_DataMapOfIntegerBisec_HeaderFile
#define MAT2d_DataMapOfIntegerBisec_HeaderFile
#include <Standard_Integer.hxx>
#include <Bisector_Bisec.hxx>
#include <TColStd_MapIntegerHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Standard_Integer,Bisector_Bisec,TColStd_MapIntegerHasher> MAT2d_DataMapOfIntegerBisec;
typedef NCollection_DataMap<Standard_Integer,Bisector_Bisec,TColStd_MapIntegerHasher>::Iterator MAT2d_DataMapIteratorOfDataMapOfIntegerBisec;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_DataMapOfIntegerConnexion_HeaderFile
#define MAT2d_DataMapOfIntegerConnexion_HeaderFile
#include <Standard_Integer.hxx>
#include <MAT2d_Connexion.hxx>
#include <TColStd_MapIntegerHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Standard_Integer,Handle(MAT2d_Connexion),TColStd_MapIntegerHasher> MAT2d_DataMapOfIntegerConnexion;
typedef NCollection_DataMap<Standard_Integer,Handle(MAT2d_Connexion),TColStd_MapIntegerHasher>::Iterator MAT2d_DataMapIteratorOfDataMapOfIntegerConnexion;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_DataMapOfIntegerPnt2d_HeaderFile
#define MAT2d_DataMapOfIntegerPnt2d_HeaderFile
#include <Standard_Integer.hxx>
#include <gp_Pnt2d.hxx>
#include <TColStd_MapIntegerHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Standard_Integer,gp_Pnt2d,TColStd_MapIntegerHasher> MAT2d_DataMapOfIntegerPnt2d;
typedef NCollection_DataMap<Standard_Integer,gp_Pnt2d,TColStd_MapIntegerHasher>::Iterator MAT2d_DataMapIteratorOfDataMapOfIntegerPnt2d;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_DataMapOfIntegerSequenceOfConnexion_HeaderFile
#define MAT2d_DataMapOfIntegerSequenceOfConnexion_HeaderFile
#include <Standard_Integer.hxx>
#include <MAT2d_SequenceOfConnexion.hxx>
#include <TColStd_MapIntegerHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Standard_Integer,MAT2d_SequenceOfConnexion,TColStd_MapIntegerHasher> MAT2d_DataMapOfIntegerSequenceOfConnexion;
typedef NCollection_DataMap<Standard_Integer,MAT2d_SequenceOfConnexion,TColStd_MapIntegerHasher>::Iterator MAT2d_DataMapIteratorOfDataMapOfIntegerSequenceOfConnexion;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_DataMapOfIntegerVec2d_HeaderFile
#define MAT2d_DataMapOfIntegerVec2d_HeaderFile
#include <Standard_Integer.hxx>
#include <gp_Vec2d.hxx>
#include <TColStd_MapIntegerHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Standard_Integer,gp_Vec2d,TColStd_MapIntegerHasher> MAT2d_DataMapOfIntegerVec2d;
typedef NCollection_DataMap<Standard_Integer,gp_Vec2d,TColStd_MapIntegerHasher>::Iterator MAT2d_DataMapIteratorOfDataMapOfIntegerVec2d;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_SequenceOfConnexion_HeaderFile
#define MAT2d_SequenceOfConnexion_HeaderFile
#include <MAT2d_Connexion.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(MAT2d_Connexion)> MAT2d_SequenceOfConnexion;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_SequenceOfSequenceOfCurve_HeaderFile
#define MAT2d_SequenceOfSequenceOfCurve_HeaderFile
#include <TColGeom2d_SequenceOfCurve.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<TColGeom2d_SequenceOfCurve> MAT2d_SequenceOfSequenceOfCurve;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-07-06
// Created by: Yves FRICAUD
// 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 MAT2d_SequenceOfSequenceOfGeometry_HeaderFile
#define MAT2d_SequenceOfSequenceOfGeometry_HeaderFile
#include <TColGeom2d_SequenceOfGeometry.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<TColGeom2d_SequenceOfGeometry> MAT2d_SequenceOfSequenceOfGeometry;
#endif