Salome HOME
Merge with OCC-V2_1_0_deb
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_PassKeyMapHasher.cxx
1 // File:        GEOMAlgo_PassKeyMapHasher.cxx
2 // Created:     
3 // Author:      Peter KURNEV
4 //              <pkv@irinox>
5
6
7 #include <GEOMAlgo_PassKeyMapHasher.ixx>
8
9 //=======================================================================
10 //function : HashCode
11 //purpose  : 
12 //=======================================================================
13   Standard_Integer GEOMAlgo_PassKeyMapHasher::HashCode(const GEOMAlgo_PassKey& aPKey,
14                                                        const Standard_Integer Upper)
15 {
16   return aPKey.HashCode(Upper);
17 }
18 //=======================================================================
19 //function :IsEqual
20 //purpose  : 
21 //=======================================================================
22   Standard_Boolean GEOMAlgo_PassKeyMapHasher::IsEqual(const GEOMAlgo_PassKey& aPKey1,
23                                                       const GEOMAlgo_PassKey& aPKey2)
24 {
25   return aPKey1.IsEqual(aPKey2);
26 }