YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
LessComparator.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_LESSCOMPARATOR_HPP
2
# define YAPOG_LESSCOMPARATOR_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/System/IComparator.hpp
"
6
7
namespace
yap
8
{
9
template
<
typename
T>
10
class
LessComparator
:
public
IComparator
<T>
11
{
12
public
:
13
14
virtual
~LessComparator
();
15
16
bool
operator()
(
const
T& left,
const
T& right)
const
;
17
20
virtual
int
Compare
(
const
T& left,
const
T& right)
const
;
22
23
protected
:
24
25
LessComparator
();
26
27
LessComparator
(
const
LessComparator<T>
& copy);
28
LessComparator<T>
&
operator=
(
const
LessComparator<T>
& copy);
29
30
virtual
int
HandleCompare
(
const
T& left,
const
T& right)
const
= 0;
31
};
32
}
// namespace yap
33
34
# include "
YAPOG/System/LessComparator.hxx
"
35
36
#endif // YAPOG_LESSCOMPARATOR_HPP
YAPOG
include
YAPOG
System
LessComparator.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1