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:
@@ -2,3 +2,7 @@ Message_Status.hxx
|
||||
Message_StatusType.hxx
|
||||
Message_ExecStatus.hxx
|
||||
Message_HArrayOfMsg.hxx
|
||||
Message_ListOfMsg.hxx
|
||||
Message_ListIteratorOfListOfMsg.hxx
|
||||
Message_SequenceOfPrinters.hxx
|
||||
Message_SequenceOfProgressScale.hxx
|
||||
|
@@ -56,17 +56,17 @@ is
|
||||
deferred class Printer;
|
||||
class PrinterOStream;
|
||||
|
||||
class ListOfMsg instantiates List from TCollection (Msg from Message);
|
||||
imported ListOfMsg;
|
||||
|
||||
class SequenceOfPrinters instantiates
|
||||
Sequence from TCollection (Printer from Message);
|
||||
imported ListIteratorOfListOfMsg;
|
||||
|
||||
imported SequenceOfPrinters;
|
||||
|
||||
-- Progress indication
|
||||
deferred class ProgressIndicator;
|
||||
class ProgressScale;
|
||||
class ProgressSentry;
|
||||
class SequenceOfProgressScale instantiates
|
||||
Sequence from TCollection (ProgressScale from Message);
|
||||
imported SequenceOfProgressScale;
|
||||
|
||||
DefaultMessenger returns Messenger from Message;
|
||||
---Purpose: Defines default messenger for OCCT applications.
|
||||
|
8
src/Message/Message_ListIteratorOfListOfMsg.hxx
Normal file
8
src/Message/Message_ListIteratorOfListOfMsg.hxx
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef Message_ListIteratorOfListOfMsg_HeaderFile
|
||||
#define Message_ListIteratorOfListOfMsg_HeaderFile
|
||||
|
||||
#include <Message_ListOfMsg.hxx>
|
||||
|
||||
#endif
|
27
src/Message/Message_ListOfMsg.hxx
Normal file
27
src/Message/Message_ListOfMsg.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Created on: 1999-07-29
|
||||
// Created by: Roman LYGIN
|
||||
// Copyright (c) 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 Message_ListOfMsg_HeaderFile
|
||||
#define Message_ListOfMsg_HeaderFile
|
||||
|
||||
#include <Message_Msg.hxx>
|
||||
#include <NCollection_List.hxx>
|
||||
|
||||
typedef NCollection_List<Message_Msg> Message_ListOfMsg;
|
||||
typedef NCollection_List<Message_Msg>::Iterator Message_ListIteratorOfListOfMsg;
|
||||
|
||||
|
||||
#endif
|
26
src/Message/Message_SequenceOfPrinters.hxx
Normal file
26
src/Message/Message_SequenceOfPrinters.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1999-07-29
|
||||
// Created by: Roman LYGIN
|
||||
// Copyright (c) 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 Message_SequenceOfPrinters_HeaderFile
|
||||
#define Message_SequenceOfPrinters_HeaderFile
|
||||
|
||||
#include <Message_Printer.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Handle(Message_Printer)> Message_SequenceOfPrinters;
|
||||
|
||||
|
||||
#endif
|
26
src/Message/Message_SequenceOfProgressScale.hxx
Normal file
26
src/Message/Message_SequenceOfProgressScale.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Created on: 1999-07-29
|
||||
// Created by: Roman LYGIN
|
||||
// Copyright (c) 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 Message_SequenceOfProgressScale_HeaderFile
|
||||
#define Message_SequenceOfProgressScale_HeaderFile
|
||||
|
||||
#include <Message_ProgressScale.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<Message_ProgressScale> Message_SequenceOfProgressScale;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user