mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +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:
@@ -68,38 +68,28 @@ is
|
||||
--- instantiate classes:
|
||||
--
|
||||
|
||||
class Array1OfConstraintCouple instantiates Array1 from TCollection
|
||||
(ConstraintCouple);
|
||||
imported Array1OfConstraintCouple;
|
||||
|
||||
class HArray1OfConstraintCouple instantiates HArray1 from TCollection
|
||||
(ConstraintCouple,Array1OfConstraintCouple);
|
||||
imported transient class HArray1OfConstraintCouple;
|
||||
|
||||
|
||||
class Array1OfMultiPoint instantiates Array1 from TCollection
|
||||
(MultiPoint);
|
||||
imported Array1OfMultiPoint;
|
||||
|
||||
class HArray1OfMultiPoint instantiates HArray1 from TCollection
|
||||
(MultiPoint,Array1OfMultiPoint);
|
||||
imported transient class HArray1OfMultiPoint;
|
||||
|
||||
|
||||
class Array1OfMultiCurve instantiates Array1 from TCollection
|
||||
(MultiCurve);
|
||||
imported Array1OfMultiCurve;
|
||||
|
||||
class HArray1OfMultiCurve instantiates HArray1 from TCollection
|
||||
(MultiCurve, Array1OfMultiCurve);
|
||||
imported transient class HArray1OfMultiCurve;
|
||||
|
||||
class SequenceOfMultiCurve instantiates Sequence from TCollection
|
||||
(MultiCurve);
|
||||
imported SequenceOfMultiCurve;
|
||||
|
||||
|
||||
class Array1OfMultiBSpCurve instantiates Array1 from TCollection
|
||||
(MultiBSpCurve);
|
||||
imported Array1OfMultiBSpCurve;
|
||||
|
||||
class HArray1OfMultiBSpCurve instantiates HArray1 from TCollection
|
||||
(MultiBSpCurve, Array1OfMultiBSpCurve);
|
||||
imported transient class HArray1OfMultiBSpCurve;
|
||||
|
||||
class SequenceOfMultiBSpCurve instantiates Sequence from TCollection
|
||||
(MultiBSpCurve);
|
||||
imported SequenceOfMultiBSpCurve;
|
||||
|
||||
|
||||
BernsteinMatrix(NbPoles: in Integer from Standard;
|
||||
|
26
src/AppParCurves/AppParCurves_Array1OfConstraintCouple.hxx
Normal file
26
src/AppParCurves/AppParCurves_Array1OfConstraintCouple.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-04-11
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1991-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 AppParCurves_Array1OfConstraintCouple_HeaderFile
|
||||
#define AppParCurves_Array1OfConstraintCouple_HeaderFile
|
||||
|
||||
#include <AppParCurves_ConstraintCouple.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<AppParCurves_ConstraintCouple> AppParCurves_Array1OfConstraintCouple;
|
||||
|
||||
|
||||
#endif
|
26
src/AppParCurves/AppParCurves_Array1OfMultiBSpCurve.hxx
Normal file
26
src/AppParCurves/AppParCurves_Array1OfMultiBSpCurve.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-04-11
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1991-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 AppParCurves_Array1OfMultiBSpCurve_HeaderFile
|
||||
#define AppParCurves_Array1OfMultiBSpCurve_HeaderFile
|
||||
|
||||
#include <AppParCurves_MultiBSpCurve.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<AppParCurves_MultiBSpCurve> AppParCurves_Array1OfMultiBSpCurve;
|
||||
|
||||
|
||||
#endif
|
26
src/AppParCurves/AppParCurves_Array1OfMultiCurve.hxx
Normal file
26
src/AppParCurves/AppParCurves_Array1OfMultiCurve.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-04-11
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1991-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 AppParCurves_Array1OfMultiCurve_HeaderFile
|
||||
#define AppParCurves_Array1OfMultiCurve_HeaderFile
|
||||
|
||||
#include <AppParCurves_MultiCurve.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<AppParCurves_MultiCurve> AppParCurves_Array1OfMultiCurve;
|
||||
|
||||
|
||||
#endif
|
26
src/AppParCurves/AppParCurves_Array1OfMultiPoint.hxx
Normal file
26
src/AppParCurves/AppParCurves_Array1OfMultiPoint.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-04-11
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1991-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 AppParCurves_Array1OfMultiPoint_HeaderFile
|
||||
#define AppParCurves_Array1OfMultiPoint_HeaderFile
|
||||
|
||||
#include <AppParCurves_MultiPoint.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<AppParCurves_MultiPoint> AppParCurves_Array1OfMultiPoint;
|
||||
|
||||
|
||||
#endif
|
27
src/AppParCurves/AppParCurves_HArray1OfConstraintCouple.hxx
Normal file
27
src/AppParCurves/AppParCurves_HArray1OfConstraintCouple.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1991-04-11
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1991-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 AppParCurves_HArray1OfConstraintCouple_HeaderFile
|
||||
#define AppParCurves_HArray1OfConstraintCouple_HeaderFile
|
||||
|
||||
#include <AppParCurves_ConstraintCouple.hxx>
|
||||
#include <AppParCurves_Array1OfConstraintCouple.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(AppParCurves_HArray1OfConstraintCouple, AppParCurves_Array1OfConstraintCouple)
|
||||
|
||||
|
||||
#endif
|
27
src/AppParCurves/AppParCurves_HArray1OfMultiBSpCurve.hxx
Normal file
27
src/AppParCurves/AppParCurves_HArray1OfMultiBSpCurve.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1991-04-11
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1991-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 AppParCurves_HArray1OfMultiBSpCurve_HeaderFile
|
||||
#define AppParCurves_HArray1OfMultiBSpCurve_HeaderFile
|
||||
|
||||
#include <AppParCurves_MultiBSpCurve.hxx>
|
||||
#include <AppParCurves_Array1OfMultiBSpCurve.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(AppParCurves_HArray1OfMultiBSpCurve, AppParCurves_Array1OfMultiBSpCurve)
|
||||
|
||||
|
||||
#endif
|
27
src/AppParCurves/AppParCurves_HArray1OfMultiCurve.hxx
Normal file
27
src/AppParCurves/AppParCurves_HArray1OfMultiCurve.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1991-04-11
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1991-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 AppParCurves_HArray1OfMultiCurve_HeaderFile
|
||||
#define AppParCurves_HArray1OfMultiCurve_HeaderFile
|
||||
|
||||
#include <AppParCurves_MultiCurve.hxx>
|
||||
#include <AppParCurves_Array1OfMultiCurve.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(AppParCurves_HArray1OfMultiCurve, AppParCurves_Array1OfMultiCurve)
|
||||
|
||||
|
||||
#endif
|
27
src/AppParCurves/AppParCurves_HArray1OfMultiPoint.hxx
Normal file
27
src/AppParCurves/AppParCurves_HArray1OfMultiPoint.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1991-04-11
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1991-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 AppParCurves_HArray1OfMultiPoint_HeaderFile
|
||||
#define AppParCurves_HArray1OfMultiPoint_HeaderFile
|
||||
|
||||
#include <AppParCurves_MultiPoint.hxx>
|
||||
#include <AppParCurves_Array1OfMultiPoint.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(AppParCurves_HArray1OfMultiPoint, AppParCurves_Array1OfMultiPoint)
|
||||
|
||||
|
||||
#endif
|
26
src/AppParCurves/AppParCurves_SequenceOfMultiBSpCurve.hxx
Normal file
26
src/AppParCurves/AppParCurves_SequenceOfMultiBSpCurve.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-04-11
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1991-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 AppParCurves_SequenceOfMultiBSpCurve_HeaderFile
|
||||
#define AppParCurves_SequenceOfMultiBSpCurve_HeaderFile
|
||||
|
||||
#include <AppParCurves_MultiBSpCurve.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<AppParCurves_MultiBSpCurve> AppParCurves_SequenceOfMultiBSpCurve;
|
||||
|
||||
|
||||
#endif
|
26
src/AppParCurves/AppParCurves_SequenceOfMultiCurve.hxx
Normal file
26
src/AppParCurves/AppParCurves_SequenceOfMultiCurve.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-04-11
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1991-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 AppParCurves_SequenceOfMultiCurve_HeaderFile
|
||||
#define AppParCurves_SequenceOfMultiCurve_HeaderFile
|
||||
|
||||
#include <AppParCurves_MultiCurve.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<AppParCurves_MultiCurve> AppParCurves_SequenceOfMultiCurve;
|
||||
|
||||
|
||||
#endif
|
10
src/AppParCurves/FILES
Normal file
10
src/AppParCurves/FILES
Normal file
@@ -0,0 +1,10 @@
|
||||
AppParCurves_Array1OfConstraintCouple.hxx
|
||||
AppParCurves_HArray1OfConstraintCouple.hxx
|
||||
AppParCurves_Array1OfMultiPoint.hxx
|
||||
AppParCurves_HArray1OfMultiPoint.hxx
|
||||
AppParCurves_Array1OfMultiCurve.hxx
|
||||
AppParCurves_HArray1OfMultiCurve.hxx
|
||||
AppParCurves_SequenceOfMultiCurve.hxx
|
||||
AppParCurves_Array1OfMultiBSpCurve.hxx
|
||||
AppParCurves_HArray1OfMultiBSpCurve.hxx
|
||||
AppParCurves_SequenceOfMultiBSpCurve.hxx
|
Reference in New Issue
Block a user