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:
@@ -1 +1,3 @@
|
||||
Plugin_Macro.hxx
|
||||
Plugin_MapOfFunctions.hxx
|
||||
Plugin_DataMapIteratorOfMapOfFunctions.hxx
|
||||
|
@@ -24,7 +24,9 @@ is
|
||||
|
||||
exception Failure inherits Failure from Standard;
|
||||
|
||||
class MapOfFunctions instantiates DataMap from TCollection(AsciiString from TCollection ,Function from OSD, AsciiString from TCollection);
|
||||
imported MapOfFunctions;
|
||||
|
||||
imported DataMapIteratorOfMapOfFunctions;
|
||||
|
||||
|
||||
Load(aGUID: GUID from Standard; theVerbose: Boolean from Standard = Standard_True)
|
||||
|
8
src/Plugin/Plugin_DataMapIteratorOfMapOfFunctions.hxx
Normal file
8
src/Plugin/Plugin_DataMapIteratorOfMapOfFunctions.hxx
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef Plugin_DataMapIteratorOfMapOfFunctions_HeaderFile
|
||||
#define Plugin_DataMapIteratorOfMapOfFunctions_HeaderFile
|
||||
|
||||
#include <Plugin_MapOfFunctions.hxx>
|
||||
|
||||
#endif
|
29
src/Plugin/Plugin_MapOfFunctions.hxx
Normal file
29
src/Plugin/Plugin_MapOfFunctions.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1997-02-28
|
||||
// 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 Plugin_MapOfFunctions_HeaderFile
|
||||
#define Plugin_MapOfFunctions_HeaderFile
|
||||
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <OSD_Function.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TCollection_AsciiString,OSD_Function,TCollection_AsciiString> Plugin_MapOfFunctions;
|
||||
typedef NCollection_DataMap<TCollection_AsciiString,OSD_Function,TCollection_AsciiString>::Iterator Plugin_DataMapIteratorOfMapOfFunctions;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user