mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +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:
@@ -11,3 +11,5 @@ Poly_CoherentLink.cxx
|
||||
Poly_MakeLoops.hxx
|
||||
Poly_MakeLoops.cxx
|
||||
Poly_ListOfTriangulation.hxx
|
||||
Poly_Array1OfTriangle.hxx
|
||||
Poly_HArray1OfTriangle.hxx
|
||||
|
@@ -40,12 +40,9 @@ is
|
||||
|
||||
class Triangle;
|
||||
|
||||
class Array1OfTriangle
|
||||
instantiates Array1 from TCollection(Triangle from Poly);
|
||||
imported Array1OfTriangle;
|
||||
|
||||
class HArray1OfTriangle
|
||||
instantiates HArray1 from TCollection(Triangle from Poly,
|
||||
Array1OfTriangle from Poly);
|
||||
imported transient class HArray1OfTriangle;
|
||||
|
||||
class Triangulation;
|
||||
|
||||
|
26
src/Poly/Poly_Array1OfTriangle.hxx
Normal file
26
src/Poly/Poly_Array1OfTriangle.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1995-03-06
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1995-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 Poly_Array1OfTriangle_HeaderFile
|
||||
#define Poly_Array1OfTriangle_HeaderFile
|
||||
|
||||
#include <Poly_Triangle.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Poly_Triangle> Poly_Array1OfTriangle;
|
||||
|
||||
|
||||
#endif
|
27
src/Poly/Poly_HArray1OfTriangle.hxx
Normal file
27
src/Poly/Poly_HArray1OfTriangle.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1995-03-06
|
||||
// Created by: Laurent PAINNOT
|
||||
// Copyright (c) 1995-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 Poly_HArray1OfTriangle_HeaderFile
|
||||
#define Poly_HArray1OfTriangle_HeaderFile
|
||||
|
||||
#include <Poly_Triangle.hxx>
|
||||
#include <Poly_Array1OfTriangle.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(Poly_HArray1OfTriangle, Poly_Array1OfTriangle)
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user