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:
@@ -81,8 +81,9 @@ is
|
||||
|
||||
deferred class CurveRepresentation;
|
||||
|
||||
class ListOfCurveRepresentation instantiates
|
||||
List from TCollection (CurveRepresentation from BRep);
|
||||
imported ListOfCurveRepresentation;
|
||||
|
||||
imported ListIteratorOfListOfCurveRepresentation;
|
||||
|
||||
deferred class GCurve;
|
||||
|
||||
@@ -112,8 +113,9 @@ is
|
||||
|
||||
deferred class PointRepresentation;
|
||||
|
||||
class ListOfPointRepresentation instantiates
|
||||
List from TCollection (PointRepresentation from BRep);
|
||||
imported ListOfPointRepresentation;
|
||||
|
||||
imported ListIteratorOfListOfPointRepresentation;
|
||||
|
||||
class PointOnCurve;
|
||||
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef BRep_ListIteratorOfListOfCurveRepresentation_HeaderFile
|
||||
#define BRep_ListIteratorOfListOfCurveRepresentation_HeaderFile
|
||||
|
||||
#include <BRep_ListOfCurveRepresentation.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef BRep_ListIteratorOfListOfPointRepresentation_HeaderFile
|
||||
#define BRep_ListIteratorOfListOfPointRepresentation_HeaderFile
|
||||
|
||||
#include <BRep_ListOfPointRepresentation.hxx>
|
||||
|
||||
#endif
|
27
src/BRep/BRep_ListOfCurveRepresentation.hxx
Normal file
27
src/BRep/BRep_ListOfCurveRepresentation.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1991-06-27
|
||||
// Created by: Remi LEQUETTE
|
||||
// Copyright (c) 1991-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 BRep_ListOfCurveRepresentation_HeaderFile
|
||||
#define BRep_ListOfCurveRepresentation_HeaderFile
|
||||
|
||||
#include <BRep_CurveRepresentation.hxx>
|
||||
#include <NCollection_List.hxx>
|
||||
|
||||
typedef NCollection_List<Handle(BRep_CurveRepresentation)> BRep_ListOfCurveRepresentation;
|
||||
typedef NCollection_List<Handle(BRep_CurveRepresentation)>::Iterator BRep_ListIteratorOfListOfCurveRepresentation;
|
||||
|
||||
|
||||
#endif
|
27
src/BRep/BRep_ListOfPointRepresentation.hxx
Normal file
27
src/BRep/BRep_ListOfPointRepresentation.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1991-06-27
|
||||
// Created by: Remi LEQUETTE
|
||||
// Copyright (c) 1991-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 BRep_ListOfPointRepresentation_HeaderFile
|
||||
#define BRep_ListOfPointRepresentation_HeaderFile
|
||||
|
||||
#include <BRep_PointRepresentation.hxx>
|
||||
#include <NCollection_List.hxx>
|
||||
|
||||
typedef NCollection_List<Handle(BRep_PointRepresentation)> BRep_ListOfPointRepresentation;
|
||||
typedef NCollection_List<Handle(BRep_PointRepresentation)>::Iterator BRep_ListIteratorOfListOfPointRepresentation;
|
||||
|
||||
|
||||
#endif
|
4
src/BRep/FILES
Normal file
4
src/BRep/FILES
Normal file
@@ -0,0 +1,4 @@
|
||||
BRep_ListOfCurveRepresentation.hxx
|
||||
BRep_ListIteratorOfListOfCurveRepresentation.hxx
|
||||
BRep_ListOfPointRepresentation.hxx
|
||||
BRep_ListIteratorOfListOfPointRepresentation.hxx
|
Reference in New Issue
Block a user