1
0
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:
abv
2015-06-28 15:16:42 +03:00
parent 4f953fa991
commit df8d39700d
1424 changed files with 28413 additions and 2013 deletions

8
src/TFunction/FILES Normal file
View 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

View File

@@ -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;

View 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

View File

@@ -0,0 +1,8 @@
#ifndef TFunction_DataMapIteratorOfDataMapOfGUIDDriver_HeaderFile
#define TFunction_DataMapIteratorOfDataMapOfGUIDDriver_HeaderFile
#include <TFunction_DataMapOfGUIDDriver.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TFunction_DataMapIteratorOfDataMapOfLabelListOfLabel_HeaderFile
#define TFunction_DataMapIteratorOfDataMapOfLabelListOfLabel_HeaderFile
#include <TFunction_DataMapOfLabelListOfLabel.hxx>
#endif

View 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

View 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

View File

@@ -0,0 +1,8 @@
#ifndef TFunction_DoubleMapIteratorOfDoubleMapOfIntegerLabel_HeaderFile
#define TFunction_DoubleMapIteratorOfDoubleMapOfIntegerLabel_HeaderFile
#include <TFunction_DoubleMapOfIntegerLabel.hxx>
#endif

View 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

View 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