1
0
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 -- manual changes

Forward declaration of TCollection instances as classes are replaced by inclusion of corresponding header.
Cyclic dependencies between declaration of collection class and its item are resolved by forward declaring a class in collection header.
This commit is contained in:
abv
2014-06-02 09:08:25 +03:00
parent df8d39700d
commit b7c077b9ee
67 changed files with 120 additions and 472 deletions

View File

@@ -42,3 +42,4 @@ TopOpeBRepTool_IndexedDataMapOfShapeBox.hxx
TopOpeBRepTool_IndexedDataMapOfShapeconnexity.hxx
TopOpeBRepTool_DataMapOfShapeface.hxx
TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeface.hxx
TopOpeBRepTool_Plos.hxx

View File

@@ -67,7 +67,7 @@ is
imported IndexedDataMapOfSolidClassifier;
pointer Plos to ListOfShape from TopTools;
imported Plos;
class SolidClassifier;
class CurveTool;

View File

@@ -308,7 +308,7 @@ void TopOpeBRepTool_FuseEdges::BuildListResultEdges()
TopTools_ListIteratorOfListOfShape itEdg;
#endif
TopoDS_Edge& OldEdge = TopoDS::Edge(LmapEdg.First());
const TopoDS_Edge& OldEdge = TopoDS::Edge(LmapEdg.First());
// the first edge of the list will be replaced by the result fusion edge
if (OldEdge.Orientation()==TopAbs_REVERSED) {
@@ -407,7 +407,7 @@ void TopOpeBRepTool_FuseEdges::Perform()
TopTools_ListIteratorOfListOfShape itEdg;
EdgeToSubs.Clear();
TopoDS_Edge& OldEdge = TopoDS::Edge(LmapEdg.First());
const TopoDS_Edge& OldEdge = TopoDS::Edge(LmapEdg.First());
EdgeToSubs.Append(myMapEdg(iLst));

View File

@@ -0,0 +1,24 @@
// Created on: 1994-03-10
// Created by: Jean Yves LEBEY
// Copyright (c) 1994-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 _TopOpeBRepTool_Plos_HeaderFile
#define _TopOpeBRepTool_Plos_HeaderFile
#include <TopTools_ListOfShape.hxx>
typedef TopTools_ListOfShape* TopOpeBRepTool_Plos;
#endif // _TopOpeBRepTool_Plos_HeaderFile