mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +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:
@@ -1,2 +1,6 @@
|
||||
Quantity_Color_1.hxx
|
||||
Quantity_Period.lxx
|
||||
Quantity_Array1OfCoefficient.hxx
|
||||
Quantity_Array2OfColor.hxx
|
||||
Quantity_Array1OfColor.hxx
|
||||
Quantity_HArray1OfColor.hxx
|
||||
|
@@ -667,21 +667,16 @@ is
|
||||
class Convert;
|
||||
|
||||
|
||||
class Array1OfCoefficient instantiates
|
||||
Array1 from TCollection (Coefficient from Quantity);
|
||||
imported Array1OfCoefficient;
|
||||
---Category: Instantiated classes
|
||||
|
||||
class Array2OfColor instantiates
|
||||
Array2 from TCollection (Color from Quantity);
|
||||
imported Array2OfColor;
|
||||
---Category: Instantiated classes
|
||||
|
||||
class Array1OfColor instantiates
|
||||
Array1 from TCollection (Color from Quantity);
|
||||
imported Array1OfColor;
|
||||
---Category: Instantiated classes
|
||||
|
||||
class HArray1OfColor instantiates
|
||||
HArray1 from TCollection (Color from Quantity,
|
||||
Array1OfColor from Quantity);
|
||||
imported transient class HArray1OfColor;
|
||||
---Category: Instantiated classes
|
||||
|
||||
|
||||
|
26
src/Quantity/Quantity_Array1OfCoefficient.hxx
Normal file
26
src/Quantity/Quantity_Array1OfCoefficient.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1994-02-08
|
||||
// Created by: Gilles DEBARBOUILLE
|
||||
// Copyright (c) 1994-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 Quantity_Array1OfCoefficient_HeaderFile
|
||||
#define Quantity_Array1OfCoefficient_HeaderFile
|
||||
|
||||
#include <Quantity_Coefficient.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Quantity_Coefficient> Quantity_Array1OfCoefficient;
|
||||
|
||||
|
||||
#endif
|
26
src/Quantity/Quantity_Array1OfColor.hxx
Normal file
26
src/Quantity/Quantity_Array1OfColor.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1994-02-08
|
||||
// Created by: Gilles DEBARBOUILLE
|
||||
// Copyright (c) 1994-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 Quantity_Array1OfColor_HeaderFile
|
||||
#define Quantity_Array1OfColor_HeaderFile
|
||||
|
||||
#include <Quantity_Color.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Quantity_Color> Quantity_Array1OfColor;
|
||||
|
||||
|
||||
#endif
|
26
src/Quantity/Quantity_Array2OfColor.hxx
Normal file
26
src/Quantity/Quantity_Array2OfColor.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1994-02-08
|
||||
// Created by: Gilles DEBARBOUILLE
|
||||
// Copyright (c) 1994-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 Quantity_Array2OfColor_HeaderFile
|
||||
#define Quantity_Array2OfColor_HeaderFile
|
||||
|
||||
#include <Quantity_Color.hxx>
|
||||
#include <NCollection_Array2.hxx>
|
||||
|
||||
typedef NCollection_Array2<Quantity_Color> Quantity_Array2OfColor;
|
||||
|
||||
|
||||
#endif
|
27
src/Quantity/Quantity_HArray1OfColor.hxx
Normal file
27
src/Quantity/Quantity_HArray1OfColor.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1994-02-08
|
||||
// Created by: Gilles DEBARBOUILLE
|
||||
// Copyright (c) 1994-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 Quantity_HArray1OfColor_HeaderFile
|
||||
#define Quantity_HArray1OfColor_HeaderFile
|
||||
|
||||
#include <Quantity_Color.hxx>
|
||||
#include <Quantity_Array1OfColor.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(Quantity_HArray1OfColor, Quantity_Array1OfColor)
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user