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:
@@ -86,24 +86,17 @@ is
|
||||
exception InvalidOperand inherits ExprFailure;
|
||||
exception NotEvaluable inherits ExprFailure;
|
||||
|
||||
class SequenceOfGeneralExpression instantiates
|
||||
Sequence from TCollection(GeneralExpression);
|
||||
imported SequenceOfGeneralExpression;
|
||||
|
||||
class Array1OfGeneralExpression instantiates
|
||||
Array1 from TCollection(GeneralExpression);
|
||||
imported Array1OfGeneralExpression;
|
||||
|
||||
class Array1OfNamedUnknown instantiates
|
||||
Array1 from TCollection(NamedUnknown);
|
||||
imported Array1OfNamedUnknown;
|
||||
|
||||
class MapOfNamedUnknown instantiates
|
||||
IndexedMap from TCollection(NamedUnknown,
|
||||
MapTransientHasher from TColStd);
|
||||
imported MapOfNamedUnknown;
|
||||
|
||||
class Array1OfSingleRelation instantiates
|
||||
Array1 from TCollection(SingleRelation);
|
||||
imported Array1OfSingleRelation;
|
||||
|
||||
class SequenceOfGeneralRelation instantiates
|
||||
Sequence from TCollection(GeneralRelation);
|
||||
imported SequenceOfGeneralRelation;
|
||||
|
||||
CopyShare(exp : GeneralExpression)
|
||||
---Level : Internal
|
||||
|
26
src/Expr/Expr_Array1OfGeneralExpression.hxx
Normal file
26
src/Expr/Expr_Array1OfGeneralExpression.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-01-14
|
||||
// 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 Expr_Array1OfGeneralExpression_HeaderFile
|
||||
#define Expr_Array1OfGeneralExpression_HeaderFile
|
||||
|
||||
#include <Expr_GeneralExpression.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(Expr_GeneralExpression)> Expr_Array1OfGeneralExpression;
|
||||
|
||||
|
||||
#endif
|
26
src/Expr/Expr_Array1OfNamedUnknown.hxx
Normal file
26
src/Expr/Expr_Array1OfNamedUnknown.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-01-14
|
||||
// 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 Expr_Array1OfNamedUnknown_HeaderFile
|
||||
#define Expr_Array1OfNamedUnknown_HeaderFile
|
||||
|
||||
#include <Expr_NamedUnknown.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(Expr_NamedUnknown)> Expr_Array1OfNamedUnknown;
|
||||
|
||||
|
||||
#endif
|
26
src/Expr/Expr_Array1OfSingleRelation.hxx
Normal file
26
src/Expr/Expr_Array1OfSingleRelation.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-01-14
|
||||
// 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 Expr_Array1OfSingleRelation_HeaderFile
|
||||
#define Expr_Array1OfSingleRelation_HeaderFile
|
||||
|
||||
#include <Expr_SingleRelation.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(Expr_SingleRelation)> Expr_Array1OfSingleRelation;
|
||||
|
||||
|
||||
#endif
|
27
src/Expr/Expr_MapOfNamedUnknown.hxx
Normal file
27
src/Expr/Expr_MapOfNamedUnknown.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1991-01-14
|
||||
// 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 Expr_MapOfNamedUnknown_HeaderFile
|
||||
#define Expr_MapOfNamedUnknown_HeaderFile
|
||||
|
||||
#include <Expr_NamedUnknown.hxx>
|
||||
#include <TColStd_MapTransientHasher.hxx>
|
||||
#include <NCollection_IndexedMap.hxx>
|
||||
|
||||
typedef NCollection_IndexedMap<Handle(Expr_NamedUnknown),TColStd_MapTransientHasher> Expr_MapOfNamedUnknown;
|
||||
|
||||
|
||||
#endif
|
26
src/Expr/Expr_SequenceOfGeneralExpression.hxx
Normal file
26
src/Expr/Expr_SequenceOfGeneralExpression.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-01-14
|
||||
// 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 Expr_SequenceOfGeneralExpression_HeaderFile
|
||||
#define Expr_SequenceOfGeneralExpression_HeaderFile
|
||||
|
||||
#include <Expr_GeneralExpression.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Handle(Expr_GeneralExpression)> Expr_SequenceOfGeneralExpression;
|
||||
|
||||
|
||||
#endif
|
26
src/Expr/Expr_SequenceOfGeneralRelation.hxx
Normal file
26
src/Expr/Expr_SequenceOfGeneralRelation.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-01-14
|
||||
// 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 Expr_SequenceOfGeneralRelation_HeaderFile
|
||||
#define Expr_SequenceOfGeneralRelation_HeaderFile
|
||||
|
||||
#include <Expr_GeneralRelation.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Handle(Expr_GeneralRelation)> Expr_SequenceOfGeneralRelation;
|
||||
|
||||
|
||||
#endif
|
@@ -1,2 +1,8 @@
|
||||
Expr_Operators.cxx
|
||||
Expr_Operators.hxx
|
||||
Expr_SequenceOfGeneralExpression.hxx
|
||||
Expr_Array1OfGeneralExpression.hxx
|
||||
Expr_Array1OfNamedUnknown.hxx
|
||||
Expr_MapOfNamedUnknown.hxx
|
||||
Expr_Array1OfSingleRelation.hxx
|
||||
Expr_SequenceOfGeneralRelation.hxx
|
||||
|
Reference in New Issue
Block a user