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

@@ -98,8 +98,7 @@ is
class Box;
class SequenceOfDrawable3D instantiates
Sequence from TCollection (Drawable3D);
imported SequenceOfDrawable3D;
class ProgressIndicator;
@@ -111,7 +110,7 @@ is
class Printer;
class MapOfAsciiString instantiates IndexedMap from TCollection(AsciiString from TCollection,AsciiString from TCollection);
imported MapOfAsciiString;
Load(theDI: out Interpretor from Draw;
theKey, theResourceFileName: AsciiString from TCollection;

View File

@@ -0,0 +1,27 @@
// Created on: 1991-04-24
// Created by: Arnaud BOUZY
// Copyright (c) 1991-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 Draw_MapOfAsciiString_HeaderFile
#define Draw_MapOfAsciiString_HeaderFile
#include <TCollection_AsciiString.hxx>
#include <TCollection_AsciiString.hxx>
#include <NCollection_IndexedMap.hxx>
typedef NCollection_IndexedMap<TCollection_AsciiString,TCollection_AsciiString> Draw_MapOfAsciiString;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-04-24
// Created by: Arnaud BOUZY
// Copyright (c) 1991-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 Draw_SequenceOfDrawable3D_HeaderFile
#define Draw_SequenceOfDrawable3D_HeaderFile
#include <Draw_Drawable3D.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(Draw_Drawable3D)> Draw_SequenceOfDrawable3D;
#endif

View File

@@ -29,3 +29,5 @@ Draw_PluginMacro.hxx
Draw_PloadCommands.cxx
Draw_Window_1.mm
Draw_Debug.cxx
Draw_SequenceOfDrawable3D.hxx
Draw_MapOfAsciiString.hxx