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

@@ -34,22 +34,23 @@ is
private class Analysis;
class SequenceOfNamedFunction instantiates
Sequence from TCollection(NamedFunction from Expr);
imported SequenceOfNamedFunction;
class SequenceOfNamedExpression instantiates
Sequence from TCollection(NamedExpression from Expr);
imported SequenceOfNamedExpression;
exception SyntaxError inherits Failure from Standard;
private class StackOfGeneralExpression instantiates
List from TCollection (GeneralExpression from Expr);
imported StackOfGeneralExpression;
private class StackOfGeneralRelation instantiates
List from TCollection (GeneralRelation from Expr);
imported ListIteratorOfStackOfGeneralExpression;
imported StackOfGeneralRelation;
imported ListIteratorOfStackOfGeneralRelation;
private class StackOfGeneralFunction instantiates
List from TCollection (GeneralFunction from Expr);
imported StackOfGeneralFunction;
imported ListIteratorOfStackOfGeneralFunction;
Parse(gen : Generator; str : AsciiString from TCollection)
returns Boolean

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,26 @@
// Created on: 1991-07-18
// 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 ExprIntrp_SequenceOfNamedExpression_HeaderFile
#define ExprIntrp_SequenceOfNamedExpression_HeaderFile
#include <Expr_NamedExpression.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(Expr_NamedExpression)> ExprIntrp_SequenceOfNamedExpression;
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1991-07-18
// 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 ExprIntrp_SequenceOfNamedFunction_HeaderFile
#define ExprIntrp_SequenceOfNamedFunction_HeaderFile
#include <Expr_NamedFunction.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(Expr_NamedFunction)> ExprIntrp_SequenceOfNamedFunction;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1991-07-18
// 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 ExprIntrp_StackOfGeneralExpression_HeaderFile
#define ExprIntrp_StackOfGeneralExpression_HeaderFile
#include <Expr_GeneralExpression.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Handle(Expr_GeneralExpression)> ExprIntrp_StackOfGeneralExpression;
typedef NCollection_List<Handle(Expr_GeneralExpression)>::Iterator ExprIntrp_ListIteratorOfStackOfGeneralExpression;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1991-07-18
// 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 ExprIntrp_StackOfGeneralFunction_HeaderFile
#define ExprIntrp_StackOfGeneralFunction_HeaderFile
#include <Expr_GeneralFunction.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Handle(Expr_GeneralFunction)> ExprIntrp_StackOfGeneralFunction;
typedef NCollection_List<Handle(Expr_GeneralFunction)>::Iterator ExprIntrp_ListIteratorOfStackOfGeneralFunction;
#endif

View File

@@ -0,0 +1,27 @@
// Created on: 1991-07-18
// 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 ExprIntrp_StackOfGeneralRelation_HeaderFile
#define ExprIntrp_StackOfGeneralRelation_HeaderFile
#include <Expr_GeneralRelation.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Handle(Expr_GeneralRelation)> ExprIntrp_StackOfGeneralRelation;
typedef NCollection_List<Handle(Expr_GeneralRelation)>::Iterator ExprIntrp_ListIteratorOfStackOfGeneralRelation;
#endif

View File

@@ -4,3 +4,11 @@ ExprIntrp_yaccanal.hxx
ExprIntrp_yaccintrf.cxx
ExprIntrp_yaccintrf.hxx
ExprIntrp_yacclex.cxx
ExprIntrp_SequenceOfNamedFunction.hxx
ExprIntrp_SequenceOfNamedExpression.hxx
ExprIntrp_StackOfGeneralExpression.hxx
ExprIntrp_ListIteratorOfStackOfGeneralExpression.hxx
ExprIntrp_StackOfGeneralRelation.hxx
ExprIntrp_ListIteratorOfStackOfGeneralRelation.hxx
ExprIntrp_StackOfGeneralFunction.hxx
ExprIntrp_ListIteratorOfStackOfGeneralFunction.hxx