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:
12
src/STEPCAFControl/FILES
Normal file
12
src/STEPCAFControl/FILES
Normal file
@@ -0,0 +1,12 @@
|
||||
STEPCAFControl_DataMapOfShapeSDR.hxx
|
||||
STEPCAFControl_DataMapIteratorOfDataMapOfShapeSDR.hxx
|
||||
STEPCAFControl_DataMapOfShapePD.hxx
|
||||
STEPCAFControl_DataMapIteratorOfDataMapOfShapePD.hxx
|
||||
STEPCAFControl_DataMapOfSDRExternFile.hxx
|
||||
STEPCAFControl_DataMapIteratorOfDataMapOfSDRExternFile.hxx
|
||||
STEPCAFControl_DataMapOfPDExternFile.hxx
|
||||
STEPCAFControl_DataMapIteratorOfDataMapOfPDExternFile.hxx
|
||||
STEPCAFControl_DataMapOfLabelShape.hxx
|
||||
STEPCAFControl_DataMapIteratorOfDataMapOfLabelShape.hxx
|
||||
STEPCAFControl_DataMapOfLabelExternFile.hxx
|
||||
STEPCAFControl_DataMapIteratorOfDataMapOfLabelExternFile.hxx
|
@@ -53,36 +53,28 @@ is
|
||||
class DictionaryOfExternFile instantiates
|
||||
Dictionary from Dico (ExternFile from STEPCAFControl);
|
||||
|
||||
class DataMapOfShapeSDR instantiates
|
||||
DataMap from TCollection (Shape from TopoDS,
|
||||
ShapeDefinitionRepresentation from StepShape,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapeSDR;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfShapeSDR;
|
||||
|
||||
--- skl
|
||||
class DataMapOfShapePD instantiates
|
||||
DataMap from TCollection (Shape from TopoDS,
|
||||
ProductDefinition from StepBasic,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapePD;
|
||||
imported DataMapIteratorOfDataMapOfShapePD;
|
||||
|
||||
class DataMapOfSDRExternFile instantiates
|
||||
DataMap from TCollection (ShapeDefinitionRepresentation from StepShape,
|
||||
ExternFile from STEPCAFControl,
|
||||
MapTransientHasher from TColStd);
|
||||
imported DataMapOfSDRExternFile;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfSDRExternFile;
|
||||
|
||||
--- skl
|
||||
class DataMapOfPDExternFile instantiates
|
||||
DataMap from TCollection (ProductDefinition from StepBasic,
|
||||
ExternFile from STEPCAFControl,
|
||||
MapTransientHasher from TColStd);
|
||||
imported DataMapOfPDExternFile;
|
||||
imported DataMapIteratorOfDataMapOfPDExternFile;
|
||||
|
||||
class DataMapOfLabelShape instantiates
|
||||
DataMap from TCollection (Label from TDF,
|
||||
Shape from TopoDS,
|
||||
LabelMapHasher from TDF);
|
||||
imported DataMapOfLabelShape;
|
||||
|
||||
class DataMapOfLabelExternFile instantiates
|
||||
DataMap from TCollection (Label from TDF,
|
||||
ExternFile from STEPCAFControl,
|
||||
LabelMapHasher from TDF);
|
||||
imported DataMapIteratorOfDataMapOfLabelShape;
|
||||
|
||||
imported DataMapOfLabelExternFile;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfLabelExternFile;
|
||||
|
||||
end STEPCAFControl;
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef STEPCAFControl_DataMapIteratorOfDataMapOfLabelExternFile_HeaderFile
|
||||
#define STEPCAFControl_DataMapIteratorOfDataMapOfLabelExternFile_HeaderFile
|
||||
|
||||
#include <STEPCAFControl_DataMapOfLabelExternFile.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef STEPCAFControl_DataMapIteratorOfDataMapOfLabelShape_HeaderFile
|
||||
#define STEPCAFControl_DataMapIteratorOfDataMapOfLabelShape_HeaderFile
|
||||
|
||||
#include <STEPCAFControl_DataMapOfLabelShape.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef STEPCAFControl_DataMapIteratorOfDataMapOfPDExternFile_HeaderFile
|
||||
#define STEPCAFControl_DataMapIteratorOfDataMapOfPDExternFile_HeaderFile
|
||||
|
||||
#include <STEPCAFControl_DataMapOfPDExternFile.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef STEPCAFControl_DataMapIteratorOfDataMapOfSDRExternFile_HeaderFile
|
||||
#define STEPCAFControl_DataMapIteratorOfDataMapOfSDRExternFile_HeaderFile
|
||||
|
||||
#include <STEPCAFControl_DataMapOfSDRExternFile.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef STEPCAFControl_DataMapIteratorOfDataMapOfShapePD_HeaderFile
|
||||
#define STEPCAFControl_DataMapIteratorOfDataMapOfShapePD_HeaderFile
|
||||
|
||||
#include <STEPCAFControl_DataMapOfShapePD.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef STEPCAFControl_DataMapIteratorOfDataMapOfShapeSDR_HeaderFile
|
||||
#define STEPCAFControl_DataMapIteratorOfDataMapOfShapeSDR_HeaderFile
|
||||
|
||||
#include <STEPCAFControl_DataMapOfShapeSDR.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,28 @@
|
||||
// Created on: 2000-04-09
|
||||
// Created by: Sergey MOZOKHIN
|
||||
// Copyright (c) 2000-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 STEPCAFControl_DataMapOfLabelExternFile_HeaderFile
|
||||
#define STEPCAFControl_DataMapOfLabelExternFile_HeaderFile
|
||||
|
||||
#include <TDF_Label.hxx>
|
||||
#include <STEPCAFControl_ExternFile.hxx>
|
||||
#include <TDF_LabelMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TDF_Label,Handle(STEPCAFControl_ExternFile),TDF_LabelMapHasher> STEPCAFControl_DataMapOfLabelExternFile;
|
||||
typedef NCollection_DataMap<TDF_Label,Handle(STEPCAFControl_ExternFile),TDF_LabelMapHasher>::Iterator STEPCAFControl_DataMapIteratorOfDataMapOfLabelExternFile;
|
||||
|
||||
|
||||
#endif
|
28
src/STEPCAFControl/STEPCAFControl_DataMapOfLabelShape.hxx
Normal file
28
src/STEPCAFControl/STEPCAFControl_DataMapOfLabelShape.hxx
Normal file
@@ -0,0 +1,28 @@
|
||||
// Created on: 2000-04-09
|
||||
// Created by: Sergey MOZOKHIN
|
||||
// Copyright (c) 2000-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 STEPCAFControl_DataMapOfLabelShape_HeaderFile
|
||||
#define STEPCAFControl_DataMapOfLabelShape_HeaderFile
|
||||
|
||||
#include <TDF_Label.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TDF_LabelMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TDF_Label,TopoDS_Shape,TDF_LabelMapHasher> STEPCAFControl_DataMapOfLabelShape;
|
||||
typedef NCollection_DataMap<TDF_Label,TopoDS_Shape,TDF_LabelMapHasher>::Iterator STEPCAFControl_DataMapIteratorOfDataMapOfLabelShape;
|
||||
|
||||
|
||||
#endif
|
28
src/STEPCAFControl/STEPCAFControl_DataMapOfPDExternFile.hxx
Normal file
28
src/STEPCAFControl/STEPCAFControl_DataMapOfPDExternFile.hxx
Normal file
@@ -0,0 +1,28 @@
|
||||
// Created on: 2000-04-09
|
||||
// Created by: Sergey MOZOKHIN
|
||||
// Copyright (c) 2000-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 STEPCAFControl_DataMapOfPDExternFile_HeaderFile
|
||||
#define STEPCAFControl_DataMapOfPDExternFile_HeaderFile
|
||||
|
||||
#include <StepBasic_ProductDefinition.hxx>
|
||||
#include <STEPCAFControl_ExternFile.hxx>
|
||||
#include <TColStd_MapTransientHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<Handle(StepBasic_ProductDefinition),Handle(STEPCAFControl_ExternFile),TColStd_MapTransientHasher> STEPCAFControl_DataMapOfPDExternFile;
|
||||
typedef NCollection_DataMap<Handle(StepBasic_ProductDefinition),Handle(STEPCAFControl_ExternFile),TColStd_MapTransientHasher>::Iterator STEPCAFControl_DataMapIteratorOfDataMapOfPDExternFile;
|
||||
|
||||
|
||||
#endif
|
28
src/STEPCAFControl/STEPCAFControl_DataMapOfSDRExternFile.hxx
Normal file
28
src/STEPCAFControl/STEPCAFControl_DataMapOfSDRExternFile.hxx
Normal file
@@ -0,0 +1,28 @@
|
||||
// Created on: 2000-04-09
|
||||
// Created by: Sergey MOZOKHIN
|
||||
// Copyright (c) 2000-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 STEPCAFControl_DataMapOfSDRExternFile_HeaderFile
|
||||
#define STEPCAFControl_DataMapOfSDRExternFile_HeaderFile
|
||||
|
||||
#include <StepShape_ShapeDefinitionRepresentation.hxx>
|
||||
#include <STEPCAFControl_ExternFile.hxx>
|
||||
#include <TColStd_MapTransientHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<Handle(StepShape_ShapeDefinitionRepresentation),Handle(STEPCAFControl_ExternFile),TColStd_MapTransientHasher> STEPCAFControl_DataMapOfSDRExternFile;
|
||||
typedef NCollection_DataMap<Handle(StepShape_ShapeDefinitionRepresentation),Handle(STEPCAFControl_ExternFile),TColStd_MapTransientHasher>::Iterator STEPCAFControl_DataMapIteratorOfDataMapOfSDRExternFile;
|
||||
|
||||
|
||||
#endif
|
28
src/STEPCAFControl/STEPCAFControl_DataMapOfShapePD.hxx
Normal file
28
src/STEPCAFControl/STEPCAFControl_DataMapOfShapePD.hxx
Normal file
@@ -0,0 +1,28 @@
|
||||
// Created on: 2000-04-09
|
||||
// Created by: Sergey MOZOKHIN
|
||||
// Copyright (c) 2000-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 STEPCAFControl_DataMapOfShapePD_HeaderFile
|
||||
#define STEPCAFControl_DataMapOfShapePD_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <StepBasic_ProductDefinition.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Handle(StepBasic_ProductDefinition),TopTools_ShapeMapHasher> STEPCAFControl_DataMapOfShapePD;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Handle(StepBasic_ProductDefinition),TopTools_ShapeMapHasher>::Iterator STEPCAFControl_DataMapIteratorOfDataMapOfShapePD;
|
||||
|
||||
|
||||
#endif
|
28
src/STEPCAFControl/STEPCAFControl_DataMapOfShapeSDR.hxx
Normal file
28
src/STEPCAFControl/STEPCAFControl_DataMapOfShapeSDR.hxx
Normal file
@@ -0,0 +1,28 @@
|
||||
// Created on: 2000-04-09
|
||||
// Created by: Sergey MOZOKHIN
|
||||
// Copyright (c) 2000-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 STEPCAFControl_DataMapOfShapeSDR_HeaderFile
|
||||
#define STEPCAFControl_DataMapOfShapeSDR_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <StepShape_ShapeDefinitionRepresentation.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Handle(StepShape_ShapeDefinitionRepresentation),TopTools_ShapeMapHasher> STEPCAFControl_DataMapOfShapeSDR;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Handle(StepShape_ShapeDefinitionRepresentation),TopTools_ShapeMapHasher>::Iterator STEPCAFControl_DataMapIteratorOfDataMapOfShapeSDR;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user