Salome HOME
Fix compilation error (conflict of OK name between OCCT Plate_Plate.hxx and GEOM...
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_DataMapOfPassKeyInteger.hxx
1 // Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 // File:        GEOMAlgo_DataMapOfPassKeyInteger.hxx
20 // Created:     Wed Feb 22 10:55:55 2012
21 // Author:
22 //              <pkv@BDEURI37616>
23
24
25 #ifndef GEOMAlgo_DataMapOfPassKeyInteger_HeaderFile
26 #define GEOMAlgo_DataMapOfPassKeyInteger_HeaderFile
27
28 #include <Basics_OCCTVersion.hxx>
29
30 #include <GEOMAlgo_PassKey.hxx>
31 #include <Standard_Integer.hxx>
32
33 #if OCC_VERSION_LARGE < 0x07080000
34 #include <GEOMAlgo_PassKeyMapHasher.hxx>
35
36 #define _NCollection_MapHasher
37 #include <NCollection_DataMap.hxx>
38
39 typedef NCollection_DataMap<GEOMAlgo_PassKey, Standard_Integer, GEOMAlgo_PassKeyMapHasher> GEOMAlgo_DataMapOfPassKeyInteger;
40
41 #else
42
43 #include <NCollection_DataMap.hxx>
44
45 typedef NCollection_DataMap<GEOMAlgo_PassKey, Standard_Integer> GEOMAlgo_DataMapOfPassKeyInteger;
46
47 #endif // OCC_VERSION_LARGE < 0x07080000
48
49
50 typedef GEOMAlgo_DataMapOfPassKeyInteger::Iterator GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger;
51
52 #undef _NCollection_MapHasher
53
54
55 #endif