mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
6
src/TShort/FILES
Normal file
6
src/TShort/FILES
Normal file
@@ -0,0 +1,6 @@
|
||||
TShort_Array1OfShortReal.hxx
|
||||
TShort_HArray1OfShortReal.hxx
|
||||
TShort_Array2OfShortReal.hxx
|
||||
TShort_HArray2OfShortReal.hxx
|
||||
TShort_SequenceOfShortReal.hxx
|
||||
TShort_HSequenceOfShortReal.hxx
|
@@ -27,38 +27,31 @@ is
|
||||
--
|
||||
-- Instantiations Array1 -- *************************************************************
|
||||
--
|
||||
class Array1OfShortReal instantiates Array1 from TCollection (ShortReal);
|
||||
imported Array1OfShortReal;
|
||||
|
||||
--
|
||||
-- Instantiations HArray1 -- **************************************************************
|
||||
--
|
||||
class HArray1OfShortReal instantiates
|
||||
HArray1 from TCollection (ShortReal, Array1OfShortReal from TShort);
|
||||
imported transient class HArray1OfShortReal;
|
||||
|
||||
--
|
||||
-- Instantiations Array2 -- ***************************************************************************
|
||||
--
|
||||
class Array2OfShortReal instantiates
|
||||
Array2 from TCollection (ShortReal);
|
||||
imported Array2OfShortReal;
|
||||
|
||||
--
|
||||
-- Instantiations HArray2
|
||||
-- ****************************************************************************
|
||||
--
|
||||
class HArray2OfShortReal instantiates
|
||||
HArray2 from TCollection ( ShortReal,
|
||||
Array2OfShortReal from TShort);
|
||||
imported transient class HArray2OfShortReal;
|
||||
--
|
||||
-- Instantiations Sequence *****************************************************
|
||||
--
|
||||
class SequenceOfShortReal instantiates
|
||||
Sequence from TCollection (ShortReal);
|
||||
imported SequenceOfShortReal;
|
||||
|
||||
--
|
||||
-- Instantiations HSequence ***********************************************
|
||||
--
|
||||
class HSequenceOfShortReal instantiates
|
||||
HSequence from TCollection (ShortReal,
|
||||
SequenceOfShortReal from TShort);
|
||||
imported transient class HSequenceOfShortReal;
|
||||
end TShort;
|
||||
|
||||
|
24
src/TShort/TShort_Array1OfShortReal.hxx
Normal file
24
src/TShort/TShort_Array1OfShortReal.hxx
Normal file
@@ -0,0 +1,24 @@
|
||||
// Copyright (c) 1998-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 TShort_Array1OfShortReal_HeaderFile
|
||||
#define TShort_Array1OfShortReal_HeaderFile
|
||||
|
||||
#include <Standard_ShortReal.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Standard_ShortReal> TShort_Array1OfShortReal;
|
||||
|
||||
|
||||
#endif
|
24
src/TShort/TShort_Array2OfShortReal.hxx
Normal file
24
src/TShort/TShort_Array2OfShortReal.hxx
Normal file
@@ -0,0 +1,24 @@
|
||||
// Copyright (c) 1998-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 TShort_Array2OfShortReal_HeaderFile
|
||||
#define TShort_Array2OfShortReal_HeaderFile
|
||||
|
||||
#include <Standard_ShortReal.hxx>
|
||||
#include <NCollection_Array2.hxx>
|
||||
|
||||
typedef NCollection_Array2<Standard_ShortReal> TShort_Array2OfShortReal;
|
||||
|
||||
|
||||
#endif
|
25
src/TShort/TShort_HArray1OfShortReal.hxx
Normal file
25
src/TShort/TShort_HArray1OfShortReal.hxx
Normal file
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 1998-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 TShort_HArray1OfShortReal_HeaderFile
|
||||
#define TShort_HArray1OfShortReal_HeaderFile
|
||||
|
||||
#include <Standard_ShortReal.hxx>
|
||||
#include <TShort_Array1OfShortReal.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(TShort_HArray1OfShortReal, TShort_Array1OfShortReal)
|
||||
|
||||
|
||||
#endif
|
25
src/TShort/TShort_HArray2OfShortReal.hxx
Normal file
25
src/TShort/TShort_HArray2OfShortReal.hxx
Normal file
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 1998-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 TShort_HArray2OfShortReal_HeaderFile
|
||||
#define TShort_HArray2OfShortReal_HeaderFile
|
||||
|
||||
#include <Standard_ShortReal.hxx>
|
||||
#include <TShort_Array2OfShortReal.hxx>
|
||||
#include <NCollection_DefineHArray2.hxx>
|
||||
|
||||
DEFINE_HARRAY2(TShort_HArray2OfShortReal, TShort_Array2OfShortReal)
|
||||
|
||||
|
||||
#endif
|
25
src/TShort/TShort_HSequenceOfShortReal.hxx
Normal file
25
src/TShort/TShort_HSequenceOfShortReal.hxx
Normal file
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 1998-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 TShort_HSequenceOfShortReal_HeaderFile
|
||||
#define TShort_HSequenceOfShortReal_HeaderFile
|
||||
|
||||
#include <Standard_ShortReal.hxx>
|
||||
#include <TShort_SequenceOfShortReal.hxx>
|
||||
#include <NCollection_DefineHSequence.hxx>
|
||||
|
||||
DEFINE_HSEQUENCE(TShort_HSequenceOfShortReal, TShort_SequenceOfShortReal)
|
||||
|
||||
|
||||
#endif
|
24
src/TShort/TShort_SequenceOfShortReal.hxx
Normal file
24
src/TShort/TShort_SequenceOfShortReal.hxx
Normal file
@@ -0,0 +1,24 @@
|
||||
// Copyright (c) 1998-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 TShort_SequenceOfShortReal_HeaderFile
|
||||
#define TShort_SequenceOfShortReal_HeaderFile
|
||||
|
||||
#include <Standard_ShortReal.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Standard_ShortReal> TShort_SequenceOfShortReal;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user