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

22
src/IntTools/FILES Normal file
View File

@@ -0,0 +1,22 @@
IntTools_SequenceOfPntOn2Faces.hxx
IntTools_SequenceOfCurves.hxx
IntTools_SequenceOfRanges.hxx
IntTools_SequenceOfRoots.hxx
IntTools_Array1OfRoots.hxx
IntTools_Array1OfRange.hxx
IntTools_SequenceOfCommonPrts.hxx
IntTools_IndexedDataMapOfTransientAddress.hxx
IntTools_ListOfCurveRangeSample.hxx
IntTools_ListIteratorOfListOfCurveRangeSample.hxx
IntTools_ListOfSurfaceRangeSample.hxx
IntTools_ListIteratorOfListOfSurfaceRangeSample.hxx
IntTools_ListOfBox.hxx
IntTools_ListIteratorOfListOfBox.hxx
IntTools_MapOfCurveSample.hxx
IntTools_MapIteratorOfMapOfCurveSample.hxx
IntTools_MapOfSurfaceSample.hxx
IntTools_MapIteratorOfMapOfSurfaceSample.hxx
IntTools_DataMapOfCurveSampleBox.hxx
IntTools_DataMapIteratorOfDataMapOfCurveSampleBox.hxx
IntTools_DataMapOfSurfaceSampleBox.hxx
IntTools_DataMapIteratorOfDataMapOfSurfaceSampleBox.hxx

View File

@@ -96,15 +96,12 @@ is
---
--- I n s t a n t i a t i o n s
---
class SequenceOfPntOn2Faces instantiates
Sequence from TCollection(PntOn2Faces from IntTools);
imported SequenceOfPntOn2Faces;
--
class SequenceOfCurves instantiates
Sequence from TCollection(Curve from IntTools);
imported SequenceOfCurves;
class SequenceOfRanges instantiates
Sequence from TCollection(Range from IntTools);
imported SequenceOfRanges;
class CArray1OfInteger instantiates
CArray1(Integer from Standard);
@@ -112,14 +109,11 @@ is
class CArray1OfReal instantiates
CArray1(Real from Standard);
class SequenceOfRoots instantiates
Sequence from TCollection(Root from IntTools);
imported SequenceOfRoots;
class Array1OfRoots instantiates
Array1 from TCollection (Root from IntTools);
imported Array1OfRoots;
class Array1OfRange instantiates
Array1 from TCollection (Range from IntTools);
imported Array1OfRange;
class QuickSort instantiates
QuickSort from SortTools (Root from IntTools,
@@ -130,45 +124,43 @@ is
QuickSort from SortTools (Range from IntTools,
Array1OfRange from IntTools,
CompareRange from IntTools);
class SequenceOfCommonPrts instantiates
Sequence from TCollection(CommonPrt from IntTools);
imported SequenceOfCommonPrts;
class IndexedDataMapOfTransientAddress instantiates
IndexedDataMap from TCollection(Transient from Standard,
Address from Standard,
MapTransientHasher from TColStd);
imported IndexedDataMapOfTransientAddress;
class ListOfCurveRangeSample instantiates
List from TCollection(CurveRangeSample from IntTools);
imported ListOfCurveRangeSample;
class ListOfSurfaceRangeSample instantiates
List from TCollection(SurfaceRangeSample from IntTools);
imported ListIteratorOfListOfCurveRangeSample;
class ListOfBox instantiates
List from TCollection(Box from Bnd);
imported ListOfSurfaceRangeSample;
imported ListIteratorOfListOfSurfaceRangeSample;
imported ListOfBox;
imported ListIteratorOfListOfBox;
class CurveRangeSampleMapHasher;
class SurfaceRangeSampleMapHasher;
class MapOfCurveSample instantiates
Map from TCollection(CurveRangeSample from IntTools,
CurveRangeSampleMapHasher from IntTools);
class MapOfSurfaceSample instantiates
Map from TCollection(SurfaceRangeSample from IntTools,
SurfaceRangeSampleMapHasher from IntTools);
imported MapOfCurveSample;
class DataMapOfCurveSampleBox instantiates
DataMap from TCollection(CurveRangeSample from IntTools,
Box from Bnd,
CurveRangeSampleMapHasher from IntTools);
imported MapIteratorOfMapOfCurveSample;
imported MapOfSurfaceSample;
imported MapIteratorOfMapOfSurfaceSample;
imported DataMapOfCurveSampleBox;
imported DataMapIteratorOfDataMapOfCurveSampleBox;
class DataMapOfSurfaceSampleBox instantiates
DataMap from TCollection(SurfaceRangeSample from IntTools,
Box from Bnd,
SurfaceRangeSampleMapHasher from IntTools);
imported DataMapOfSurfaceSampleBox;
imported DataMapIteratorOfDataMapOfSurfaceSampleBox;
-----------------------------------------------------
-- Block of static functions
-----------------------------------------------------

View File

@@ -0,0 +1,25 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_Array1OfRange_HeaderFile
#define IntTools_Array1OfRange_HeaderFile
#include <IntTools_Range.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<IntTools_Range> IntTools_Array1OfRange;
#endif

View File

@@ -0,0 +1,25 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_Array1OfRoots_HeaderFile
#define IntTools_Array1OfRoots_HeaderFile
#include <IntTools_Root.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<IntTools_Root> IntTools_Array1OfRoots;
#endif

View File

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

View File

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

View File

@@ -0,0 +1,28 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_DataMapOfCurveSampleBox_HeaderFile
#define IntTools_DataMapOfCurveSampleBox_HeaderFile
#include <IntTools_CurveRangeSample.hxx>
#include <Bnd_Box.hxx>
#include <IntTools_CurveRangeSampleMapHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<IntTools_CurveRangeSample,Bnd_Box,IntTools_CurveRangeSampleMapHasher> IntTools_DataMapOfCurveSampleBox;
typedef NCollection_DataMap<IntTools_CurveRangeSample,Bnd_Box,IntTools_CurveRangeSampleMapHasher>::Iterator IntTools_DataMapIteratorOfDataMapOfCurveSampleBox;
#endif

View File

@@ -0,0 +1,28 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_DataMapOfSurfaceSampleBox_HeaderFile
#define IntTools_DataMapOfSurfaceSampleBox_HeaderFile
#include <IntTools_SurfaceRangeSample.hxx>
#include <Bnd_Box.hxx>
#include <IntTools_SurfaceRangeSampleMapHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<IntTools_SurfaceRangeSample,Bnd_Box,IntTools_SurfaceRangeSampleMapHasher> IntTools_DataMapOfSurfaceSampleBox;
typedef NCollection_DataMap<IntTools_SurfaceRangeSample,Bnd_Box,IntTools_SurfaceRangeSampleMapHasher>::Iterator IntTools_DataMapIteratorOfDataMapOfSurfaceSampleBox;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_IndexedDataMapOfTransientAddress_HeaderFile
#define IntTools_IndexedDataMapOfTransientAddress_HeaderFile
#include <Standard_Transient.hxx>
#include <Standard_Address.hxx>
#include <TColStd_MapTransientHasher.hxx>
#include <NCollection_IndexedDataMap.hxx>
typedef NCollection_IndexedDataMap<Handle(Standard_Transient),Standard_Address,TColStd_MapTransientHasher> IntTools_IndexedDataMapOfTransientAddress;
#endif

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,26 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_ListOfBox_HeaderFile
#define IntTools_ListOfBox_HeaderFile
#include <Bnd_Box.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Bnd_Box> IntTools_ListOfBox;
typedef NCollection_List<Bnd_Box>::Iterator IntTools_ListIteratorOfListOfBox;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_ListOfCurveRangeSample_HeaderFile
#define IntTools_ListOfCurveRangeSample_HeaderFile
#include <IntTools_CurveRangeSample.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<IntTools_CurveRangeSample> IntTools_ListOfCurveRangeSample;
typedef NCollection_List<IntTools_CurveRangeSample>::Iterator IntTools_ListIteratorOfListOfCurveRangeSample;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_ListOfSurfaceRangeSample_HeaderFile
#define IntTools_ListOfSurfaceRangeSample_HeaderFile
#include <IntTools_SurfaceRangeSample.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<IntTools_SurfaceRangeSample> IntTools_ListOfSurfaceRangeSample;
typedef NCollection_List<IntTools_SurfaceRangeSample>::Iterator IntTools_ListIteratorOfListOfSurfaceRangeSample;
#endif

View File

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

View File

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

View File

@@ -0,0 +1,27 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_MapOfCurveSample_HeaderFile
#define IntTools_MapOfCurveSample_HeaderFile
#include <IntTools_CurveRangeSample.hxx>
#include <IntTools_CurveRangeSampleMapHasher.hxx>
#include <NCollection_Map.hxx>
typedef NCollection_Map<IntTools_CurveRangeSample,IntTools_CurveRangeSampleMapHasher> IntTools_MapOfCurveSample;
typedef NCollection_Map<IntTools_CurveRangeSample,IntTools_CurveRangeSampleMapHasher>::Iterator IntTools_MapIteratorOfMapOfCurveSample;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_MapOfSurfaceSample_HeaderFile
#define IntTools_MapOfSurfaceSample_HeaderFile
#include <IntTools_SurfaceRangeSample.hxx>
#include <IntTools_SurfaceRangeSampleMapHasher.hxx>
#include <NCollection_Map.hxx>
typedef NCollection_Map<IntTools_SurfaceRangeSample,IntTools_SurfaceRangeSampleMapHasher> IntTools_MapOfSurfaceSample;
typedef NCollection_Map<IntTools_SurfaceRangeSample,IntTools_SurfaceRangeSampleMapHasher>::Iterator IntTools_MapIteratorOfMapOfSurfaceSample;
#endif

View File

@@ -0,0 +1,25 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_SequenceOfCommonPrts_HeaderFile
#define IntTools_SequenceOfCommonPrts_HeaderFile
#include <IntTools_CommonPrt.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<IntTools_CommonPrt> IntTools_SequenceOfCommonPrts;
#endif

View File

@@ -0,0 +1,25 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_SequenceOfCurves_HeaderFile
#define IntTools_SequenceOfCurves_HeaderFile
#include <IntTools_Curve.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<IntTools_Curve> IntTools_SequenceOfCurves;
#endif

View File

@@ -0,0 +1,25 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_SequenceOfPntOn2Faces_HeaderFile
#define IntTools_SequenceOfPntOn2Faces_HeaderFile
#include <IntTools_PntOn2Faces.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<IntTools_PntOn2Faces> IntTools_SequenceOfPntOn2Faces;
#endif

View File

@@ -0,0 +1,25 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_SequenceOfRanges_HeaderFile
#define IntTools_SequenceOfRanges_HeaderFile
#include <IntTools_Range.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<IntTools_Range> IntTools_SequenceOfRanges;
#endif

View File

@@ -0,0 +1,25 @@
// Created on: 2000-05-18
// Created by: Peter KURNEV
// Copyright (c) 2000-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 IntTools_SequenceOfRoots_HeaderFile
#define IntTools_SequenceOfRoots_HeaderFile
#include <IntTools_Root.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<IntTools_Root> IntTools_SequenceOfRoots;
#endif