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:
@@ -39,15 +39,14 @@ is
|
||||
class LinkTopoBilo;
|
||||
|
||||
|
||||
class DataMapOfShapeSequenceOfBasicElt instantiates DataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
SequenceOfBasicElt from MAT,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapeSequenceOfBasicElt;
|
||||
|
||||
|
||||
imported DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt;
|
||||
|
||||
class DataMapOfBasicEltShape instantiates
|
||||
DataMap from TCollection (BasicElt from MAT,
|
||||
Shape from TopoDS,
|
||||
MapTransientHasher from TColStd);
|
||||
imported DataMapOfBasicEltShape;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfBasicEltShape;
|
||||
|
||||
end BRepMAT2d;
|
||||
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape_HeaderFile
|
||||
#define BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape_HeaderFile
|
||||
|
||||
#include <BRepMAT2d_DataMapOfBasicEltShape.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef BRepMAT2d_DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt_HeaderFile
|
||||
#define BRepMAT2d_DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt_HeaderFile
|
||||
|
||||
#include <BRepMAT2d_DataMapOfShapeSequenceOfBasicElt.hxx>
|
||||
|
||||
#endif
|
29
src/BRepMAT2d/BRepMAT2d_DataMapOfBasicEltShape.hxx
Normal file
29
src/BRepMAT2d/BRepMAT2d_DataMapOfBasicEltShape.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1994-10-03
|
||||
// Created by: Yves FRICAUD
|
||||
// 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 BRepMAT2d_DataMapOfBasicEltShape_HeaderFile
|
||||
#define BRepMAT2d_DataMapOfBasicEltShape_HeaderFile
|
||||
|
||||
#include <MAT_BasicElt.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TColStd_MapTransientHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<Handle(MAT_BasicElt),TopoDS_Shape,TColStd_MapTransientHasher> BRepMAT2d_DataMapOfBasicEltShape;
|
||||
typedef NCollection_DataMap<Handle(MAT_BasicElt),TopoDS_Shape,TColStd_MapTransientHasher>::Iterator BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape;
|
||||
|
||||
|
||||
#endif
|
29
src/BRepMAT2d/BRepMAT2d_DataMapOfShapeSequenceOfBasicElt.hxx
Normal file
29
src/BRepMAT2d/BRepMAT2d_DataMapOfShapeSequenceOfBasicElt.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1994-10-03
|
||||
// Created by: Yves FRICAUD
|
||||
// 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 BRepMAT2d_DataMapOfShapeSequenceOfBasicElt_HeaderFile
|
||||
#define BRepMAT2d_DataMapOfShapeSequenceOfBasicElt_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <MAT_SequenceOfBasicElt.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,MAT_SequenceOfBasicElt,TopTools_ShapeMapHasher> BRepMAT2d_DataMapOfShapeSequenceOfBasicElt;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,MAT_SequenceOfBasicElt,TopTools_ShapeMapHasher>::Iterator BRepMAT2d_DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt;
|
||||
|
||||
|
||||
#endif
|
4
src/BRepMAT2d/FILES
Normal file
4
src/BRepMAT2d/FILES
Normal file
@@ -0,0 +1,4 @@
|
||||
BRepMAT2d_DataMapOfShapeSequenceOfBasicElt.hxx
|
||||
BRepMAT2d_DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt.hxx
|
||||
BRepMAT2d_DataMapOfBasicEltShape.hxx
|
||||
BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape.hxx
|
Reference in New Issue
Block a user