Integration of OCCT 6.5.0 from SVN
[occt.git] / src / TCollection / TCollection_CompareOfInteger.cxx
1
2 // Copyright:   Matra-Datavision 1992
3 //              <mip@sdsun3>
4 // File:        TCollection_CompareOfInteger.cxx
5 // Created:     Thu Aug 27 12:06:34 1992
6 // Author:      Mireille MERCIEN
7
8 #include <TCollection_CompareOfInteger.ixx>
9
10 // -----------
11 // Create :
12 // -----------
13 TCollection_CompareOfInteger::TCollection_CompareOfInteger()
14 {
15 }
16
17 // -----------
18 // IsLower :
19 // -----------
20 Standard_Boolean TCollection_CompareOfInteger::IsLower (
21        const Standard_Integer &Left,const Standard_Integer &Right) const
22 {
23    return (Left < Right) ;
24 }
25
26 // -----------
27 // IsGreater :
28 // -----------
29 Standard_Boolean TCollection_CompareOfInteger::IsGreater (
30        const Standard_Integer &Left,const Standard_Integer &Right) const
31 {
32    return (Left > Right) ;
33 }