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:
@@ -1,3 +1,10 @@
|
||||
MoniTool_ValueInterpret.hxx
|
||||
MoniTool_ValueSatisfies.hxx
|
||||
MoniTool_Macros.hxx
|
||||
MoniTool_DataMapOfShapeTransient.hxx
|
||||
MoniTool_DataMapIteratorOfDataMapOfShapeTransient.hxx
|
||||
MoniTool_IndexedDataMapOfShapeTransient.hxx
|
||||
MoniTool_SequenceOfElement.hxx
|
||||
MoniTool_HSequenceOfElement.hxx
|
||||
MoniTool_DataMapOfTimer.hxx
|
||||
MoniTool_DataMapIteratorOfDataMapOfTimer.hxx
|
||||
|
@@ -63,30 +63,20 @@ is
|
||||
ValueMisc, ValueInteger, ValueReal, ValueIdent, ValueVoid, ValueText,
|
||||
ValueEnum, ValueLogical, ValueSub, ValueHexa, ValueBinary;
|
||||
|
||||
class DataMapOfShapeTransient instantiates
|
||||
DataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
Transient from Standard,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapeTransient;
|
||||
|
||||
class IndexedDataMapOfShapeTransient instantiates
|
||||
IndexedDataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
Transient from Standard,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported DataMapIteratorOfDataMapOfShapeTransient;
|
||||
|
||||
class SequenceOfElement instantiates
|
||||
Sequence from TCollection (Element);
|
||||
class HSequenceOfElement instantiates
|
||||
HSequence from TCollection (Element,SequenceOfElement);
|
||||
imported IndexedDataMapOfShapeTransient;
|
||||
|
||||
imported SequenceOfElement;
|
||||
imported transient class HSequenceOfElement;
|
||||
|
||||
-- Timers
|
||||
class Timer;
|
||||
class TimerSentry;
|
||||
class MTHasher;
|
||||
class DataMapOfTimer instantiates DataMap from TCollection
|
||||
(CString from Standard,
|
||||
Timer from MoniTool,
|
||||
MTHasher from MoniTool);
|
||||
imported DataMapOfTimer;
|
||||
imported DataMapIteratorOfDataMapOfTimer;
|
||||
|
||||
end MoniTool;
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef MoniTool_DataMapIteratorOfDataMapOfShapeTransient_HeaderFile
|
||||
#define MoniTool_DataMapIteratorOfDataMapOfShapeTransient_HeaderFile
|
||||
|
||||
#include <MoniTool_DataMapOfShapeTransient.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef MoniTool_DataMapIteratorOfDataMapOfTimer_HeaderFile
|
||||
#define MoniTool_DataMapIteratorOfDataMapOfTimer_HeaderFile
|
||||
|
||||
#include <MoniTool_DataMapOfTimer.hxx>
|
||||
|
||||
#endif
|
29
src/MoniTool/MoniTool_DataMapOfShapeTransient.hxx
Normal file
29
src/MoniTool/MoniTool_DataMapOfShapeTransient.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1998-04-01
|
||||
// Created by: Christian CAILLET
|
||||
// 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 MoniTool_DataMapOfShapeTransient_HeaderFile
|
||||
#define MoniTool_DataMapOfShapeTransient_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Handle(Standard_Transient),TopTools_ShapeMapHasher> MoniTool_DataMapOfShapeTransient;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Handle(Standard_Transient),TopTools_ShapeMapHasher>::Iterator MoniTool_DataMapIteratorOfDataMapOfShapeTransient;
|
||||
|
||||
|
||||
#endif
|
29
src/MoniTool/MoniTool_DataMapOfTimer.hxx
Normal file
29
src/MoniTool/MoniTool_DataMapOfTimer.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1998-04-01
|
||||
// Created by: Christian CAILLET
|
||||
// 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 MoniTool_DataMapOfTimer_HeaderFile
|
||||
#define MoniTool_DataMapOfTimer_HeaderFile
|
||||
|
||||
#include <Standard_CString.hxx>
|
||||
#include <MoniTool_Timer.hxx>
|
||||
#include <MoniTool_MTHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<Standard_CString,Handle(MoniTool_Timer),MoniTool_MTHasher> MoniTool_DataMapOfTimer;
|
||||
typedef NCollection_DataMap<Standard_CString,Handle(MoniTool_Timer),MoniTool_MTHasher>::Iterator MoniTool_DataMapIteratorOfDataMapOfTimer;
|
||||
|
||||
|
||||
#endif
|
27
src/MoniTool/MoniTool_HSequenceOfElement.hxx
Normal file
27
src/MoniTool/MoniTool_HSequenceOfElement.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1998-04-01
|
||||
// Created by: Christian CAILLET
|
||||
// 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 MoniTool_HSequenceOfElement_HeaderFile
|
||||
#define MoniTool_HSequenceOfElement_HeaderFile
|
||||
|
||||
#include <MoniTool_Element.hxx>
|
||||
#include <MoniTool_SequenceOfElement.hxx>
|
||||
#include <NCollection_DefineHSequence.hxx>
|
||||
|
||||
DEFINE_HSEQUENCE(MoniTool_HSequenceOfElement, MoniTool_SequenceOfElement)
|
||||
|
||||
|
||||
#endif
|
28
src/MoniTool/MoniTool_IndexedDataMapOfShapeTransient.hxx
Normal file
28
src/MoniTool/MoniTool_IndexedDataMapOfShapeTransient.hxx
Normal file
@@ -0,0 +1,28 @@
|
||||
// Created on: 1998-04-01
|
||||
// Created by: Christian CAILLET
|
||||
// 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 MoniTool_IndexedDataMapOfShapeTransient_HeaderFile
|
||||
#define MoniTool_IndexedDataMapOfShapeTransient_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_IndexedDataMap.hxx>
|
||||
|
||||
typedef NCollection_IndexedDataMap<TopoDS_Shape,Handle(Standard_Transient),TopTools_ShapeMapHasher> MoniTool_IndexedDataMapOfShapeTransient;
|
||||
|
||||
|
||||
#endif
|
26
src/MoniTool/MoniTool_SequenceOfElement.hxx
Normal file
26
src/MoniTool/MoniTool_SequenceOfElement.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1998-04-01
|
||||
// Created by: Christian CAILLET
|
||||
// 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 MoniTool_SequenceOfElement_HeaderFile
|
||||
#define MoniTool_SequenceOfElement_HeaderFile
|
||||
|
||||
#include <MoniTool_Element.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Handle(MoniTool_Element)> MoniTool_SequenceOfElement;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user