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

11
src/TColGeom2d/FILES Normal file
View File

@@ -0,0 +1,11 @@
TColGeom2d_Array1OfCurve.hxx
TColGeom2d_Array1OfBezierCurve.hxx
TColGeom2d_Array1OfBSplineCurve.hxx
TColGeom2d_HArray1OfCurve.hxx
TColGeom2d_HArray1OfBezierCurve.hxx
TColGeom2d_HArray1OfBSplineCurve.hxx
TColGeom2d_SequenceOfGeometry.hxx
TColGeom2d_SequenceOfCurve.hxx
TColGeom2d_SequenceOfBoundedCurve.hxx
TColGeom2d_HSequenceOfCurve.hxx
TColGeom2d_HSequenceOfBoundedCurve.hxx

View File

@@ -27,36 +27,20 @@ uses TCollection, Geom2d
is
class Array1OfCurve
instantiates Array1 from TCollection (Curve from Geom2d);
class Array1OfBezierCurve
instantiates Array1 from TCollection (BezierCurve from Geom2d);
class Array1OfBSplineCurve
instantiates Array1 from TCollection (BSplineCurve from Geom2d);
imported Array1OfCurve;
imported Array1OfBezierCurve;
imported Array1OfBSplineCurve;
class HArray1OfCurve
instantiates HArray1 from TCollection (Curve from Geom2d,
Array1OfCurve from TColGeom2d);
class HArray1OfBezierCurve
instantiates HArray1 from TCollection (BezierCurve from Geom2d,
Array1OfBezierCurve from TColGeom2d);
class HArray1OfBSplineCurve
instantiates HArray1 from TCollection (BSplineCurve from Geom2d,
Array1OfBSplineCurve from TColGeom2d);
imported transient class HArray1OfCurve;
imported transient class HArray1OfBezierCurve;
imported transient class HArray1OfBSplineCurve;
class SequenceOfGeometry
instantiates Sequence from TCollection (Geometry from Geom2d);
class SequenceOfCurve
instantiates Sequence from TCollection (Curve from Geom2d);
class SequenceOfBoundedCurve
instantiates Sequence from TCollection (BoundedCurve from Geom2d);
imported SequenceOfGeometry;
imported SequenceOfCurve;
imported SequenceOfBoundedCurve;
class HSequenceOfCurve
instantiates HSequence from TCollection (Curve from Geom2d,
SequenceOfCurve from TColGeom2d);
class HSequenceOfBoundedCurve
instantiates HSequence from TCollection (BoundedCurve from Geom2d,
SequenceOfBoundedCurve from TColGeom2d);
imported transient class HSequenceOfCurve;
imported transient class HSequenceOfBoundedCurve;
end TColGeom2d;

View File

@@ -0,0 +1,26 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_Array1OfBSplineCurve_HeaderFile
#define TColGeom2d_Array1OfBSplineCurve_HeaderFile
#include <Geom2d_BSplineCurve.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Handle(Geom2d_BSplineCurve)> TColGeom2d_Array1OfBSplineCurve;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_Array1OfBezierCurve_HeaderFile
#define TColGeom2d_Array1OfBezierCurve_HeaderFile
#include <Geom2d_BezierCurve.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Handle(Geom2d_BezierCurve)> TColGeom2d_Array1OfBezierCurve;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_Array1OfCurve_HeaderFile
#define TColGeom2d_Array1OfCurve_HeaderFile
#include <Geom2d_Curve.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Handle(Geom2d_Curve)> TColGeom2d_Array1OfCurve;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_HArray1OfBSplineCurve_HeaderFile
#define TColGeom2d_HArray1OfBSplineCurve_HeaderFile
#include <Geom2d_BSplineCurve.hxx>
#include <TColGeom2d_Array1OfBSplineCurve.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(TColGeom2d_HArray1OfBSplineCurve, TColGeom2d_Array1OfBSplineCurve)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_HArray1OfBezierCurve_HeaderFile
#define TColGeom2d_HArray1OfBezierCurve_HeaderFile
#include <Geom2d_BezierCurve.hxx>
#include <TColGeom2d_Array1OfBezierCurve.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(TColGeom2d_HArray1OfBezierCurve, TColGeom2d_Array1OfBezierCurve)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_HArray1OfCurve_HeaderFile
#define TColGeom2d_HArray1OfCurve_HeaderFile
#include <Geom2d_Curve.hxx>
#include <TColGeom2d_Array1OfCurve.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(TColGeom2d_HArray1OfCurve, TColGeom2d_Array1OfCurve)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_HSequenceOfBoundedCurve_HeaderFile
#define TColGeom2d_HSequenceOfBoundedCurve_HeaderFile
#include <Geom2d_BoundedCurve.hxx>
#include <TColGeom2d_SequenceOfBoundedCurve.hxx>
#include <NCollection_DefineHSequence.hxx>
DEFINE_HSEQUENCE(TColGeom2d_HSequenceOfBoundedCurve, TColGeom2d_SequenceOfBoundedCurve)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_HSequenceOfCurve_HeaderFile
#define TColGeom2d_HSequenceOfCurve_HeaderFile
#include <Geom2d_Curve.hxx>
#include <TColGeom2d_SequenceOfCurve.hxx>
#include <NCollection_DefineHSequence.hxx>
DEFINE_HSEQUENCE(TColGeom2d_HSequenceOfCurve, TColGeom2d_SequenceOfCurve)
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_SequenceOfBoundedCurve_HeaderFile
#define TColGeom2d_SequenceOfBoundedCurve_HeaderFile
#include <Geom2d_BoundedCurve.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(Geom2d_BoundedCurve)> TColGeom2d_SequenceOfBoundedCurve;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_SequenceOfCurve_HeaderFile
#define TColGeom2d_SequenceOfCurve_HeaderFile
#include <Geom2d_Curve.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(Geom2d_Curve)> TColGeom2d_SequenceOfCurve;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-04-15
// Created by: Philippe DAUTRY
// 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 TColGeom2d_SequenceOfGeometry_HeaderFile
#define TColGeom2d_SequenceOfGeometry_HeaderFile
#include <Geom2d_Geometry.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(Geom2d_Geometry)> TColGeom2d_SequenceOfGeometry;
#endif