mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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/IGESGraph/FILES
Normal file
6
src/IGESGraph/FILES
Normal file
@@ -0,0 +1,6 @@
|
||||
IGESGraph_Array1OfColor.hxx
|
||||
IGESGraph_Array1OfTextDisplayTemplate.hxx
|
||||
IGESGraph_Array1OfTextFontDef.hxx
|
||||
IGESGraph_HArray1OfColor.hxx
|
||||
IGESGraph_HArray1OfTextDisplayTemplate.hxx
|
||||
IGESGraph_HArray1OfTextFontDef.hxx
|
@@ -88,18 +88,13 @@ is
|
||||
|
||||
-- The class instantiations :
|
||||
|
||||
class Array1OfColor instantiates Array1 from TCollection (Color);
|
||||
class Array1OfTextDisplayTemplate instantiates
|
||||
Array1 from TCollection (TextDisplayTemplate);
|
||||
class Array1OfTextFontDef instantiates
|
||||
Array1 from TCollection (TextFontDef);
|
||||
imported Array1OfColor;
|
||||
imported Array1OfTextDisplayTemplate;
|
||||
imported Array1OfTextFontDef;
|
||||
|
||||
class HArray1OfColor instantiates HArray1 from TCollection
|
||||
(Color,Array1OfColor);
|
||||
class HArray1OfTextDisplayTemplate instantiates HArray1 from TCollection
|
||||
(TextDisplayTemplate,Array1OfTextDisplayTemplate);
|
||||
class HArray1OfTextFontDef instantiates HArray1 from TCollection
|
||||
(TextFontDef,Array1OfTextFontDef);
|
||||
imported transient class HArray1OfColor;
|
||||
imported transient class HArray1OfTextDisplayTemplate;
|
||||
imported transient class HArray1OfTextFontDef;
|
||||
|
||||
-- Package Methods
|
||||
|
||||
|
26
src/IGESGraph/IGESGraph_Array1OfColor.hxx
Normal file
26
src/IGESGraph/IGESGraph_Array1OfColor.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-01-11
|
||||
// Created by: CKY / Contract Toubro-Larsen (TCD)
|
||||
// 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 IGESGraph_Array1OfColor_HeaderFile
|
||||
#define IGESGraph_Array1OfColor_HeaderFile
|
||||
|
||||
#include <IGESGraph_Color.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(IGESGraph_Color)> IGESGraph_Array1OfColor;
|
||||
|
||||
|
||||
#endif
|
26
src/IGESGraph/IGESGraph_Array1OfTextDisplayTemplate.hxx
Normal file
26
src/IGESGraph/IGESGraph_Array1OfTextDisplayTemplate.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-01-11
|
||||
// Created by: CKY / Contract Toubro-Larsen (TCD)
|
||||
// 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 IGESGraph_Array1OfTextDisplayTemplate_HeaderFile
|
||||
#define IGESGraph_Array1OfTextDisplayTemplate_HeaderFile
|
||||
|
||||
#include <IGESGraph_TextDisplayTemplate.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(IGESGraph_TextDisplayTemplate)> IGESGraph_Array1OfTextDisplayTemplate;
|
||||
|
||||
|
||||
#endif
|
26
src/IGESGraph/IGESGraph_Array1OfTextFontDef.hxx
Normal file
26
src/IGESGraph/IGESGraph_Array1OfTextFontDef.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-01-11
|
||||
// Created by: CKY / Contract Toubro-Larsen (TCD)
|
||||
// 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 IGESGraph_Array1OfTextFontDef_HeaderFile
|
||||
#define IGESGraph_Array1OfTextFontDef_HeaderFile
|
||||
|
||||
#include <IGESGraph_TextFontDef.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(IGESGraph_TextFontDef)> IGESGraph_Array1OfTextFontDef;
|
||||
|
||||
|
||||
#endif
|
27
src/IGESGraph/IGESGraph_HArray1OfColor.hxx
Normal file
27
src/IGESGraph/IGESGraph_HArray1OfColor.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-01-11
|
||||
// Created by: CKY / Contract Toubro-Larsen (TCD)
|
||||
// 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 IGESGraph_HArray1OfColor_HeaderFile
|
||||
#define IGESGraph_HArray1OfColor_HeaderFile
|
||||
|
||||
#include <IGESGraph_Color.hxx>
|
||||
#include <IGESGraph_Array1OfColor.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(IGESGraph_HArray1OfColor, IGESGraph_Array1OfColor)
|
||||
|
||||
|
||||
#endif
|
27
src/IGESGraph/IGESGraph_HArray1OfTextDisplayTemplate.hxx
Normal file
27
src/IGESGraph/IGESGraph_HArray1OfTextDisplayTemplate.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-01-11
|
||||
// Created by: CKY / Contract Toubro-Larsen (TCD)
|
||||
// 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 IGESGraph_HArray1OfTextDisplayTemplate_HeaderFile
|
||||
#define IGESGraph_HArray1OfTextDisplayTemplate_HeaderFile
|
||||
|
||||
#include <IGESGraph_TextDisplayTemplate.hxx>
|
||||
#include <IGESGraph_Array1OfTextDisplayTemplate.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(IGESGraph_HArray1OfTextDisplayTemplate, IGESGraph_Array1OfTextDisplayTemplate)
|
||||
|
||||
|
||||
#endif
|
27
src/IGESGraph/IGESGraph_HArray1OfTextFontDef.hxx
Normal file
27
src/IGESGraph/IGESGraph_HArray1OfTextFontDef.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-01-11
|
||||
// Created by: CKY / Contract Toubro-Larsen (TCD)
|
||||
// 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 IGESGraph_HArray1OfTextFontDef_HeaderFile
|
||||
#define IGESGraph_HArray1OfTextFontDef_HeaderFile
|
||||
|
||||
#include <IGESGraph_TextFontDef.hxx>
|
||||
#include <IGESGraph_Array1OfTextFontDef.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(IGESGraph_HArray1OfTextFontDef, IGESGraph_Array1OfTextFontDef)
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user