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:
11
src/TColGeom2d/FILES
Normal file
11
src/TColGeom2d/FILES
Normal 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
|
@@ -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;
|
||||
|
26
src/TColGeom2d/TColGeom2d_Array1OfBSplineCurve.hxx
Normal file
26
src/TColGeom2d/TColGeom2d_Array1OfBSplineCurve.hxx
Normal 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
|
26
src/TColGeom2d/TColGeom2d_Array1OfBezierCurve.hxx
Normal file
26
src/TColGeom2d/TColGeom2d_Array1OfBezierCurve.hxx
Normal 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
|
26
src/TColGeom2d/TColGeom2d_Array1OfCurve.hxx
Normal file
26
src/TColGeom2d/TColGeom2d_Array1OfCurve.hxx
Normal 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
|
27
src/TColGeom2d/TColGeom2d_HArray1OfBSplineCurve.hxx
Normal file
27
src/TColGeom2d/TColGeom2d_HArray1OfBSplineCurve.hxx
Normal 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
|
27
src/TColGeom2d/TColGeom2d_HArray1OfBezierCurve.hxx
Normal file
27
src/TColGeom2d/TColGeom2d_HArray1OfBezierCurve.hxx
Normal 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
|
27
src/TColGeom2d/TColGeom2d_HArray1OfCurve.hxx
Normal file
27
src/TColGeom2d/TColGeom2d_HArray1OfCurve.hxx
Normal 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
|
27
src/TColGeom2d/TColGeom2d_HSequenceOfBoundedCurve.hxx
Normal file
27
src/TColGeom2d/TColGeom2d_HSequenceOfBoundedCurve.hxx
Normal 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
|
27
src/TColGeom2d/TColGeom2d_HSequenceOfCurve.hxx
Normal file
27
src/TColGeom2d/TColGeom2d_HSequenceOfCurve.hxx
Normal 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
|
26
src/TColGeom2d/TColGeom2d_SequenceOfBoundedCurve.hxx
Normal file
26
src/TColGeom2d/TColGeom2d_SequenceOfBoundedCurve.hxx
Normal 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
|
26
src/TColGeom2d/TColGeom2d_SequenceOfCurve.hxx
Normal file
26
src/TColGeom2d/TColGeom2d_SequenceOfCurve.hxx
Normal 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
|
26
src/TColGeom2d/TColGeom2d_SequenceOfGeometry.hxx
Normal file
26
src/TColGeom2d/TColGeom2d_SequenceOfGeometry.hxx
Normal 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
|
Reference in New Issue
Block a user