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:
2
src/TDataXtd/FILES
Normal file
2
src/TDataXtd/FILES
Normal file
@@ -0,0 +1,2 @@
|
||||
TDataXtd_Array1OfTrsf.hxx
|
||||
TDataXtd_HArray1OfTrsf.hxx
|
@@ -115,10 +115,9 @@ is
|
||||
---Category: tools
|
||||
-- =====
|
||||
|
||||
class Array1OfTrsf instantiates Array1 from TCollection (Trsf from gp);
|
||||
imported Array1OfTrsf;
|
||||
|
||||
class HArray1OfTrsf instantiates HArray1 from TCollection (Trsf from gp,
|
||||
Array1OfTrsf from TDataXtd);
|
||||
imported transient class HArray1OfTrsf;
|
||||
|
||||
IDList (anIDList : in out IDList from TDF);
|
||||
---Purpose: Appends to <anIDList> the list of the attributes
|
||||
|
25
src/TDataXtd/TDataXtd_Array1OfTrsf.hxx
Normal file
25
src/TDataXtd/TDataXtd_Array1OfTrsf.hxx
Normal file
@@ -0,0 +1,25 @@
|
||||
// Created on: 2008-05-29
|
||||
// Created by: Sergey ZARITCHNY
|
||||
// Copyright (c) 2008-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 TDataXtd_Array1OfTrsf_HeaderFile
|
||||
#define TDataXtd_Array1OfTrsf_HeaderFile
|
||||
|
||||
#include <gp_Trsf.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<gp_Trsf> TDataXtd_Array1OfTrsf;
|
||||
|
||||
|
||||
#endif
|
26
src/TDataXtd/TDataXtd_HArray1OfTrsf.hxx
Normal file
26
src/TDataXtd/TDataXtd_HArray1OfTrsf.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 2008-05-29
|
||||
// Created by: Sergey ZARITCHNY
|
||||
// Copyright (c) 2008-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 TDataXtd_HArray1OfTrsf_HeaderFile
|
||||
#define TDataXtd_HArray1OfTrsf_HeaderFile
|
||||
|
||||
#include <gp_Trsf.hxx>
|
||||
#include <TDataXtd_Array1OfTrsf.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(TDataXtd_HArray1OfTrsf, TDataXtd_Array1OfTrsf)
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user