mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
4
src/IGESBasic/FILES
Normal file
4
src/IGESBasic/FILES
Normal file
@@ -0,0 +1,4 @@
|
||||
IGESBasic_Array2OfHArray1OfReal.hxx
|
||||
IGESBasic_Array1OfLineFontEntity.hxx
|
||||
IGESBasic_HArray2OfHArray1OfReal.hxx
|
||||
IGESBasic_HArray1OfLineFontEntity.hxx
|
@@ -92,10 +92,8 @@ is
|
||||
|
||||
-- The class instantiations :
|
||||
|
||||
class Array2OfHArray1OfReal instantiates
|
||||
Array2 from TCollection (HArray1OfReal from TColStd);
|
||||
class Array1OfLineFontEntity instantiates
|
||||
Array1 from TCollection (LineFontEntity from IGESData);
|
||||
imported Array2OfHArray1OfReal;
|
||||
imported Array1OfLineFontEntity;
|
||||
|
||||
class HArray1OfHArray1OfInteger instantiates
|
||||
JaggedArray from Interface (HArray1OfInteger from TColStd);
|
||||
@@ -110,15 +108,13 @@ is
|
||||
JaggedArray from Interface (HArray1OfXYZ from TColgp);
|
||||
-- HArray1 from TCollection (HArray1OfXYZ from TColgp, Array1OfHArray1OfXYZ);
|
||||
|
||||
class HArray2OfHArray1OfReal instantiates HArray2 from TCollection
|
||||
(HArray1OfReal from TColStd,Array2OfHArray1OfReal);
|
||||
imported transient class HArray2OfHArray1OfReal;
|
||||
|
||||
class HArray1OfHArray1OfIGESEntity instantiates
|
||||
JaggedArray from Interface (HArray1OfIGESEntity from IGESData);
|
||||
-- HArray1 from TCollection (HArray1OfIGESEntity from IGESData,Array1OfHArray1OfIGESEntity);
|
||||
|
||||
class HArray1OfLineFontEntity instantiates HArray1 from TCollection
|
||||
(LineFontEntity from IGESData,Array1OfLineFontEntity);
|
||||
imported transient class HArray1OfLineFontEntity;
|
||||
|
||||
-- Package methods
|
||||
|
||||
|
26
src/IGESBasic/IGESBasic_Array1OfLineFontEntity.hxx
Normal file
26
src/IGESBasic/IGESBasic_Array1OfLineFontEntity.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-01-09
|
||||
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
|
||||
// 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 IGESBasic_Array1OfLineFontEntity_HeaderFile
|
||||
#define IGESBasic_Array1OfLineFontEntity_HeaderFile
|
||||
|
||||
#include <IGESData_LineFontEntity.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(IGESData_LineFontEntity)> IGESBasic_Array1OfLineFontEntity;
|
||||
|
||||
|
||||
#endif
|
26
src/IGESBasic/IGESBasic_Array2OfHArray1OfReal.hxx
Normal file
26
src/IGESBasic/IGESBasic_Array2OfHArray1OfReal.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-01-09
|
||||
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
|
||||
// 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 IGESBasic_Array2OfHArray1OfReal_HeaderFile
|
||||
#define IGESBasic_Array2OfHArray1OfReal_HeaderFile
|
||||
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <NCollection_Array2.hxx>
|
||||
|
||||
typedef NCollection_Array2<Handle(TColStd_HArray1OfReal)> IGESBasic_Array2OfHArray1OfReal;
|
||||
|
||||
|
||||
#endif
|
27
src/IGESBasic/IGESBasic_HArray1OfLineFontEntity.hxx
Normal file
27
src/IGESBasic/IGESBasic_HArray1OfLineFontEntity.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-01-09
|
||||
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
|
||||
// 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 IGESBasic_HArray1OfLineFontEntity_HeaderFile
|
||||
#define IGESBasic_HArray1OfLineFontEntity_HeaderFile
|
||||
|
||||
#include <IGESData_LineFontEntity.hxx>
|
||||
#include <IGESBasic_Array1OfLineFontEntity.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(IGESBasic_HArray1OfLineFontEntity, IGESBasic_Array1OfLineFontEntity)
|
||||
|
||||
|
||||
#endif
|
27
src/IGESBasic/IGESBasic_HArray2OfHArray1OfReal.hxx
Normal file
27
src/IGESBasic/IGESBasic_HArray2OfHArray1OfReal.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-01-09
|
||||
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
|
||||
// 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 IGESBasic_HArray2OfHArray1OfReal_HeaderFile
|
||||
#define IGESBasic_HArray2OfHArray1OfReal_HeaderFile
|
||||
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <IGESBasic_Array2OfHArray1OfReal.hxx>
|
||||
#include <NCollection_DefineHArray2.hxx>
|
||||
|
||||
DEFINE_HARRAY2(IGESBasic_HArray2OfHArray1OfReal, IGESBasic_Array2OfHArray1OfReal)
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user