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:
4
src/Intf/FILES
Normal file
4
src/Intf/FILES
Normal file
@@ -0,0 +1,4 @@
|
||||
Intf_Array1OfLin.hxx
|
||||
Intf_SeqOfSectionPoint.hxx
|
||||
Intf_SeqOfSectionLine.hxx
|
||||
Intf_SeqOfTangentZone.hxx
|
@@ -38,8 +38,7 @@ is
|
||||
|
||||
deferred class Polygon2d;
|
||||
|
||||
class Array1OfLin instantiates Array1 from TCollection
|
||||
(Lin from gp);
|
||||
imported Array1OfLin;
|
||||
---Purpose: Describes a set of Straight Lines to intersect with the
|
||||
-- Polyhedron.
|
||||
|
||||
@@ -49,20 +48,17 @@ is
|
||||
|
||||
class SectionPoint;
|
||||
|
||||
class SeqOfSectionPoint instantiates Sequence from TCollection
|
||||
(SectionPoint);
|
||||
imported SeqOfSectionPoint;
|
||||
|
||||
|
||||
class SectionLine;
|
||||
|
||||
class SeqOfSectionLine instantiates Sequence from TCollection
|
||||
(SectionLine);
|
||||
imported SeqOfSectionLine;
|
||||
|
||||
|
||||
class TangentZone;
|
||||
|
||||
class SeqOfTangentZone instantiates Sequence from TCollection
|
||||
(TangentZone);
|
||||
imported SeqOfTangentZone;
|
||||
|
||||
|
||||
deferred class Interference;
|
||||
|
26
src/Intf/Intf_Array1OfLin.hxx
Normal file
26
src/Intf/Intf_Array1OfLin.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-05-23
|
||||
// Created by: Didier PIFFAULT
|
||||
// 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 Intf_Array1OfLin_HeaderFile
|
||||
#define Intf_Array1OfLin_HeaderFile
|
||||
|
||||
#include <gp_Lin.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<gp_Lin> Intf_Array1OfLin;
|
||||
|
||||
|
||||
#endif
|
26
src/Intf/Intf_SeqOfSectionLine.hxx
Normal file
26
src/Intf/Intf_SeqOfSectionLine.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-05-23
|
||||
// Created by: Didier PIFFAULT
|
||||
// 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 Intf_SeqOfSectionLine_HeaderFile
|
||||
#define Intf_SeqOfSectionLine_HeaderFile
|
||||
|
||||
#include <Intf_SectionLine.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Intf_SectionLine> Intf_SeqOfSectionLine;
|
||||
|
||||
|
||||
#endif
|
26
src/Intf/Intf_SeqOfSectionPoint.hxx
Normal file
26
src/Intf/Intf_SeqOfSectionPoint.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-05-23
|
||||
// Created by: Didier PIFFAULT
|
||||
// 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 Intf_SeqOfSectionPoint_HeaderFile
|
||||
#define Intf_SeqOfSectionPoint_HeaderFile
|
||||
|
||||
#include <Intf_SectionPoint.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Intf_SectionPoint> Intf_SeqOfSectionPoint;
|
||||
|
||||
|
||||
#endif
|
26
src/Intf/Intf_SeqOfTangentZone.hxx
Normal file
26
src/Intf/Intf_SeqOfTangentZone.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1991-05-23
|
||||
// Created by: Didier PIFFAULT
|
||||
// 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 Intf_SeqOfTangentZone_HeaderFile
|
||||
#define Intf_SeqOfTangentZone_HeaderFile
|
||||
|
||||
#include <Intf_TangentZone.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Intf_TangentZone> Intf_SeqOfTangentZone;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user