mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
7
src/GeomFill/FILES
Normal file
7
src/GeomFill/FILES
Normal file
@@ -0,0 +1,7 @@
|
||||
GeomFill_SequenceOfTrsf.hxx
|
||||
GeomFill_SequenceOfAx2.hxx
|
||||
GeomFill_HSequenceOfAx2.hxx
|
||||
GeomFill_Array1OfSectionLaw.hxx
|
||||
GeomFill_HArray1OfSectionLaw.hxx
|
||||
GeomFill_Array1OfLocationLaw.hxx
|
||||
GeomFill_HArray1OfLocationLaw.hxx
|
@@ -133,15 +133,11 @@ is
|
||||
-- instantiation of Sequence of Trsf
|
||||
--
|
||||
|
||||
class SequenceOfTrsf
|
||||
instantiates Sequence from TCollection (Trsf from gp);
|
||||
imported SequenceOfTrsf;
|
||||
|
||||
class SequenceOfAx2
|
||||
instantiates Sequence from TCollection (Ax2 from gp);
|
||||
imported SequenceOfAx2;
|
||||
|
||||
class HSequenceOfAx2
|
||||
instantiates HSequence from TCollection (Ax2 from gp,
|
||||
SequenceOfAx2 from GeomFill);
|
||||
imported transient class HSequenceOfAx2;
|
||||
|
||||
--
|
||||
-- private classes
|
||||
@@ -189,19 +185,13 @@ is
|
||||
class Sweep;
|
||||
class SectionPlacement;
|
||||
|
||||
class Array1OfSectionLaw
|
||||
instantiates Array1 from TCollection (SectionLaw from GeomFill);
|
||||
imported Array1OfSectionLaw;
|
||||
|
||||
class HArray1OfSectionLaw
|
||||
instantiates HArray1 from TCollection (SectionLaw from GeomFill,
|
||||
Array1OfSectionLaw from GeomFill);
|
||||
imported transient class HArray1OfSectionLaw;
|
||||
|
||||
class Array1OfLocationLaw
|
||||
instantiates Array1 from TCollection (LocationLaw from GeomFill);
|
||||
imported Array1OfLocationLaw;
|
||||
|
||||
class HArray1OfLocationLaw
|
||||
instantiates HArray1 from TCollection (LocationLaw from GeomFill,
|
||||
Array1OfLocationLaw from GeomFill);
|
||||
imported transient class HArray1OfLocationLaw;
|
||||
|
||||
-- package methods
|
||||
--
|
||||
|
26
src/GeomFill/GeomFill_Array1OfLocationLaw.hxx
Normal file
26
src/GeomFill/GeomFill_Array1OfLocationLaw.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-09-28
|
||||
// Created by: Bruno DUMORTIER
|
||||
// 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 GeomFill_Array1OfLocationLaw_HeaderFile
|
||||
#define GeomFill_Array1OfLocationLaw_HeaderFile
|
||||
|
||||
#include <GeomFill_LocationLaw.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(GeomFill_LocationLaw)> GeomFill_Array1OfLocationLaw;
|
||||
|
||||
|
||||
#endif
|
26
src/GeomFill/GeomFill_Array1OfSectionLaw.hxx
Normal file
26
src/GeomFill/GeomFill_Array1OfSectionLaw.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-09-28
|
||||
// Created by: Bruno DUMORTIER
|
||||
// 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 GeomFill_Array1OfSectionLaw_HeaderFile
|
||||
#define GeomFill_Array1OfSectionLaw_HeaderFile
|
||||
|
||||
#include <GeomFill_SectionLaw.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(GeomFill_SectionLaw)> GeomFill_Array1OfSectionLaw;
|
||||
|
||||
|
||||
#endif
|
27
src/GeomFill/GeomFill_HArray1OfLocationLaw.hxx
Normal file
27
src/GeomFill/GeomFill_HArray1OfLocationLaw.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-09-28
|
||||
// Created by: Bruno DUMORTIER
|
||||
// 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 GeomFill_HArray1OfLocationLaw_HeaderFile
|
||||
#define GeomFill_HArray1OfLocationLaw_HeaderFile
|
||||
|
||||
#include <GeomFill_LocationLaw.hxx>
|
||||
#include <GeomFill_Array1OfLocationLaw.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(GeomFill_HArray1OfLocationLaw, GeomFill_Array1OfLocationLaw)
|
||||
|
||||
|
||||
#endif
|
27
src/GeomFill/GeomFill_HArray1OfSectionLaw.hxx
Normal file
27
src/GeomFill/GeomFill_HArray1OfSectionLaw.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-09-28
|
||||
// Created by: Bruno DUMORTIER
|
||||
// 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 GeomFill_HArray1OfSectionLaw_HeaderFile
|
||||
#define GeomFill_HArray1OfSectionLaw_HeaderFile
|
||||
|
||||
#include <GeomFill_SectionLaw.hxx>
|
||||
#include <GeomFill_Array1OfSectionLaw.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(GeomFill_HArray1OfSectionLaw, GeomFill_Array1OfSectionLaw)
|
||||
|
||||
|
||||
#endif
|
27
src/GeomFill/GeomFill_HSequenceOfAx2.hxx
Normal file
27
src/GeomFill/GeomFill_HSequenceOfAx2.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1993-09-28
|
||||
// Created by: Bruno DUMORTIER
|
||||
// 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 GeomFill_HSequenceOfAx2_HeaderFile
|
||||
#define GeomFill_HSequenceOfAx2_HeaderFile
|
||||
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <GeomFill_SequenceOfAx2.hxx>
|
||||
#include <NCollection_DefineHSequence.hxx>
|
||||
|
||||
DEFINE_HSEQUENCE(GeomFill_HSequenceOfAx2, GeomFill_SequenceOfAx2)
|
||||
|
||||
|
||||
#endif
|
26
src/GeomFill/GeomFill_SequenceOfAx2.hxx
Normal file
26
src/GeomFill/GeomFill_SequenceOfAx2.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-09-28
|
||||
// Created by: Bruno DUMORTIER
|
||||
// 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 GeomFill_SequenceOfAx2_HeaderFile
|
||||
#define GeomFill_SequenceOfAx2_HeaderFile
|
||||
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<gp_Ax2> GeomFill_SequenceOfAx2;
|
||||
|
||||
|
||||
#endif
|
26
src/GeomFill/GeomFill_SequenceOfTrsf.hxx
Normal file
26
src/GeomFill/GeomFill_SequenceOfTrsf.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1993-09-28
|
||||
// Created by: Bruno DUMORTIER
|
||||
// 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 GeomFill_SequenceOfTrsf_HeaderFile
|
||||
#define GeomFill_SequenceOfTrsf_HeaderFile
|
||||
|
||||
#include <gp_Trsf.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<gp_Trsf> GeomFill_SequenceOfTrsf;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user