1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +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

4
src/XmlMDF/FILES Normal file
View File

@@ -0,0 +1,4 @@
XmlMDF_MapOfDriver.hxx
XmlMDF_DataMapIteratorOfMapOfDriver.hxx
XmlMDF_TypeADriverMap.hxx
XmlMDF_DataMapIteratorOfTypeADriverMap.hxx

View File

@@ -45,10 +45,9 @@ is
deferred class ADriver; -- Attribute Storage/Retrieve Driver.
private class MapOfDriver
instantiates DataMap from TCollection (AsciiString from TCollection,
ADriver from XmlMDF,
AsciiString from TCollection);
imported MapOfDriver;
imported DataMapIteratorOfMapOfDriver;
---Category: Storage and Retrieval attributes drivers
-- ========================================
@@ -61,10 +60,8 @@ is
-- =============================================================
-- Map (Type, ADriver)
class TypeADriverMap instantiates DataMap from TCollection
(Type from Standard,
ADriver from XmlMDF,
MapTransientHasher from TColStd);
imported TypeADriverMap;
imported DataMapIteratorOfTypeADriverMap;
-- Attribute Storage Driver Table.
class ADriverTable;

View File

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

View File

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

View File

@@ -0,0 +1,28 @@
// Created on: 2001-07-09
// Created by: Julia DOROVSKIKH
// Copyright (c) 2001-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 XmlMDF_MapOfDriver_HeaderFile
#define XmlMDF_MapOfDriver_HeaderFile
#include <TCollection_AsciiString.hxx>
#include <XmlMDF_ADriver.hxx>
#include <TCollection_AsciiString.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TCollection_AsciiString,Handle(XmlMDF_ADriver),TCollection_AsciiString> XmlMDF_MapOfDriver;
typedef NCollection_DataMap<TCollection_AsciiString,Handle(XmlMDF_ADriver),TCollection_AsciiString>::Iterator XmlMDF_DataMapIteratorOfMapOfDriver;
#endif

View File

@@ -0,0 +1,28 @@
// Created on: 2001-07-09
// Created by: Julia DOROVSKIKH
// Copyright (c) 2001-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 XmlMDF_TypeADriverMap_HeaderFile
#define XmlMDF_TypeADriverMap_HeaderFile
#include <Standard_Type.hxx>
#include <XmlMDF_ADriver.hxx>
#include <TColStd_MapTransientHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Handle(Standard_Type),Handle(XmlMDF_ADriver),TColStd_MapTransientHasher> XmlMDF_TypeADriverMap;
typedef NCollection_DataMap<Handle(Standard_Type),Handle(XmlMDF_ADriver),TColStd_MapTransientHasher>::Iterator XmlMDF_DataMapIteratorOfTypeADriverMap;
#endif