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:
4
src/ShapeExtend/FILES
Normal file
4
src/ShapeExtend/FILES
Normal file
@@ -0,0 +1,4 @@
|
||||
ShapeExtend_DataMapOfShapeListOfMsg.hxx
|
||||
ShapeExtend_DataMapIteratorOfDataMapOfShapeListOfMsg.hxx
|
||||
ShapeExtend_DataMapOfTransientListOfMsg.hxx
|
||||
ShapeExtend_DataMapIteratorOfDataMapOfTransientListOfMsg.hxx
|
@@ -107,15 +107,13 @@ is
|
||||
|
||||
class Explorer;
|
||||
|
||||
class DataMapOfShapeListOfMsg instantiates DataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
ListOfMsg from Message,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapeListOfMsg;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfShapeListOfMsg;
|
||||
|
||||
class DataMapOfTransientListOfMsg instantiates DataMap from TCollection
|
||||
(Transient,
|
||||
ListOfMsg from Message,
|
||||
MapTransientHasher from TColStd);
|
||||
imported DataMapOfTransientListOfMsg;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfTransientListOfMsg;
|
||||
|
||||
Init;
|
||||
---Purpose: Inits using of ShapeExtend.
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef ShapeExtend_DataMapIteratorOfDataMapOfShapeListOfMsg_HeaderFile
|
||||
#define ShapeExtend_DataMapIteratorOfDataMapOfShapeListOfMsg_HeaderFile
|
||||
|
||||
#include <ShapeExtend_DataMapOfShapeListOfMsg.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef ShapeExtend_DataMapIteratorOfDataMapOfTransientListOfMsg_HeaderFile
|
||||
#define ShapeExtend_DataMapIteratorOfDataMapOfTransientListOfMsg_HeaderFile
|
||||
|
||||
#include <ShapeExtend_DataMapOfTransientListOfMsg.hxx>
|
||||
|
||||
#endif
|
29
src/ShapeExtend/ShapeExtend_DataMapOfShapeListOfMsg.hxx
Normal file
29
src/ShapeExtend/ShapeExtend_DataMapOfShapeListOfMsg.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1998-07-21
|
||||
// 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 ShapeExtend_DataMapOfShapeListOfMsg_HeaderFile
|
||||
#define ShapeExtend_DataMapOfShapeListOfMsg_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <Message_ListOfMsg.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Message_ListOfMsg,TopTools_ShapeMapHasher> ShapeExtend_DataMapOfShapeListOfMsg;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Message_ListOfMsg,TopTools_ShapeMapHasher>::Iterator ShapeExtend_DataMapIteratorOfDataMapOfShapeListOfMsg;
|
||||
|
||||
|
||||
#endif
|
29
src/ShapeExtend/ShapeExtend_DataMapOfTransientListOfMsg.hxx
Normal file
29
src/ShapeExtend/ShapeExtend_DataMapOfTransientListOfMsg.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1998-07-21
|
||||
// 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 ShapeExtend_DataMapOfTransientListOfMsg_HeaderFile
|
||||
#define ShapeExtend_DataMapOfTransientListOfMsg_HeaderFile
|
||||
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Message_ListOfMsg.hxx>
|
||||
#include <TColStd_MapTransientHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<Handle(Standard_Transient),Message_ListOfMsg,TColStd_MapTransientHasher> ShapeExtend_DataMapOfTransientListOfMsg;
|
||||
typedef NCollection_DataMap<Handle(Standard_Transient),Message_ListOfMsg,TColStd_MapTransientHasher>::Iterator ShapeExtend_DataMapIteratorOfDataMapOfTransientListOfMsg;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user