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

View File

@@ -8,3 +8,10 @@ QANCollection_Alloc.cxx
QANCollection_Stl.cxx
QANCollection_Common.cxx
QANCollection_Common.hxx
QANCollection_ListOfPnt.hxx
QANCollection_ListIteratorOfListOfPnt.hxx
QANCollection_DataMapOfRealPnt.hxx
QANCollection_DataMapIteratorOfDataMapOfRealPnt.hxx
QANCollection_IndexedDataMapOfRealPnt.hxx
QANCollection_DoubleMapOfRealInteger.hxx
QANCollection_DoubleMapIteratorOfDoubleMapOfRealInteger.hxx

View File

@@ -22,20 +22,13 @@ uses
gp
is
class ListOfPnt instantiates List from TCollection (Pnt from gp);
class DataMapOfRealPnt instantiates DataMap from TCollection
(Real from Standard,
Pnt from gp,
MapRealHasher from TColStd);
class IndexedDataMapOfRealPnt instantiates IndexedDataMap from TCollection
(Real from Standard,
Pnt from gp,
MapRealHasher from TColStd);
class DoubleMapOfRealInteger instantiates DoubleMap from TCollection
(Real from Standard,
Integer from Standard,
MapRealHasher from TColStd,
MapIntegerHasher from TColStd);
imported ListOfPnt;
imported ListIteratorOfListOfPnt;
imported DataMapOfRealPnt;
imported DataMapIteratorOfDataMapOfRealPnt;
imported IndexedDataMapOfRealPnt;
imported DoubleMapOfRealInteger;
imported DoubleMapIteratorOfDoubleMapOfRealInteger;
Commands(DI : in out Interpretor from Draw);
CommandsSimple(DI : in out Interpretor from Draw);

View File

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

View File

@@ -0,0 +1,28 @@
// Created on: 2004-03-05
// Created by: Mikhail KUZMITCHEV
// Copyright (c) 2004-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 QANCollection_DataMapOfRealPnt_HeaderFile
#define QANCollection_DataMapOfRealPnt_HeaderFile
#include <Standard_Real.hxx>
#include <gp_Pnt.hxx>
#include <TColStd_MapRealHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Standard_Real,gp_Pnt,TColStd_MapRealHasher> QANCollection_DataMapOfRealPnt;
typedef NCollection_DataMap<Standard_Real,gp_Pnt,TColStd_MapRealHasher>::Iterator QANCollection_DataMapIteratorOfDataMapOfRealPnt;
#endif

View File

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

View File

@@ -0,0 +1,29 @@
// Created on: 2004-03-05
// Created by: Mikhail KUZMITCHEV
// Copyright (c) 2004-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 QANCollection_DoubleMapOfRealInteger_HeaderFile
#define QANCollection_DoubleMapOfRealInteger_HeaderFile
#include <Standard_Real.hxx>
#include <Standard_Integer.hxx>
#include <TColStd_MapRealHasher.hxx>
#include <TColStd_MapIntegerHasher.hxx>
#include <NCollection_DoubleMap.hxx>
typedef NCollection_DoubleMap<Standard_Real,Standard_Integer,TColStd_MapRealHasher,TColStd_MapIntegerHasher> QANCollection_DoubleMapOfRealInteger;
typedef NCollection_DoubleMap<Standard_Real,Standard_Integer,TColStd_MapRealHasher,TColStd_MapIntegerHasher>::Iterator QANCollection_DoubleMapIteratorOfDoubleMapOfRealInteger;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 2004-03-05
// Created by: Mikhail KUZMITCHEV
// Copyright (c) 2004-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 QANCollection_IndexedDataMapOfRealPnt_HeaderFile
#define QANCollection_IndexedDataMapOfRealPnt_HeaderFile
#include <Standard_Real.hxx>
#include <gp_Pnt.hxx>
#include <TColStd_MapRealHasher.hxx>
#include <NCollection_IndexedDataMap.hxx>
typedef NCollection_IndexedDataMap<Standard_Real,gp_Pnt,TColStd_MapRealHasher> QANCollection_IndexedDataMapOfRealPnt;
#endif

View File

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

View File

@@ -0,0 +1,26 @@
// Created on: 2004-03-05
// Created by: Mikhail KUZMITCHEV
// Copyright (c) 2004-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 QANCollection_ListOfPnt_HeaderFile
#define QANCollection_ListOfPnt_HeaderFile
#include <gp_Pnt.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<gp_Pnt> QANCollection_ListOfPnt;
typedef NCollection_List<gp_Pnt>::Iterator QANCollection_ListIteratorOfListOfPnt;
#endif