summaryrefslogtreecommitdiff
path: root/src/PCollection/PCollection_CompareOfInteger.cxx
blob: 6993a9312618885119f3c2bbca1a78e93a525c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright: 	Matra-Datavision 1992
//		<mip@sdsun3>
// File:	PCollection_CompareOfInteger.cxx
// Created:	Thu Aug 27 12:06:34 1992
// Author:	Mireille MERCIEN

#include <PCollection_CompareOfInteger.ixx>

// -----------
// Create :
// -----------
PCollection_CompareOfInteger::PCollection_CompareOfInteger()
{
}

// -----------
// IsLower :
// -----------
Standard_Boolean PCollection_CompareOfInteger::IsLower (
       const Standard_Integer &Left,const Standard_Integer &Right) const
{
   return (Left < Right) ;
}

// -----------
// IsGreater :
// -----------
Standard_Boolean PCollection_CompareOfInteger::IsGreater (
       const Standard_Integer &Left,const Standard_Integer &Right) const
{
   return (Left > Right) ;
}