YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::LessComparator< T > Class Template Reference

#include <LessComparator.hpp>

Inheritance diagram for yap::LessComparator< T >:
Collaboration diagram for yap::LessComparator< T >:

List of all members.

Public Member Functions

virtual ~LessComparator ()
bool operator() (const T &left, const T &right) const
IComparator members.
virtual int Compare (const T &left, const T &right) const
- Public Member Functions inherited from yap::IComparator< T >
virtual ~IComparator ()

Protected Member Functions

 LessComparator ()
 LessComparator (const LessComparator< T > &copy)
LessComparator< T > & operator= (const LessComparator< T > &copy)
virtual int HandleCompare (const T &left, const T &right) const =0

Detailed Description

template<typename T>
class yap::LessComparator< T >

Definition at line 10 of file LessComparator.hpp.


Constructor & Destructor Documentation

template<typename T >
yap::LessComparator< T >::~LessComparator ( )
inlinevirtual

Definition at line 12 of file LessComparator.hxx.

template<typename T >
yap::LessComparator< T >::LessComparator ( )
inlineprotected

Definition at line 7 of file LessComparator.hxx.

template<typename T>
yap::LessComparator< T >::LessComparator ( const LessComparator< T > &  copy)
inlineprotected

Definition at line 17 of file LessComparator.hxx.


Member Function Documentation

template<typename T>
int yap::LessComparator< T >::Compare ( const T &  left,
const T &  right 
) const
inlinevirtual

Implements yap::IComparator< T >.

Definition at line 37 of file LessComparator.hxx.

template<typename T>
virtual int yap::LessComparator< T >::HandleCompare ( const T &  left,
const T &  right 
) const
protectedpure virtual
template<typename T>
bool yap::LessComparator< T >::operator() ( const T &  left,
const T &  right 
) const
inline

Definition at line 29 of file LessComparator.hxx.

template<typename T>
LessComparator< T > & yap::LessComparator< T >::operator= ( const LessComparator< T > &  copy)
inlineprotected

Definition at line 22 of file LessComparator.hxx.


The documentation for this class was generated from the following files: