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

@@ -1,6 +1,4 @@
Geom_BSplineCurve_1.cxx
Geom_BSplineSurface_1.cxx
Geom_SequenceOfBSplineSurface.hxx
Geom_HSequenceOfBSplineSurface.hxx

View File

@@ -58,11 +58,8 @@ is
exception UndefinedDerivative inherits DomainError from Standard;
exception UndefinedValue inherits DomainError from Standard;
class SequenceOfBSplineSurface
instantiates Sequence from TCollection (BSplineSurface from Geom);
class HSequenceOfBSplineSurface
instantiates HSequence from TCollection (BSplineSurface from Geom,
SequenceOfBSplineSurface from Geom);
imported SequenceOfBSplineSurface;
imported transient class HSequenceOfBSplineSurface;
---Group: Geometric entities

View File

@@ -0,0 +1,27 @@
// Created on: 1993-03-09
// Created by: JCV
// Copyright (c) 1993-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 Geom_HSequenceOfBSplineSurface_HeaderFile
#define Geom_HSequenceOfBSplineSurface_HeaderFile
#include <Geom_BSplineSurface.hxx>
#include <Geom_SequenceOfBSplineSurface.hxx>
#include <NCollection_DefineHSequence.hxx>
DEFINE_HSEQUENCE(Geom_HSequenceOfBSplineSurface, Geom_SequenceOfBSplineSurface)
#endif

View File

@@ -0,0 +1,26 @@
// Created on: 1993-03-09
// Created by: JCV
// Copyright (c) 1993-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 Geom_SequenceOfBSplineSurface_HeaderFile
#define Geom_SequenceOfBSplineSurface_HeaderFile
#include <Geom_BSplineSurface.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(Geom_BSplineSurface)> Geom_SequenceOfBSplineSurface;
#endif