1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +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

@@ -53,19 +53,17 @@ is
class Regul;
class Regularities instantiates List from TCollection
(Regul from ChFiDS);
imported Regularities;
imported ListIteratorOfRegularities;
class CircSection;
class StripeArray1 instantiates Array1 from TCollection
(Stripe from ChFiDS);
imported StripeArray1;
class SecArray1 instantiates Array1 from TCollection
(CircSection from ChFiDS);
imported SecArray1;
class SecHArray1 instantiates HArray1 from TCollection
(CircSection from ChFiDS,SecArray1 from ChFiDS);
imported transient class SecHArray1;
class Map;
@@ -75,22 +73,17 @@ is
class SurfData;
class SequenceOfSurfData instantiates Sequence from TCollection
(SurfData from ChFiDS);
imported SequenceOfSurfData;
class HData instantiates HSequence from TCollection
(SurfData from ChFiDS,
SequenceOfSurfData from ChFiDS);
imported transient class HData;
class Stripe;
class ListOfStripe instantiates List from TCollection
(Stripe from ChFiDS);
imported ListOfStripe;
imported ListIteratorOfListOfStripe;
class IndexedDataMapOfVertexListOfStripe instantiates
IndexedDataMap from TCollection ( Vertex from TopoDS,
ListOfStripe from ChFiDS,
ShapeMapHasher from TopTools);
imported IndexedDataMapOfVertexListOfStripe;
class StripeMap;
@@ -98,8 +91,9 @@ is
class HElSpine instantiates GenHCurve from Adaptor3d (ElSpine from ChFiDS);
class ListOfHElSpine instantiates List from TCollection
(HElSpine from ChFiDS);
imported ListOfHElSpine;
imported ListIteratorOfListOfHElSpine;
class Spine;
@@ -107,8 +101,7 @@ is
class ChamfSpine; --- inherits Sp
class SequenceOfSpine instantiates
Sequence from TCollection(Spine from ChFiDS);
imported SequenceOfSpine;

View File

@@ -0,0 +1,27 @@
// Created on: 1993-11-17
// Created by: Isabelle GRIGNON
// 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 ChFiDS_HData_HeaderFile
#define ChFiDS_HData_HeaderFile
#include <ChFiDS_SurfData.hxx>
#include <ChFiDS_SequenceOfSurfData.hxx>
#include <NCollection_DefineHSequence.hxx>
DEFINE_HSEQUENCE(ChFiDS_HData, ChFiDS_SequenceOfSurfData)
#endif

View File

@@ -0,0 +1,28 @@
// Created on: 1993-11-17
// Created by: Isabelle GRIGNON
// 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 ChFiDS_IndexedDataMapOfVertexListOfStripe_HeaderFile
#define ChFiDS_IndexedDataMapOfVertexListOfStripe_HeaderFile
#include <TopoDS_Vertex.hxx>
#include <ChFiDS_ListOfStripe.hxx>
#include <TopTools_ShapeMapHasher.hxx>
#include <NCollection_IndexedDataMap.hxx>
typedef NCollection_IndexedDataMap<TopoDS_Vertex,ChFiDS_ListOfStripe,TopTools_ShapeMapHasher> ChFiDS_IndexedDataMapOfVertexListOfStripe;
#endif

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,27 @@
// Created on: 1993-11-17
// Created by: Isabelle GRIGNON
// 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 ChFiDS_ListOfHElSpine_HeaderFile
#define ChFiDS_ListOfHElSpine_HeaderFile
#include <ChFiDS_HElSpine.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Handle(ChFiDS_HElSpine)> ChFiDS_ListOfHElSpine;
typedef NCollection_List<Handle(ChFiDS_HElSpine)>::Iterator ChFiDS_ListIteratorOfListOfHElSpine;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1993-11-17
// Created by: Isabelle GRIGNON
// 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 ChFiDS_ListOfStripe_HeaderFile
#define ChFiDS_ListOfStripe_HeaderFile
#include <ChFiDS_Stripe.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Handle(ChFiDS_Stripe)> ChFiDS_ListOfStripe;
typedef NCollection_List<Handle(ChFiDS_Stripe)>::Iterator ChFiDS_ListIteratorOfListOfStripe;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1993-11-17
// Created by: Isabelle GRIGNON
// 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 ChFiDS_Regularities_HeaderFile
#define ChFiDS_Regularities_HeaderFile
#include <ChFiDS_Regul.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<ChFiDS_Regul> ChFiDS_Regularities;
typedef NCollection_List<ChFiDS_Regul>::Iterator ChFiDS_ListIteratorOfRegularities;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-11-17
// Created by: Isabelle GRIGNON
// 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 ChFiDS_SecArray1_HeaderFile
#define ChFiDS_SecArray1_HeaderFile
#include <ChFiDS_CircSection.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<ChFiDS_CircSection> ChFiDS_SecArray1;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1993-11-17
// Created by: Isabelle GRIGNON
// 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 ChFiDS_SecHArray1_HeaderFile
#define ChFiDS_SecHArray1_HeaderFile
#include <ChFiDS_CircSection.hxx>
#include <ChFiDS_SecArray1.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(ChFiDS_SecHArray1, ChFiDS_SecArray1)
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-11-17
// Created by: Isabelle GRIGNON
// 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 ChFiDS_SequenceOfSpine_HeaderFile
#define ChFiDS_SequenceOfSpine_HeaderFile
#include <ChFiDS_Spine.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(ChFiDS_Spine)> ChFiDS_SequenceOfSpine;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-11-17
// Created by: Isabelle GRIGNON
// 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 ChFiDS_SequenceOfSurfData_HeaderFile
#define ChFiDS_SequenceOfSurfData_HeaderFile
#include <ChFiDS_SurfData.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(ChFiDS_SurfData)> ChFiDS_SequenceOfSurfData;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-11-17
// Created by: Isabelle GRIGNON
// 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 ChFiDS_StripeArray1_HeaderFile
#define ChFiDS_StripeArray1_HeaderFile
#include <ChFiDS_Stripe.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Handle(ChFiDS_Stripe)> ChFiDS_StripeArray1;
#endif

13
src/ChFiDS/FILES Normal file
View File

@@ -0,0 +1,13 @@
ChFiDS_Regularities.hxx
ChFiDS_ListIteratorOfRegularities.hxx
ChFiDS_StripeArray1.hxx
ChFiDS_SecArray1.hxx
ChFiDS_SecHArray1.hxx
ChFiDS_SequenceOfSurfData.hxx
ChFiDS_HData.hxx
ChFiDS_ListOfStripe.hxx
ChFiDS_ListIteratorOfListOfStripe.hxx
ChFiDS_IndexedDataMapOfVertexListOfStripe.hxx
ChFiDS_ListOfHElSpine.hxx
ChFiDS_ListIteratorOfListOfHElSpine.hxx
ChFiDS_SequenceOfSpine.hxx