mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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/StepData/FILES
Normal file
2
src/StepData/FILES
Normal file
@@ -0,0 +1,2 @@
|
||||
StepData_Array1OfField.hxx
|
||||
StepData_HArray1OfField.hxx
|
@@ -85,10 +85,8 @@ is
|
||||
-- Init & Protocol encapsulate the general actions required to work with
|
||||
-- this package. While their use is not mandatory, it makes work easier.
|
||||
|
||||
class Array1OfField instantiates Array1 from TCollection
|
||||
(Field from StepData);
|
||||
class HArray1OfField instantiates HArray1 from TCollection
|
||||
(Field from StepData,Array1OfField from StepData);
|
||||
imported Array1OfField;
|
||||
imported transient class HArray1OfField;
|
||||
|
||||
HeaderProtocol returns Protocol from StepData;
|
||||
---Purpose : Returns the recorded HeaderProtocol, which can be :
|
||||
|
26
src/StepData/StepData_Array1OfField.hxx
Normal file
26
src/StepData/StepData_Array1OfField.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1992-02-11
|
||||
// Created by: Christian CAILLET
|
||||
// Copyright (c) 1992-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 StepData_Array1OfField_HeaderFile
|
||||
#define StepData_Array1OfField_HeaderFile
|
||||
|
||||
#include <StepData_Field.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<StepData_Field> StepData_Array1OfField;
|
||||
|
||||
|
||||
#endif
|
27
src/StepData/StepData_HArray1OfField.hxx
Normal file
27
src/StepData/StepData_HArray1OfField.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1992-02-11
|
||||
// Created by: Christian CAILLET
|
||||
// Copyright (c) 1992-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 StepData_HArray1OfField_HeaderFile
|
||||
#define StepData_HArray1OfField_HeaderFile
|
||||
|
||||
#include <StepData_Field.hxx>
|
||||
#include <StepData_Array1OfField.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(StepData_HArray1OfField, StepData_Array1OfField)
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user