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:
@@ -113,19 +113,20 @@ is
|
||||
end Status;
|
||||
|
||||
|
||||
class ListOfStatus instantiates List from TCollection
|
||||
(Status from BRepCheck);
|
||||
imported ListOfStatus;
|
||||
|
||||
|
||||
imported ListIteratorOfListOfStatus;
|
||||
|
||||
class DataMapOfShapeListOfStatus instantiates DataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
ListOfStatus from BRepCheck,
|
||||
ShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapeListOfStatus;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfShapeListOfStatus;
|
||||
|
||||
|
||||
class DataMapOfShapeResult instantiates DataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
Result from BRepCheck,
|
||||
OrientedShapeMapHasher from TopTools);
|
||||
imported DataMapOfShapeResult;
|
||||
|
||||
|
||||
imported DataMapIteratorOfDataMapOfShapeResult;
|
||||
|
||||
|
||||
-- Package method
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus_HeaderFile
|
||||
#define BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus_HeaderFile
|
||||
|
||||
#include <BRepCheck_DataMapOfShapeListOfStatus.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef BRepCheck_DataMapIteratorOfDataMapOfShapeResult_HeaderFile
|
||||
#define BRepCheck_DataMapIteratorOfDataMapOfShapeResult_HeaderFile
|
||||
|
||||
#include <BRepCheck_DataMapOfShapeResult.hxx>
|
||||
|
||||
#endif
|
29
src/BRepCheck/BRepCheck_DataMapOfShapeListOfStatus.hxx
Normal file
29
src/BRepCheck/BRepCheck_DataMapOfShapeListOfStatus.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1995-12-06
|
||||
// Created by: Jacques GOUSSARD
|
||||
// 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 BRepCheck_DataMapOfShapeListOfStatus_HeaderFile
|
||||
#define BRepCheck_DataMapOfShapeListOfStatus_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <BRepCheck_ListOfStatus.hxx>
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,BRepCheck_ListOfStatus,TopTools_ShapeMapHasher> BRepCheck_DataMapOfShapeListOfStatus;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,BRepCheck_ListOfStatus,TopTools_ShapeMapHasher>::Iterator BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus;
|
||||
|
||||
|
||||
#endif
|
29
src/BRepCheck/BRepCheck_DataMapOfShapeResult.hxx
Normal file
29
src/BRepCheck/BRepCheck_DataMapOfShapeResult.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1995-12-06
|
||||
// Created by: Jacques GOUSSARD
|
||||
// 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 BRepCheck_DataMapOfShapeResult_HeaderFile
|
||||
#define BRepCheck_DataMapOfShapeResult_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <BRepCheck_Result.hxx>
|
||||
#include <TopTools_OrientedShapeMapHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Handle(BRepCheck_Result),TopTools_OrientedShapeMapHasher> BRepCheck_DataMapOfShapeResult;
|
||||
typedef NCollection_DataMap<TopoDS_Shape,Handle(BRepCheck_Result),TopTools_OrientedShapeMapHasher>::Iterator BRepCheck_DataMapIteratorOfDataMapOfShapeResult;
|
||||
|
||||
|
||||
#endif
|
8
src/BRepCheck/BRepCheck_ListIteratorOfListOfStatus.hxx
Normal file
8
src/BRepCheck/BRepCheck_ListIteratorOfListOfStatus.hxx
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef BRepCheck_ListIteratorOfListOfStatus_HeaderFile
|
||||
#define BRepCheck_ListIteratorOfListOfStatus_HeaderFile
|
||||
|
||||
#include <BRepCheck_ListOfStatus.hxx>
|
||||
|
||||
#endif
|
27
src/BRepCheck/BRepCheck_ListOfStatus.hxx
Normal file
27
src/BRepCheck/BRepCheck_ListOfStatus.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1995-12-06
|
||||
// Created by: Jacques GOUSSARD
|
||||
// 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 BRepCheck_ListOfStatus_HeaderFile
|
||||
#define BRepCheck_ListOfStatus_HeaderFile
|
||||
|
||||
#include <BRepCheck_Status.hxx>
|
||||
#include <NCollection_List.hxx>
|
||||
|
||||
typedef NCollection_List<BRepCheck_Status> BRepCheck_ListOfStatus;
|
||||
typedef NCollection_List<BRepCheck_Status>::Iterator BRepCheck_ListIteratorOfListOfStatus;
|
||||
|
||||
|
||||
#endif
|
6
src/BRepCheck/FILES
Normal file
6
src/BRepCheck/FILES
Normal file
@@ -0,0 +1,6 @@
|
||||
BRepCheck_ListOfStatus.hxx
|
||||
BRepCheck_ListIteratorOfListOfStatus.hxx
|
||||
BRepCheck_DataMapOfShapeListOfStatus.hxx
|
||||
BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus.hxx
|
||||
BRepCheck_DataMapOfShapeResult.hxx
|
||||
BRepCheck_DataMapIteratorOfDataMapOfShapeResult.hxx
|
Reference in New Issue
Block a user