mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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,11 +68,8 @@ is
|
||||
class HCompCurve instantiates GenHCurve from Adaptor3d
|
||||
(CompCurve from BRepAdaptor);
|
||||
|
||||
class Array1OfCurve
|
||||
instantiates Array1 from TCollection (Curve from BRepAdaptor);
|
||||
imported Array1OfCurve;
|
||||
|
||||
class HArray1OfCurve
|
||||
instantiates HArray1 from TCollection (Curve from BRepAdaptor,
|
||||
Array1OfCurve from BRepAdaptor);
|
||||
imported transient class HArray1OfCurve;
|
||||
|
||||
end BRepAdaptor;
|
||||
|
26
src/BRepAdaptor/BRepAdaptor_Array1OfCurve.hxx
Normal file
26
src/BRepAdaptor/BRepAdaptor_Array1OfCurve.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-02-19
|
||||
// Created by: Remi LEQUETTE
|
||||
// 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 BRepAdaptor_Array1OfCurve_HeaderFile
|
||||
#define BRepAdaptor_Array1OfCurve_HeaderFile
|
||||
|
||||
#include <BRepAdaptor_Curve.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<BRepAdaptor_Curve> BRepAdaptor_Array1OfCurve;
|
||||
|
||||
|
||||
#endif
|
27
src/BRepAdaptor/BRepAdaptor_HArray1OfCurve.hxx
Normal file
27
src/BRepAdaptor/BRepAdaptor_HArray1OfCurve.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-02-19
|
||||
// Created by: Remi LEQUETTE
|
||||
// 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 BRepAdaptor_HArray1OfCurve_HeaderFile
|
||||
#define BRepAdaptor_HArray1OfCurve_HeaderFile
|
||||
|
||||
#include <BRepAdaptor_Curve.hxx>
|
||||
#include <BRepAdaptor_Array1OfCurve.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(BRepAdaptor_HArray1OfCurve, BRepAdaptor_Array1OfCurve)
|
||||
|
||||
|
||||
#endif
|
2
src/BRepAdaptor/FILES
Normal file
2
src/BRepAdaptor/FILES
Normal file
@@ -0,0 +1,2 @@
|
||||
BRepAdaptor_Array1OfCurve.hxx
|
||||
BRepAdaptor_HArray1OfCurve.hxx
|
Reference in New Issue
Block a user