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:
@@ -1,2 +1,4 @@
|
||||
PCDM_DOMHeaderParser.hxx
|
||||
PCDM_DOMHeaderParser.cxx
|
||||
PCDM_SequenceOfDocument.hxx
|
||||
PCDM_SequenceOfReference.hxx
|
||||
|
@@ -59,7 +59,7 @@ is
|
||||
end StoreStatus;
|
||||
|
||||
deferred class Document;
|
||||
class SequenceOfDocument instantiates Sequence from TCollection(Document from PCDM);
|
||||
imported SequenceOfDocument;
|
||||
|
||||
deferred class Reader;
|
||||
deferred class Writer;
|
||||
@@ -74,7 +74,7 @@ is
|
||||
|
||||
---Category: classes for versioning reading/writing og the headers.
|
||||
private class Reference;
|
||||
private class SequenceOfReference instantiates Sequence from TCollection(Reference from PCDM);
|
||||
imported SequenceOfReference;
|
||||
private deferred class ReadWriter;
|
||||
private class ReadWriter_1;
|
||||
|
||||
|
26
src/PCDM/PCDM_SequenceOfDocument.hxx
Normal file
26
src/PCDM/PCDM_SequenceOfDocument.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1997-08-01
|
||||
// Created by: Jean-Louis Frenkel
|
||||
// Copyright (c) 1997-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 PCDM_SequenceOfDocument_HeaderFile
|
||||
#define PCDM_SequenceOfDocument_HeaderFile
|
||||
|
||||
#include <PCDM_Document.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Handle(PCDM_Document)> PCDM_SequenceOfDocument;
|
||||
|
||||
|
||||
#endif
|
26
src/PCDM/PCDM_SequenceOfReference.hxx
Normal file
26
src/PCDM/PCDM_SequenceOfReference.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1997-08-01
|
||||
// Created by: Jean-Louis Frenkel
|
||||
// Copyright (c) 1997-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 PCDM_SequenceOfReference_HeaderFile
|
||||
#define PCDM_SequenceOfReference_HeaderFile
|
||||
|
||||
#include <PCDM_Reference.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<PCDM_Reference> PCDM_SequenceOfReference;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user