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:
@@ -56,10 +56,9 @@ is
|
||||
|
||||
class Tool;
|
||||
|
||||
class MapOfShapeTool instantiates DataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
Tool from BRepTopAdaptor,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported MapOfShapeTool;
|
||||
|
||||
imported DataMapIteratorOfMapOfShapeTool;
|
||||
|
||||
|
||||
end BRepTopAdaptor;
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef BRepTopAdaptor_DataMapIteratorOfMapOfShapeTool_HeaderFile
|
||||
#define BRepTopAdaptor_DataMapIteratorOfMapOfShapeTool_HeaderFile
|
||||
|
||||
#include <BRepTopAdaptor_MapOfShapeTool.hxx>
|
||||
|
||||
#endif
|
29
src/BRepTopAdaptor/BRepTopAdaptor_MapOfShapeTool.hxx
Normal file
29
src/BRepTopAdaptor/BRepTopAdaptor_MapOfShapeTool.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1994-04-01
|
||||
// Created by: Modelistation
|
||||
// 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 BRepTopAdaptor_MapOfShapeTool_HeaderFile
|
||||
#define BRepTopAdaptor_MapOfShapeTool_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <BRepTopAdaptor_Tool.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,BRepTopAdaptor_Tool,TopTools_ShapeMapHasher> BRepTopAdaptor_MapOfShapeTool;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,BRepTopAdaptor_Tool,TopTools_ShapeMapHasher>::Iterator BRepTopAdaptor_DataMapIteratorOfMapOfShapeTool;
|
||||
|
||||
|
||||
#endif
|
2
src/BRepTopAdaptor/FILES
Normal file
2
src/BRepTopAdaptor/FILES
Normal file
@@ -0,0 +1,2 @@
|
||||
BRepTopAdaptor_MapOfShapeTool.hxx
|
||||
BRepTopAdaptor_DataMapIteratorOfMapOfShapeTool.hxx
|
Reference in New Issue
Block a user