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:
@@ -1 +1,4 @@
|
||||
ShapeFix_Wire_1.cxx
|
||||
ShapeFix_SequenceOfWireSegment.hxx
|
||||
ShapeFix_DataMapOfShapeBox2d.hxx
|
||||
ShapeFix_DataMapIteratorOfDataMapOfShapeBox2d.hxx
|
||||
|
@@ -90,11 +90,11 @@ is
|
||||
|
||||
class SplitTool;
|
||||
|
||||
class SequenceOfWireSegment instantiates Sequence from TCollection
|
||||
(WireSegment from ShapeFix);
|
||||
imported SequenceOfWireSegment;
|
||||
|
||||
class DataMapOfShapeBox2d instantiates DataMap from TCollection
|
||||
(Shape from TopoDS, Box2d from Bnd, ShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapeBox2d;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfShapeBox2d;
|
||||
|
||||
|
||||
SameParameter (shape : Shape from TopoDS;
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef ShapeFix_DataMapIteratorOfDataMapOfShapeBox2d_HeaderFile
|
||||
#define ShapeFix_DataMapIteratorOfDataMapOfShapeBox2d_HeaderFile
|
||||
|
||||
#include <ShapeFix_DataMapOfShapeBox2d.hxx>
|
||||
|
||||
#endif
|
29
src/ShapeFix/ShapeFix_DataMapOfShapeBox2d.hxx
Normal file
29
src/ShapeFix/ShapeFix_DataMapOfShapeBox2d.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1998-06-03
|
||||
// Created by: data exchange team
|
||||
// Copyright (c) 1998-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 ShapeFix_DataMapOfShapeBox2d_HeaderFile
|
||||
#define ShapeFix_DataMapOfShapeBox2d_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <Bnd_Box2d.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Bnd_Box2d,TopTools_ShapeMapHasher> ShapeFix_DataMapOfShapeBox2d;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Bnd_Box2d,TopTools_ShapeMapHasher>::Iterator ShapeFix_DataMapIteratorOfDataMapOfShapeBox2d;
|
||||
|
||||
|
||||
#endif
|
26
src/ShapeFix/ShapeFix_SequenceOfWireSegment.hxx
Normal file
26
src/ShapeFix/ShapeFix_SequenceOfWireSegment.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1998-06-03
|
||||
// Created by: data exchange team
|
||||
// Copyright (c) 1998-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 ShapeFix_SequenceOfWireSegment_HeaderFile
|
||||
#define ShapeFix_SequenceOfWireSegment_HeaderFile
|
||||
|
||||
#include <ShapeFix_WireSegment.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<ShapeFix_WireSegment> ShapeFix_SequenceOfWireSegment;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user