mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50: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:
@@ -43,18 +43,21 @@ is
|
||||
|
||||
class Edge;
|
||||
|
||||
class ListOfEdge instantiates
|
||||
List from TCollection(Edge from DBRep);
|
||||
imported ListOfEdge;
|
||||
|
||||
imported ListIteratorOfListOfEdge;
|
||||
|
||||
class Face;
|
||||
|
||||
class ListOfFace instantiates
|
||||
List from TCollection(Face from DBRep);
|
||||
imported ListOfFace;
|
||||
|
||||
imported ListIteratorOfListOfFace;
|
||||
|
||||
class HideData;
|
||||
|
||||
class ListOfHideData instantiates
|
||||
List from TCollection(HideData from DBRep);
|
||||
imported ListOfHideData;
|
||||
|
||||
imported ListIteratorOfListOfHideData;
|
||||
|
||||
class DrawableShape;
|
||||
|
||||
|
8
src/DBRep/DBRep_ListIteratorOfListOfEdge.hxx
Normal file
8
src/DBRep/DBRep_ListIteratorOfListOfEdge.hxx
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef DBRep_ListIteratorOfListOfEdge_HeaderFile
|
||||
#define DBRep_ListIteratorOfListOfEdge_HeaderFile
|
||||
|
||||
#include <DBRep_ListOfEdge.hxx>
|
||||
|
||||
#endif
|
8
src/DBRep/DBRep_ListIteratorOfListOfFace.hxx
Normal file
8
src/DBRep/DBRep_ListIteratorOfListOfFace.hxx
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef DBRep_ListIteratorOfListOfFace_HeaderFile
|
||||
#define DBRep_ListIteratorOfListOfFace_HeaderFile
|
||||
|
||||
#include <DBRep_ListOfFace.hxx>
|
||||
|
||||
#endif
|
8
src/DBRep/DBRep_ListIteratorOfListOfHideData.hxx
Normal file
8
src/DBRep/DBRep_ListIteratorOfListOfHideData.hxx
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef DBRep_ListIteratorOfListOfHideData_HeaderFile
|
||||
#define DBRep_ListIteratorOfListOfHideData_HeaderFile
|
||||
|
||||
#include <DBRep_ListOfHideData.hxx>
|
||||
|
||||
#endif
|
27
src/DBRep/DBRep_ListOfEdge.hxx
Normal file
27
src/DBRep/DBRep_ListOfEdge.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1991-06-25
|
||||
// Created by: Christophe MARION
|
||||
// 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 DBRep_ListOfEdge_HeaderFile
|
||||
#define DBRep_ListOfEdge_HeaderFile
|
||||
|
||||
#include <DBRep_Edge.hxx>
|
||||
#include <NCollection_List.hxx>
|
||||
|
||||
typedef NCollection_List<Handle(DBRep_Edge)> DBRep_ListOfEdge;
|
||||
typedef NCollection_List<Handle(DBRep_Edge)>::Iterator DBRep_ListIteratorOfListOfEdge;
|
||||
|
||||
|
||||
#endif
|
27
src/DBRep/DBRep_ListOfFace.hxx
Normal file
27
src/DBRep/DBRep_ListOfFace.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1991-06-25
|
||||
// Created by: Christophe MARION
|
||||
// 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 DBRep_ListOfFace_HeaderFile
|
||||
#define DBRep_ListOfFace_HeaderFile
|
||||
|
||||
#include <DBRep_Face.hxx>
|
||||
#include <NCollection_List.hxx>
|
||||
|
||||
typedef NCollection_List<Handle(DBRep_Face)> DBRep_ListOfFace;
|
||||
typedef NCollection_List<Handle(DBRep_Face)>::Iterator DBRep_ListIteratorOfListOfFace;
|
||||
|
||||
|
||||
#endif
|
27
src/DBRep/DBRep_ListOfHideData.hxx
Normal file
27
src/DBRep/DBRep_ListOfHideData.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1991-06-25
|
||||
// Created by: Christophe MARION
|
||||
// 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 DBRep_ListOfHideData_HeaderFile
|
||||
#define DBRep_ListOfHideData_HeaderFile
|
||||
|
||||
#include <DBRep_HideData.hxx>
|
||||
#include <NCollection_List.hxx>
|
||||
|
||||
typedef NCollection_List<DBRep_HideData> DBRep_ListOfHideData;
|
||||
typedef NCollection_List<DBRep_HideData>::Iterator DBRep_ListIteratorOfListOfHideData;
|
||||
|
||||
|
||||
#endif
|
@@ -1 +1,7 @@
|
||||
DBRep_Debug.cxx
|
||||
DBRep_ListOfEdge.hxx
|
||||
DBRep_ListIteratorOfListOfEdge.hxx
|
||||
DBRep_ListOfFace.hxx
|
||||
DBRep_ListIteratorOfListOfFace.hxx
|
||||
DBRep_ListOfHideData.hxx
|
||||
DBRep_ListIteratorOfListOfHideData.hxx
|
||||
|
Reference in New Issue
Block a user