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:
@@ -68,3 +68,10 @@ Graphic3d_RenderingParams.hxx
|
||||
Graphic3d_NMapOfTransient.hxx
|
||||
Graphic3d_BSDF.hxx
|
||||
Graphic3d_BSDF.cxx
|
||||
Graphic3d_SequenceOfStructure.hxx
|
||||
Graphic3d_HSequenceOfStructure.hxx
|
||||
Graphic3d_Array1OfVector.hxx
|
||||
Graphic3d_Array1OfVertex.hxx
|
||||
Graphic3d_Array2OfVertex.hxx
|
||||
Graphic3d_ListOfShortReal.hxx
|
||||
Graphic3d_ListIteratorOfListOfShortReal.hxx
|
||||
|
@@ -504,30 +504,24 @@ is
|
||||
|
||||
imported SequenceOfGroup;
|
||||
|
||||
class SequenceOfStructure instantiates
|
||||
Sequence from TCollection
|
||||
(Structure from Graphic3d);
|
||||
imported SequenceOfStructure;
|
||||
---Category: Instantiated classes
|
||||
|
||||
class HSequenceOfStructure instantiates
|
||||
HSequence from TCollection
|
||||
(Structure from Graphic3d, SequenceOfStructure from Graphic3d);
|
||||
imported transient class HSequenceOfStructure;
|
||||
---Category: Instantiated classes
|
||||
|
||||
class Array1OfVector instantiates
|
||||
Array1 from TCollection (Vector from Graphic3d);
|
||||
imported Array1OfVector;
|
||||
---Category: Instantiated classes
|
||||
|
||||
class Array1OfVertex instantiates
|
||||
Array1 from TCollection (Vertex from Graphic3d);
|
||||
imported Array1OfVertex;
|
||||
---Category: Instantiated classes
|
||||
|
||||
class Array2OfVertex instantiates
|
||||
Array2 from TCollection (Vertex from Graphic3d);
|
||||
imported Array2OfVertex;
|
||||
---Category: Instantiated classes
|
||||
|
||||
class ListOfShortReal instantiates
|
||||
List from TCollection (ShortReal from Standard);
|
||||
imported ListOfShortReal;
|
||||
|
||||
imported ListIteratorOfListOfShortReal;
|
||||
---Category: Instantiated classes
|
||||
|
||||
--ABD Integration support of system fonts (using FTGL and FreeType)
|
||||
|
26
src/Graphic3d/Graphic3d_Array1OfVector.hxx
Normal file
26
src/Graphic3d/Graphic3d_Array1OfVector.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-03-31
|
||||
// Created by: NW,JPB,CAL
|
||||
// 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 Graphic3d_Array1OfVector_HeaderFile
|
||||
#define Graphic3d_Array1OfVector_HeaderFile
|
||||
|
||||
#include <Graphic3d_Vector.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Graphic3d_Vector> Graphic3d_Array1OfVector;
|
||||
|
||||
|
||||
#endif
|
26
src/Graphic3d/Graphic3d_Array1OfVertex.hxx
Normal file
26
src/Graphic3d/Graphic3d_Array1OfVertex.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-03-31
|
||||
// Created by: NW,JPB,CAL
|
||||
// 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 Graphic3d_Array1OfVertex_HeaderFile
|
||||
#define Graphic3d_Array1OfVertex_HeaderFile
|
||||
|
||||
#include <Graphic3d_Vertex.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Graphic3d_Vertex> Graphic3d_Array1OfVertex;
|
||||
|
||||
|
||||
#endif
|
26
src/Graphic3d/Graphic3d_Array2OfVertex.hxx
Normal file
26
src/Graphic3d/Graphic3d_Array2OfVertex.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-03-31
|
||||
// Created by: NW,JPB,CAL
|
||||
// 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 Graphic3d_Array2OfVertex_HeaderFile
|
||||
#define Graphic3d_Array2OfVertex_HeaderFile
|
||||
|
||||
#include <Graphic3d_Vertex.hxx>
|
||||
#include <NCollection_Array2.hxx>
|
||||
|
||||
typedef NCollection_Array2<Graphic3d_Vertex> Graphic3d_Array2OfVertex;
|
||||
|
||||
|
||||
#endif
|
27
src/Graphic3d/Graphic3d_HSequenceOfStructure.hxx
Normal file
27
src/Graphic3d/Graphic3d_HSequenceOfStructure.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-03-31
|
||||
// Created by: NW,JPB,CAL
|
||||
// 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 Graphic3d_HSequenceOfStructure_HeaderFile
|
||||
#define Graphic3d_HSequenceOfStructure_HeaderFile
|
||||
|
||||
#include <Graphic3d_Structure.hxx>
|
||||
#include <Graphic3d_SequenceOfStructure.hxx>
|
||||
#include <NCollection_DefineHSequence.hxx>
|
||||
|
||||
DEFINE_HSEQUENCE(Graphic3d_HSequenceOfStructure, Graphic3d_SequenceOfStructure)
|
||||
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef Graphic3d_ListIteratorOfListOfShortReal_HeaderFile
|
||||
#define Graphic3d_ListIteratorOfListOfShortReal_HeaderFile
|
||||
|
||||
#include <Graphic3d_ListOfShortReal.hxx>
|
||||
|
||||
#endif
|
27
src/Graphic3d/Graphic3d_ListOfShortReal.hxx
Normal file
27
src/Graphic3d/Graphic3d_ListOfShortReal.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-03-31
|
||||
// Created by: NW,JPB,CAL
|
||||
// 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 Graphic3d_ListOfShortReal_HeaderFile
|
||||
#define Graphic3d_ListOfShortReal_HeaderFile
|
||||
|
||||
#include <Standard_ShortReal.hxx>
|
||||
#include <NCollection_List.hxx>
|
||||
|
||||
typedef NCollection_List<Standard_ShortReal> Graphic3d_ListOfShortReal;
|
||||
typedef NCollection_List<Standard_ShortReal>::Iterator Graphic3d_ListIteratorOfListOfShortReal;
|
||||
|
||||
|
||||
#endif
|
26
src/Graphic3d/Graphic3d_SequenceOfStructure.hxx
Normal file
26
src/Graphic3d/Graphic3d_SequenceOfStructure.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-03-31
|
||||
// Created by: NW,JPB,CAL
|
||||
// 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 Graphic3d_SequenceOfStructure_HeaderFile
|
||||
#define Graphic3d_SequenceOfStructure_HeaderFile
|
||||
|
||||
#include <Graphic3d_Structure.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Handle(Graphic3d_Structure)> Graphic3d_SequenceOfStructure;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user