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

16
src/TDataStd/FILES Normal file
View File

@@ -0,0 +1,16 @@
TDataStd_ListOfExtendedString.hxx
TDataStd_ListIteratorOfListOfExtendedString.hxx
TDataStd_ListOfByte.hxx
TDataStd_ListIteratorOfListOfByte.hxx
TDataStd_LabelArray1.hxx
TDataStd_HLabelArray1.hxx
TDataStd_DataMapOfStringReal.hxx
TDataStd_DataMapIteratorOfDataMapOfStringReal.hxx
TDataStd_DataMapOfStringString.hxx
TDataStd_DataMapIteratorOfDataMapOfStringString.hxx
TDataStd_DataMapOfStringByte.hxx
TDataStd_DataMapIteratorOfDataMapOfStringByte.hxx
TDataStd_DataMapOfStringHArray1OfInteger.hxx
TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfInteger.hxx
TDataStd_DataMapOfStringHArray1OfReal.hxx
TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfReal.hxx

View File

@@ -153,31 +153,30 @@ is
class NamedData;
class ListOfExtendedString instantiates List from TCollection ( ExtendedString from TCollection );
imported ListOfExtendedString;
imported ListIteratorOfListOfExtendedString;
-- Extension
class ListOfByte instantiates List from TCollection(Byte from Standard);
imported ListOfByte;
imported ListIteratorOfListOfByte;
class LabelArray1 instantiates Array1 from TCollection(Label from TDF);
imported LabelArray1;
class HLabelArray1 instantiates HArray1 from TCollection(Label from TDF, LabelArray1 from TDataStd);
imported transient class HLabelArray1;
class DataMapOfStringReal instantiates DataMap from TCollection(ExtendedString from TCollection,
Real from Standard,
ExtendedString from TCollection);
class DataMapOfStringString instantiates DataMap from TCollection(ExtendedString from TCollection,
ExtendedString from TCollection,
ExtendedString from TCollection);
class DataMapOfStringByte instantiates DataMap from TCollection(ExtendedString from TCollection,
Byte from Standard,
ExtendedString from TCollection);
class DataMapOfStringHArray1OfInteger instantiates DataMap from TCollection(ExtendedString from TCollection,
HArray1OfInteger from TColStd,
ExtendedString from TCollection);
class DataMapOfStringHArray1OfReal instantiates DataMap from TCollection(ExtendedString from TCollection,
HArray1OfReal from TColStd,
ExtendedString from TCollection);
imported DataMapOfStringReal;
imported DataMapIteratorOfDataMapOfStringReal;
imported DataMapOfStringString;
imported DataMapIteratorOfDataMapOfStringString;
imported DataMapOfStringByte;
imported DataMapIteratorOfDataMapOfStringByte;
imported DataMapOfStringHArray1OfInteger;
imported DataMapIteratorOfDataMapOfStringHArray1OfInteger;
imported DataMapOfStringHArray1OfReal;
imported DataMapIteratorOfDataMapOfStringHArray1OfReal;
class HDataMapOfStringInteger;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,29 @@
// Created on: 1995-05-10
// Created by: Denis PASCAL
// Copyright (c) 1995-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 TDataStd_DataMapOfStringByte_HeaderFile
#define TDataStd_DataMapOfStringByte_HeaderFile
#include <TCollection_ExtendedString.hxx>
#include <Standard_Byte.hxx>
#include <TCollection_ExtendedString.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TCollection_ExtendedString,Standard_Byte,TCollection_ExtendedString> TDataStd_DataMapOfStringByte;
typedef NCollection_DataMap<TCollection_ExtendedString,Standard_Byte,TCollection_ExtendedString>::Iterator TDataStd_DataMapIteratorOfDataMapOfStringByte;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1995-05-10
// Created by: Denis PASCAL
// Copyright (c) 1995-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 TDataStd_DataMapOfStringHArray1OfInteger_HeaderFile
#define TDataStd_DataMapOfStringHArray1OfInteger_HeaderFile
#include <TCollection_ExtendedString.hxx>
#include <TColStd_HArray1OfInteger.hxx>
#include <TCollection_ExtendedString.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TCollection_ExtendedString,Handle(TColStd_HArray1OfInteger),TCollection_ExtendedString> TDataStd_DataMapOfStringHArray1OfInteger;
typedef NCollection_DataMap<TCollection_ExtendedString,Handle(TColStd_HArray1OfInteger),TCollection_ExtendedString>::Iterator TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfInteger;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1995-05-10
// Created by: Denis PASCAL
// Copyright (c) 1995-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 TDataStd_DataMapOfStringHArray1OfReal_HeaderFile
#define TDataStd_DataMapOfStringHArray1OfReal_HeaderFile
#include <TCollection_ExtendedString.hxx>
#include <TColStd_HArray1OfReal.hxx>
#include <TCollection_ExtendedString.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TCollection_ExtendedString,Handle(TColStd_HArray1OfReal),TCollection_ExtendedString> TDataStd_DataMapOfStringHArray1OfReal;
typedef NCollection_DataMap<TCollection_ExtendedString,Handle(TColStd_HArray1OfReal),TCollection_ExtendedString>::Iterator TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfReal;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1995-05-10
// Created by: Denis PASCAL
// Copyright (c) 1995-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 TDataStd_DataMapOfStringReal_HeaderFile
#define TDataStd_DataMapOfStringReal_HeaderFile
#include <TCollection_ExtendedString.hxx>
#include <Standard_Real.hxx>
#include <TCollection_ExtendedString.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TCollection_ExtendedString,Standard_Real,TCollection_ExtendedString> TDataStd_DataMapOfStringReal;
typedef NCollection_DataMap<TCollection_ExtendedString,Standard_Real,TCollection_ExtendedString>::Iterator TDataStd_DataMapIteratorOfDataMapOfStringReal;
#endif

View File

@@ -0,0 +1,29 @@
// Created on: 1995-05-10
// Created by: Denis PASCAL
// Copyright (c) 1995-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 TDataStd_DataMapOfStringString_HeaderFile
#define TDataStd_DataMapOfStringString_HeaderFile
#include <TCollection_ExtendedString.hxx>
#include <TCollection_ExtendedString.hxx>
#include <TCollection_ExtendedString.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TCollection_ExtendedString,TCollection_ExtendedString,TCollection_ExtendedString> TDataStd_DataMapOfStringString;
typedef NCollection_DataMap<TCollection_ExtendedString,TCollection_ExtendedString,TCollection_ExtendedString>::Iterator TDataStd_DataMapIteratorOfDataMapOfStringString;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1995-05-10
// Created by: Denis PASCAL
// Copyright (c) 1995-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 TDataStd_HLabelArray1_HeaderFile
#define TDataStd_HLabelArray1_HeaderFile
#include <TDF_Label.hxx>
#include <TDataStd_LabelArray1.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(TDataStd_HLabelArray1, TDataStd_LabelArray1)
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1995-05-10
// Created by: Denis PASCAL
// Copyright (c) 1995-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 TDataStd_LabelArray1_HeaderFile
#define TDataStd_LabelArray1_HeaderFile
#include <TDF_Label.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<TDF_Label> TDataStd_LabelArray1;
#endif

View File

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

View File

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

View File

@@ -0,0 +1,27 @@
// Created on: 1995-05-10
// Created by: Denis PASCAL
// Copyright (c) 1995-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 TDataStd_ListOfByte_HeaderFile
#define TDataStd_ListOfByte_HeaderFile
#include <Standard_Byte.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Standard_Byte> TDataStd_ListOfByte;
typedef NCollection_List<Standard_Byte>::Iterator TDataStd_ListIteratorOfListOfByte;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1995-05-10
// Created by: Denis PASCAL
// Copyright (c) 1995-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 TDataStd_ListOfExtendedString_HeaderFile
#define TDataStd_ListOfExtendedString_HeaderFile
#include <TCollection_ExtendedString.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<TCollection_ExtendedString> TDataStd_ListOfExtendedString;
typedef NCollection_List<TCollection_ExtendedString>::Iterator TDataStd_ListIteratorOfListOfExtendedString;
#endif