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:
8
src/TFunction/FILES
Normal file
8
src/TFunction/FILES
Normal file
@@ -0,0 +1,8 @@
|
||||
TFunction_DataMapOfGUIDDriver.hxx
|
||||
TFunction_DataMapIteratorOfDataMapOfGUIDDriver.hxx
|
||||
TFunction_Array1OfDataMapOfGUIDDriver.hxx
|
||||
TFunction_HArray1OfDataMapOfGUIDDriver.hxx
|
||||
TFunction_DataMapOfLabelListOfLabel.hxx
|
||||
TFunction_DataMapIteratorOfDataMapOfLabelListOfLabel.hxx
|
||||
TFunction_DoubleMapOfIntegerLabel.hxx
|
||||
TFunction_DoubleMapIteratorOfDoubleMapOfIntegerLabel.hxx
|
@@ -40,15 +40,11 @@ is
|
||||
|
||||
class Logbook;
|
||||
|
||||
class DataMapOfGUIDDriver
|
||||
instantiates DataMap from TCollection(GUID from Standard,
|
||||
Driver from TFunction,
|
||||
GUID from Standard);
|
||||
class Array1OfDataMapOfGUIDDriver
|
||||
instantiates Array1 from TCollection(DataMapOfGUIDDriver from TFunction);
|
||||
class HArray1OfDataMapOfGUIDDriver
|
||||
instantiates HArray1 from TCollection(DataMapOfGUIDDriver from TFunction,
|
||||
Array1OfDataMapOfGUIDDriver from TFunction);
|
||||
imported DataMapOfGUIDDriver;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfGUIDDriver;
|
||||
imported Array1OfDataMapOfGUIDDriver;
|
||||
imported transient class HArray1OfDataMapOfGUIDDriver;
|
||||
|
||||
class Function;
|
||||
class GraphNode;
|
||||
@@ -57,14 +53,10 @@ is
|
||||
class IFunction;
|
||||
class Iterator;
|
||||
|
||||
class DataMapOfLabelListOfLabel
|
||||
instantiates DataMap from TCollection(Label from TDF,
|
||||
LabelList from TDF,
|
||||
LabelMapHasher from TDF);
|
||||
class DoubleMapOfIntegerLabel
|
||||
instantiates DoubleMap from TCollection(Integer from Standard,
|
||||
Label from TDF,
|
||||
MapIntegerHasher from TColStd,
|
||||
LabelMapHasher from TDF);
|
||||
imported DataMapOfLabelListOfLabel;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfLabelListOfLabel;
|
||||
imported DoubleMapOfIntegerLabel;
|
||||
imported DoubleMapIteratorOfDoubleMapOfIntegerLabel;
|
||||
|
||||
end TFunction;
|
||||
|
26
src/TFunction/TFunction_Array1OfDataMapOfGUIDDriver.hxx
Normal file
26
src/TFunction/TFunction_Array1OfDataMapOfGUIDDriver.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1999-06-10
|
||||
// Created by: Vladislav ROMASHKO
|
||||
// Copyright (c) 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 TFunction_Array1OfDataMapOfGUIDDriver_HeaderFile
|
||||
#define TFunction_Array1OfDataMapOfGUIDDriver_HeaderFile
|
||||
|
||||
#include <TFunction_DataMapOfGUIDDriver.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<TFunction_DataMapOfGUIDDriver> TFunction_Array1OfDataMapOfGUIDDriver;
|
||||
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef TFunction_DataMapIteratorOfDataMapOfGUIDDriver_HeaderFile
|
||||
#define TFunction_DataMapIteratorOfDataMapOfGUIDDriver_HeaderFile
|
||||
|
||||
#include <TFunction_DataMapOfGUIDDriver.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef TFunction_DataMapIteratorOfDataMapOfLabelListOfLabel_HeaderFile
|
||||
#define TFunction_DataMapIteratorOfDataMapOfLabelListOfLabel_HeaderFile
|
||||
|
||||
#include <TFunction_DataMapOfLabelListOfLabel.hxx>
|
||||
|
||||
#endif
|
29
src/TFunction/TFunction_DataMapOfGUIDDriver.hxx
Normal file
29
src/TFunction/TFunction_DataMapOfGUIDDriver.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1999-06-10
|
||||
// Created by: Vladislav ROMASHKO
|
||||
// Copyright (c) 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 TFunction_DataMapOfGUIDDriver_HeaderFile
|
||||
#define TFunction_DataMapOfGUIDDriver_HeaderFile
|
||||
|
||||
#include <Standard_GUID.hxx>
|
||||
#include <TFunction_Driver.hxx>
|
||||
#include <Standard_GUID.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<Standard_GUID,Handle(TFunction_Driver),Standard_GUID> TFunction_DataMapOfGUIDDriver;
|
||||
typedef NCollection_DataMap<Standard_GUID,Handle(TFunction_Driver),Standard_GUID>::Iterator TFunction_DataMapIteratorOfDataMapOfGUIDDriver;
|
||||
|
||||
|
||||
#endif
|
29
src/TFunction/TFunction_DataMapOfLabelListOfLabel.hxx
Normal file
29
src/TFunction/TFunction_DataMapOfLabelListOfLabel.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1999-06-10
|
||||
// Created by: Vladislav ROMASHKO
|
||||
// Copyright (c) 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 TFunction_DataMapOfLabelListOfLabel_HeaderFile
|
||||
#define TFunction_DataMapOfLabelListOfLabel_HeaderFile
|
||||
|
||||
#include <TDF_Label.hxx>
|
||||
#include <TDF_LabelList.hxx>
|
||||
#include <TDF_LabelMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TDF_Label,TDF_LabelList,TDF_LabelMapHasher> TFunction_DataMapOfLabelListOfLabel;
|
||||
typedef NCollection_DataMap<TDF_Label,TDF_LabelList,TDF_LabelMapHasher>::Iterator TFunction_DataMapIteratorOfDataMapOfLabelListOfLabel;
|
||||
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef TFunction_DoubleMapIteratorOfDoubleMapOfIntegerLabel_HeaderFile
|
||||
#define TFunction_DoubleMapIteratorOfDoubleMapOfIntegerLabel_HeaderFile
|
||||
|
||||
#include <TFunction_DoubleMapOfIntegerLabel.hxx>
|
||||
|
||||
#endif
|
30
src/TFunction/TFunction_DoubleMapOfIntegerLabel.hxx
Normal file
30
src/TFunction/TFunction_DoubleMapOfIntegerLabel.hxx
Normal file
@@ -0,0 +1,30 @@
|
||||
// Created on: 1999-06-10
|
||||
// Created by: Vladislav ROMASHKO
|
||||
// Copyright (c) 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 TFunction_DoubleMapOfIntegerLabel_HeaderFile
|
||||
#define TFunction_DoubleMapOfIntegerLabel_HeaderFile
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <TDF_Label.hxx>
|
||||
#include <TColStd_MapIntegerHasher.hxx>
|
||||
#include <TDF_LabelMapHasher.hxx>
|
||||
#include <NCollection_DoubleMap.hxx>
|
||||
|
||||
typedef NCollection_DoubleMap<Standard_Integer,TDF_Label,TColStd_MapIntegerHasher,TDF_LabelMapHasher> TFunction_DoubleMapOfIntegerLabel;
|
||||
typedef NCollection_DoubleMap<Standard_Integer,TDF_Label,TColStd_MapIntegerHasher,TDF_LabelMapHasher>::Iterator TFunction_DoubleMapIteratorOfDoubleMapOfIntegerLabel;
|
||||
|
||||
|
||||
#endif
|
27
src/TFunction/TFunction_HArray1OfDataMapOfGUIDDriver.hxx
Normal file
27
src/TFunction/TFunction_HArray1OfDataMapOfGUIDDriver.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1999-06-10
|
||||
// Created by: Vladislav ROMASHKO
|
||||
// Copyright (c) 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 TFunction_HArray1OfDataMapOfGUIDDriver_HeaderFile
|
||||
#define TFunction_HArray1OfDataMapOfGUIDDriver_HeaderFile
|
||||
|
||||
#include <TFunction_DataMapOfGUIDDriver.hxx>
|
||||
#include <TFunction_Array1OfDataMapOfGUIDDriver.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(TFunction_HArray1OfDataMapOfGUIDDriver, TFunction_Array1OfDataMapOfGUIDDriver)
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user