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:
@@ -3,3 +3,7 @@ Resource_ConvertUnicode.c
|
||||
Resource_ConvertUnicode.hxx
|
||||
Resource_Shiftjis.h
|
||||
Resource_gb2312.h
|
||||
Resource_DataMapOfAsciiStringAsciiString.hxx
|
||||
Resource_DataMapIteratorOfDataMapOfAsciiStringAsciiString.hxx
|
||||
Resource_DataMapOfAsciiStringExtendedString.hxx
|
||||
Resource_DataMapIteratorOfDataMapOfAsciiStringExtendedString.hxx
|
||||
|
@@ -39,15 +39,13 @@ is
|
||||
-- Resource_Unicode class to convert a string
|
||||
-- from one of these non ASCII format to Unicode, and vice versa.
|
||||
|
||||
class DataMapOfAsciiStringAsciiString instantiates
|
||||
DataMap from TCollection(AsciiString from TCollection,
|
||||
AsciiString from TCollection,
|
||||
AsciiString from TCollection) ;
|
||||
imported DataMapOfAsciiStringAsciiString;
|
||||
|
||||
class DataMapOfAsciiStringExtendedString instantiates
|
||||
DataMap from TCollection(AsciiString from TCollection,
|
||||
ExtendedString from TCollection,
|
||||
AsciiString from TCollection) ;
|
||||
imported DataMapIteratorOfDataMapOfAsciiStringAsciiString;
|
||||
|
||||
imported DataMapOfAsciiStringExtendedString;
|
||||
|
||||
imported DataMapIteratorOfDataMapOfAsciiStringExtendedString;
|
||||
|
||||
class QuickSortOfArray1 instantiates
|
||||
QuickSort from SortTools(AsciiString from TCollection,
|
||||
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef Resource_DataMapIteratorOfDataMapOfAsciiStringAsciiString_HeaderFile
|
||||
#define Resource_DataMapIteratorOfDataMapOfAsciiStringAsciiString_HeaderFile
|
||||
|
||||
#include <Resource_DataMapOfAsciiStringAsciiString.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef Resource_DataMapIteratorOfDataMapOfAsciiStringExtendedString_HeaderFile
|
||||
#define Resource_DataMapIteratorOfDataMapOfAsciiStringExtendedString_HeaderFile
|
||||
|
||||
#include <Resource_DataMapOfAsciiStringExtendedString.hxx>
|
||||
|
||||
#endif
|
29
src/Resource/Resource_DataMapOfAsciiStringAsciiString.hxx
Normal file
29
src/Resource/Resource_DataMapOfAsciiStringAsciiString.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1995-04-20
|
||||
// Created by: Tony GEORGIADES
|
||||
// Copyright (c) 1995-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 Resource_DataMapOfAsciiStringAsciiString_HeaderFile
|
||||
#define Resource_DataMapOfAsciiStringAsciiString_HeaderFile
|
||||
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TCollection_AsciiString,TCollection_AsciiString,TCollection_AsciiString> Resource_DataMapOfAsciiStringAsciiString;
|
||||
typedef NCollection_DataMap<TCollection_AsciiString,TCollection_AsciiString,TCollection_AsciiString>::Iterator Resource_DataMapIteratorOfDataMapOfAsciiStringAsciiString;
|
||||
|
||||
|
||||
#endif
|
29
src/Resource/Resource_DataMapOfAsciiStringExtendedString.hxx
Normal file
29
src/Resource/Resource_DataMapOfAsciiStringExtendedString.hxx
Normal file
@@ -0,0 +1,29 @@
|
||||
// Created on: 1995-04-20
|
||||
// Created by: Tony GEORGIADES
|
||||
// Copyright (c) 1995-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 Resource_DataMapOfAsciiStringExtendedString_HeaderFile
|
||||
#define Resource_DataMapOfAsciiStringExtendedString_HeaderFile
|
||||
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<TCollection_AsciiString,TCollection_ExtendedString,TCollection_AsciiString> Resource_DataMapOfAsciiStringExtendedString;
|
||||
typedef NCollection_DataMap<TCollection_AsciiString,TCollection_ExtendedString,TCollection_AsciiString>::Iterator Resource_DataMapIteratorOfDataMapOfAsciiStringExtendedString;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user