1
0
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:
abv
2015-06-28 15:16:42 +03:00
parent 4f953fa991
commit df8d39700d
1424 changed files with 28413 additions and 2013 deletions

View File

@@ -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

View File

@@ -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)

View 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

View 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

View 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

View 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

View File

@@ -0,0 +1,8 @@
#ifndef Graphic3d_ListIteratorOfListOfShortReal_HeaderFile
#define Graphic3d_ListIteratorOfListOfShortReal_HeaderFile
#include <Graphic3d_ListOfShortReal.hxx>
#endif

View 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

View 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