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:
@@ -38,13 +38,11 @@ is
|
||||
|
||||
class Contour;
|
||||
|
||||
class TheSequenceOfPoint instantiates Sequence from TCollection (Point from Contap);
|
||||
imported TheSequenceOfPoint;
|
||||
|
||||
class TheHSequenceOfPoint instantiates HSequence from TCollection
|
||||
(Point from Contap,
|
||||
TheSequenceOfPoint from Contap);
|
||||
imported transient class TheHSequenceOfPoint;
|
||||
|
||||
class TheSequenceOfLine instantiates Sequence from TCollection(Line from Contap);
|
||||
imported TheSequenceOfLine;
|
||||
|
||||
class TheSearch instantiates SearchOnBoundaries from IntStart
|
||||
(HVertex from Adaptor3d,
|
||||
|
27
src/Contap/Contap_TheHSequenceOfPoint.hxx
Normal file
27
src/Contap/Contap_TheHSequenceOfPoint.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-02-05
|
||||
// Created by: Jacques GOUSSARD
|
||||
// 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 Contap_TheHSequenceOfPoint_HeaderFile
|
||||
#define Contap_TheHSequenceOfPoint_HeaderFile
|
||||
|
||||
#include <Contap_Point.hxx>
|
||||
#include <Contap_TheSequenceOfPoint.hxx>
|
||||
#include <NCollection_DefineHSequence.hxx>
|
||||
|
||||
DEFINE_HSEQUENCE(Contap_TheHSequenceOfPoint, Contap_TheSequenceOfPoint)
|
||||
|
||||
|
||||
#endif
|
26
src/Contap/Contap_TheSequenceOfLine.hxx
Normal file
26
src/Contap/Contap_TheSequenceOfLine.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-02-05
|
||||
// Created by: Jacques GOUSSARD
|
||||
// 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 Contap_TheSequenceOfLine_HeaderFile
|
||||
#define Contap_TheSequenceOfLine_HeaderFile
|
||||
|
||||
#include <Contap_Line.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Contap_Line> Contap_TheSequenceOfLine;
|
||||
|
||||
|
||||
#endif
|
26
src/Contap/Contap_TheSequenceOfPoint.hxx
Normal file
26
src/Contap/Contap_TheSequenceOfPoint.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-02-05
|
||||
// Created by: Jacques GOUSSARD
|
||||
// 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 Contap_TheSequenceOfPoint_HeaderFile
|
||||
#define Contap_TheSequenceOfPoint_HeaderFile
|
||||
|
||||
#include <Contap_Point.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Contap_Point> Contap_TheSequenceOfPoint;
|
||||
|
||||
|
||||
#endif
|
3
src/Contap/FILES
Normal file
3
src/Contap/FILES
Normal file
@@ -0,0 +1,3 @@
|
||||
Contap_TheSequenceOfPoint.hxx
|
||||
Contap_TheHSequenceOfPoint.hxx
|
||||
Contap_TheSequenceOfLine.hxx
|
Reference in New Issue
Block a user