mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00: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:
@@ -1,2 +1,5 @@
|
||||
FILES
|
||||
GUID.txt
|
||||
XCAFDoc_GraphNodeSequence.hxx
|
||||
XCAFDoc_DataMapOfShapeLabel.hxx
|
||||
XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel.hxx
|
||||
|
@@ -90,14 +90,12 @@ is
|
||||
|
||||
class GraphNode;
|
||||
|
||||
class GraphNodeSequence instantiates Sequence from TCollection
|
||||
(GraphNode from XCAFDoc);
|
||||
imported GraphNodeSequence;
|
||||
---Purpose: class for containing GraphNodes.
|
||||
|
||||
class DataMapOfShapeLabel instantiates
|
||||
DataMap from TCollection (Shape from TopoDS,
|
||||
Label from TDF,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapeLabel;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfShapeLabel;
|
||||
|
||||
|
||||
---Package methods: definition of GUIDs
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel_HeaderFile
|
||||
#define XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel_HeaderFile
|
||||
|
||||
#include <XCAFDoc_DataMapOfShapeLabel.hxx>
|
||||
|
||||
#endif
|
28
src/XCAFDoc/XCAFDoc_DataMapOfShapeLabel.hxx
Normal file
28
src/XCAFDoc/XCAFDoc_DataMapOfShapeLabel.hxx
Normal file
@@ -0,0 +1,28 @@
|
||||
// Created on: 2000-08-08
|
||||
// Created by: data exchange team
|
||||
// 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 XCAFDoc_DataMapOfShapeLabel_HeaderFile
|
||||
#define XCAFDoc_DataMapOfShapeLabel_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TDF_Label.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,TDF_Label,TopTools_ShapeMapHasher> XCAFDoc_DataMapOfShapeLabel;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,TDF_Label,TopTools_ShapeMapHasher>::Iterator XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel;
|
||||
|
||||
|
||||
#endif
|
25
src/XCAFDoc/XCAFDoc_GraphNodeSequence.hxx
Normal file
25
src/XCAFDoc/XCAFDoc_GraphNodeSequence.hxx
Normal file
@@ -0,0 +1,25 @@
|
||||
// Created on: 2000-08-08
|
||||
// Created by: data exchange team
|
||||
// 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 XCAFDoc_GraphNodeSequence_HeaderFile
|
||||
#define XCAFDoc_GraphNodeSequence_HeaderFile
|
||||
|
||||
#include <XCAFDoc_GraphNode.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Handle(XCAFDoc_GraphNode)> XCAFDoc_GraphNodeSequence;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user