mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +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/Geom2dHatch/FILES
Normal file
4
src/Geom2dHatch/FILES
Normal file
@@ -0,0 +1,4 @@
|
||||
Geom2dHatch_Hatchings.hxx
|
||||
Geom2dHatch_DataMapIteratorOfHatchings.hxx
|
||||
Geom2dHatch_MapOfElements.hxx
|
||||
Geom2dHatch_DataMapIteratorOfMapOfElements.hxx
|
@@ -36,19 +36,17 @@ is
|
||||
class Elements;
|
||||
class Hatching;
|
||||
|
||||
class Hatchings instantiates DataMap from TCollection
|
||||
(Integer from Standard,
|
||||
Hatching from Geom2dHatch,
|
||||
MapIntegerHasher from TColStd) ;
|
||||
imported Hatchings;
|
||||
|
||||
imported DataMapIteratorOfHatchings;
|
||||
|
||||
class Classifier instantiates FaceClassifier from TopClass
|
||||
(Elements from Geom2dHatch,
|
||||
Curve from Geom2dAdaptor,
|
||||
Intersector from Geom2dHatch);
|
||||
|
||||
private class MapOfElements instantiates DataMap from TCollection
|
||||
(Integer from Standard,
|
||||
Element from Geom2dHatch,
|
||||
MapIntegerHasher from TColStd);
|
||||
imported MapOfElements;
|
||||
|
||||
imported DataMapIteratorOfMapOfElements;
|
||||
|
||||
end Geom2dHatch ;
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef Geom2dHatch_DataMapIteratorOfHatchings_HeaderFile
|
||||
#define Geom2dHatch_DataMapIteratorOfHatchings_HeaderFile
|
||||
|
||||
#include <Geom2dHatch_Hatchings.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef Geom2dHatch_DataMapIteratorOfMapOfElements_HeaderFile
|
||||
#define Geom2dHatch_DataMapIteratorOfMapOfElements_HeaderFile
|
||||
|
||||
#include <Geom2dHatch_MapOfElements.hxx>
|
||||
|
||||
#endif
|
29
src/Geom2dHatch/Geom2dHatch_Hatchings.hxx
Normal file
29
src/Geom2dHatch/Geom2dHatch_Hatchings.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1994-02-03
|
||||
// Created by: Jean Marc LACHAUME
|
||||
// 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 Geom2dHatch_Hatchings_HeaderFile
|
||||
#define Geom2dHatch_Hatchings_HeaderFile
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Geom2dHatch_Hatching.hxx>
|
||||
#include <TColStd_MapIntegerHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<Standard_Integer,Geom2dHatch_Hatching,TColStd_MapIntegerHasher> Geom2dHatch_Hatchings;
|
||||
typedef NCollection_DataMap<Standard_Integer,Geom2dHatch_Hatching,TColStd_MapIntegerHasher>::Iterator Geom2dHatch_DataMapIteratorOfHatchings;
|
||||
|
||||
|
||||
#endif
|
29
src/Geom2dHatch/Geom2dHatch_MapOfElements.hxx
Normal file
29
src/Geom2dHatch/Geom2dHatch_MapOfElements.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1994-02-03
|
||||
// Created by: Jean Marc LACHAUME
|
||||
// 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 Geom2dHatch_MapOfElements_HeaderFile
|
||||
#define Geom2dHatch_MapOfElements_HeaderFile
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Geom2dHatch_Element.hxx>
|
||||
#include <TColStd_MapIntegerHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<Standard_Integer,Geom2dHatch_Element,TColStd_MapIntegerHasher> Geom2dHatch_MapOfElements;
|
||||
typedef NCollection_DataMap<Standard_Integer,Geom2dHatch_Element,TColStd_MapIntegerHasher>::Iterator Geom2dHatch_DataMapIteratorOfMapOfElements;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user