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

@@ -191,59 +191,42 @@ is
class POnCurv instantiates Point from Extrema(Pnt from gp);
class POnCurv2d instantiates Point from Extrema(Pnt2d from gp);
class Array1OfPOnCurv instantiates
Array1 from TCollection(POnCurv);
imported Array1OfPOnCurv;
class Array2OfPOnCurv instantiates
Array2 from TCollection(POnCurv);
imported Array2OfPOnCurv;
class Array1OfPOnCurv2d instantiates
Array1 from TCollection(POnCurv2d);
imported Array1OfPOnCurv2d;
class Array2OfPOnCurv2d instantiates
Array2 from TCollection(POnCurv2d);
imported Array2OfPOnCurv2d;
class Array1OfPOnSurf instantiates
Array1 from TCollection(POnSurf);
imported Array1OfPOnSurf;
class Array2OfPOnSurf instantiates
Array2 from TCollection(POnSurf);
imported Array2OfPOnSurf;
class Array2OfPOnSurfParams instantiates
Array2 from TCollection(POnSurfParams);
imported Array2OfPOnSurfParams;
class HArray1OfPOnCurv instantiates
HArray1 from TCollection(POnCurv, Array1OfPOnCurv);
imported transient class HArray1OfPOnCurv;
class HArray2OfPOnCurv instantiates
HArray2 from TCollection(POnCurv, Array2OfPOnCurv);
imported transient class HArray2OfPOnCurv;
class HArray1OfPOnCurv2d instantiates
HArray1 from TCollection(POnCurv2d,Array1OfPOnCurv2d);
imported transient class HArray1OfPOnCurv2d;
class HArray2OfPOnCurv2d instantiates
HArray2 from TCollection(POnCurv2d,Array2OfPOnCurv2d);
imported transient class HArray2OfPOnCurv2d;
class HArray1OfPOnSurf instantiates
HArray1 from TCollection(POnSurf, Array1OfPOnSurf);
imported transient class HArray1OfPOnSurf;
class HArray2OfPOnSurf instantiates
HArray2 from TCollection(POnSurf, Array2OfPOnSurf);
imported transient class HArray2OfPOnSurf;
class HArray2OfPOnSurfParams instantiates
HArray2 from TCollection(POnSurfParams, Array2OfPOnSurfParams);
imported transient class HArray2OfPOnSurfParams;
class SequenceOfPOnCurv instantiates
Sequence from TCollection(POnCurv);
imported SequenceOfPOnCurv;
class SequenceOfPOnCurv2d instantiates
Sequence from TCollection(POnCurv2d);
imported SequenceOfPOnCurv2d;
class SequenceOfPOnSurf instantiates
Sequence from TCollection(POnSurf);
imported SequenceOfPOnSurf;

View File

@@ -0,0 +1,26 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_Array1OfPOnCurv_HeaderFile
#define Extrema_Array1OfPOnCurv_HeaderFile
#include <Extrema_POnCurv.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Extrema_POnCurv> Extrema_Array1OfPOnCurv;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_Array1OfPOnCurv2d_HeaderFile
#define Extrema_Array1OfPOnCurv2d_HeaderFile
#include <Extrema_POnCurv2d.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Extrema_POnCurv2d> Extrema_Array1OfPOnCurv2d;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_Array1OfPOnSurf_HeaderFile
#define Extrema_Array1OfPOnSurf_HeaderFile
#include <Extrema_POnSurf.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Extrema_POnSurf> Extrema_Array1OfPOnSurf;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_Array2OfPOnCurv_HeaderFile
#define Extrema_Array2OfPOnCurv_HeaderFile
#include <Extrema_POnCurv.hxx>
#include <NCollection_Array2.hxx>
typedef NCollection_Array2<Extrema_POnCurv> Extrema_Array2OfPOnCurv;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_Array2OfPOnCurv2d_HeaderFile
#define Extrema_Array2OfPOnCurv2d_HeaderFile
#include <Extrema_POnCurv2d.hxx>
#include <NCollection_Array2.hxx>
typedef NCollection_Array2<Extrema_POnCurv2d> Extrema_Array2OfPOnCurv2d;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_Array2OfPOnSurf_HeaderFile
#define Extrema_Array2OfPOnSurf_HeaderFile
#include <Extrema_POnSurf.hxx>
#include <NCollection_Array2.hxx>
typedef NCollection_Array2<Extrema_POnSurf> Extrema_Array2OfPOnSurf;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_Array2OfPOnSurfParams_HeaderFile
#define Extrema_Array2OfPOnSurfParams_HeaderFile
#include <Extrema_POnSurfParams.hxx>
#include <NCollection_Array2.hxx>
typedef NCollection_Array2<Extrema_POnSurfParams> Extrema_Array2OfPOnSurfParams;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_HArray1OfPOnCurv_HeaderFile
#define Extrema_HArray1OfPOnCurv_HeaderFile
#include <Extrema_POnCurv.hxx>
#include <Extrema_Array1OfPOnCurv.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(Extrema_HArray1OfPOnCurv, Extrema_Array1OfPOnCurv)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_HArray1OfPOnCurv2d_HeaderFile
#define Extrema_HArray1OfPOnCurv2d_HeaderFile
#include <Extrema_POnCurv2d.hxx>
#include <Extrema_Array1OfPOnCurv2d.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(Extrema_HArray1OfPOnCurv2d, Extrema_Array1OfPOnCurv2d)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_HArray1OfPOnSurf_HeaderFile
#define Extrema_HArray1OfPOnSurf_HeaderFile
#include <Extrema_POnSurf.hxx>
#include <Extrema_Array1OfPOnSurf.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(Extrema_HArray1OfPOnSurf, Extrema_Array1OfPOnSurf)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_HArray2OfPOnCurv_HeaderFile
#define Extrema_HArray2OfPOnCurv_HeaderFile
#include <Extrema_POnCurv.hxx>
#include <Extrema_Array2OfPOnCurv.hxx>
#include <NCollection_DefineHArray2.hxx>
DEFINE_HARRAY2(Extrema_HArray2OfPOnCurv, Extrema_Array2OfPOnCurv)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_HArray2OfPOnCurv2d_HeaderFile
#define Extrema_HArray2OfPOnCurv2d_HeaderFile
#include <Extrema_POnCurv2d.hxx>
#include <Extrema_Array2OfPOnCurv2d.hxx>
#include <NCollection_DefineHArray2.hxx>
DEFINE_HARRAY2(Extrema_HArray2OfPOnCurv2d, Extrema_Array2OfPOnCurv2d)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_HArray2OfPOnSurf_HeaderFile
#define Extrema_HArray2OfPOnSurf_HeaderFile
#include <Extrema_POnSurf.hxx>
#include <Extrema_Array2OfPOnSurf.hxx>
#include <NCollection_DefineHArray2.hxx>
DEFINE_HARRAY2(Extrema_HArray2OfPOnSurf, Extrema_Array2OfPOnSurf)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_HArray2OfPOnSurfParams_HeaderFile
#define Extrema_HArray2OfPOnSurfParams_HeaderFile
#include <Extrema_POnSurfParams.hxx>
#include <Extrema_Array2OfPOnSurfParams.hxx>
#include <NCollection_DefineHArray2.hxx>
DEFINE_HARRAY2(Extrema_HArray2OfPOnSurfParams, Extrema_Array2OfPOnSurfParams)
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_SequenceOfPOnCurv_HeaderFile
#define Extrema_SequenceOfPOnCurv_HeaderFile
#include <Extrema_POnCurv.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Extrema_POnCurv> Extrema_SequenceOfPOnCurv;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_SequenceOfPOnCurv2d_HeaderFile
#define Extrema_SequenceOfPOnCurv2d_HeaderFile
#include <Extrema_POnCurv2d.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Extrema_POnCurv2d> Extrema_SequenceOfPOnCurv2d;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-02-26
// Created by: Isabelle GRIGNON
// 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 Extrema_SequenceOfPOnSurf_HeaderFile
#define Extrema_SequenceOfPOnSurf_HeaderFile
#include <Extrema_POnSurf.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Extrema_POnSurf> Extrema_SequenceOfPOnSurf;
#endif

View File

@@ -3,3 +3,20 @@ Extrema_GlobOptFuncCC.hxx
Extrema_GlobOptFuncCC.cxx
Extrema_GlobOptFuncCS.hxx
Extrema_GlobOptFuncCS.cxx
Extrema_Array1OfPOnCurv.hxx
Extrema_Array2OfPOnCurv.hxx
Extrema_Array1OfPOnCurv2d.hxx
Extrema_Array2OfPOnCurv2d.hxx
Extrema_Array1OfPOnSurf.hxx
Extrema_Array2OfPOnSurf.hxx
Extrema_Array2OfPOnSurfParams.hxx
Extrema_HArray1OfPOnCurv.hxx
Extrema_HArray2OfPOnCurv.hxx
Extrema_HArray1OfPOnCurv2d.hxx
Extrema_HArray2OfPOnCurv2d.hxx
Extrema_HArray1OfPOnSurf.hxx
Extrema_HArray2OfPOnSurf.hxx
Extrema_HArray2OfPOnSurfParams.hxx
Extrema_SequenceOfPOnCurv.hxx
Extrema_SequenceOfPOnCurv2d.hxx
Extrema_SequenceOfPOnSurf.hxx