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

View File

@@ -7,3 +7,11 @@ Interface_Translates.hxx
Interface_StaticStandards.cxx
Interface_Version.hxx
Interface_VectorOfFileParameter.hxx
Interface_SequenceOfCheck.hxx
Interface_HSequenceOfCheck.hxx
Interface_Array1OfFileParameter.hxx
Interface_DataMapOfTransientInteger.hxx
Interface_DataMapIteratorOfDataMapOfTransientInteger.hxx
Interface_Array1OfHAsciiString.hxx
Interface_HArray1OfHAsciiString.hxx
Interface_IndexedMapOfAsciiString.hxx

View File

@@ -128,29 +128,25 @@ is
-- -- Instantiations -- --
private class SequenceOfCheck instantiates
Sequence from TCollection (Check);
private class HSequenceOfCheck instantiates
HSequence from TCollection (Check,SequenceOfCheck);
imported SequenceOfCheck;
imported transient class HSequenceOfCheck;
class Array1OfFileParameter instantiates
Array1 from TCollection (FileParameter);
imported Array1OfFileParameter;
-- Useful Instantiations to define Data
class DataMapOfTransientInteger instantiates DataMap from TCollection
(Transient, Integer,MapTransientHasher from TColStd);
imported DataMapOfTransientInteger;
class Array1OfHAsciiString instantiates Array1 from TCollection
(HAsciiString from TCollection);
imported DataMapIteratorOfDataMapOfTransientInteger;
class HArray1OfHAsciiString instantiates HArray1 from TCollection
(HAsciiString from TCollection,Array1OfHAsciiString);
imported Array1OfHAsciiString;
imported transient class HArray1OfHAsciiString;
-- ==============IndexedMapOfAsciiString===================
class MapAsciiStringHasher; -- instantiates MapHasher from TCollection;
class IndexedMapOfAsciiString instantiates IndexedMap from TCollection(AsciiString from TCollection,MapAsciiStringHasher from Interface);
imported IndexedMapOfAsciiString;
-- ==================================

View File

@@ -0,0 +1,26 @@
// Created on: 1992-02-03
// Created by: Christian CAILLET
// Copyright (c) 1992-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 Interface_Array1OfFileParameter_HeaderFile
#define Interface_Array1OfFileParameter_HeaderFile
#include <Interface_FileParameter.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Interface_FileParameter> Interface_Array1OfFileParameter;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1992-02-03
// Created by: Christian CAILLET
// Copyright (c) 1992-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 Interface_Array1OfHAsciiString_HeaderFile
#define Interface_Array1OfHAsciiString_HeaderFile
#include <TCollection_HAsciiString.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Handle(TCollection_HAsciiString)> Interface_Array1OfHAsciiString;
#endif

View File

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

View File

@@ -0,0 +1,29 @@
// Created on: 1992-02-03
// Created by: Christian CAILLET
// Copyright (c) 1992-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 Interface_DataMapOfTransientInteger_HeaderFile
#define Interface_DataMapOfTransientInteger_HeaderFile
#include <Standard_Transient.hxx>
#include <Standard_Integer.hxx>
#include <TColStd_MapTransientHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Handle(Standard_Transient),Standard_Integer,TColStd_MapTransientHasher> Interface_DataMapOfTransientInteger;
typedef NCollection_DataMap<Handle(Standard_Transient),Standard_Integer,TColStd_MapTransientHasher>::Iterator Interface_DataMapIteratorOfDataMapOfTransientInteger;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1992-02-03
// Created by: Christian CAILLET
// Copyright (c) 1992-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 Interface_HArray1OfHAsciiString_HeaderFile
#define Interface_HArray1OfHAsciiString_HeaderFile
#include <TCollection_HAsciiString.hxx>
#include <Interface_Array1OfHAsciiString.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(Interface_HArray1OfHAsciiString, Interface_Array1OfHAsciiString)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1992-02-03
// Created by: Christian CAILLET
// Copyright (c) 1992-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 Interface_HSequenceOfCheck_HeaderFile
#define Interface_HSequenceOfCheck_HeaderFile
#include <Interface_Check.hxx>
#include <Interface_SequenceOfCheck.hxx>
#include <NCollection_DefineHSequence.hxx>
DEFINE_HSEQUENCE(Interface_HSequenceOfCheck, Interface_SequenceOfCheck)
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1992-02-03
// Created by: Christian CAILLET
// Copyright (c) 1992-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 Interface_IndexedMapOfAsciiString_HeaderFile
#define Interface_IndexedMapOfAsciiString_HeaderFile
#include <TCollection_AsciiString.hxx>
#include <Interface_MapAsciiStringHasher.hxx>
#include <NCollection_IndexedMap.hxx>
typedef NCollection_IndexedMap<TCollection_AsciiString,Interface_MapAsciiStringHasher> Interface_IndexedMapOfAsciiString;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1992-02-03
// Created by: Christian CAILLET
// Copyright (c) 1992-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 Interface_SequenceOfCheck_HeaderFile
#define Interface_SequenceOfCheck_HeaderFile
#include <Interface_Check.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(Interface_Check)> Interface_SequenceOfCheck;
#endif