FreeNOS
Public Member Functions
Comparable< T > Class Template Referenceabstract

Objects which can be compared to each other. More...

#include <Comparable.h>

Public Member Functions

virtual ~Comparable ()
 Class destructor. More...
 
virtual bool equals (const T &t) const =0
 Test if an object is equal to an other object. More...
 
virtual int compareTo (const T &t) const =0
 Compares this Comparable to the given Comparable. More...
 

Detailed Description

template<class T>
class Comparable< T >

Objects which can be compared to each other.

Definition at line 34 of file Comparable.h.

Constructor & Destructor Documentation

◆ ~Comparable()

template<class T >
virtual Comparable< T >::~Comparable ( )
inlinevirtual

Class destructor.

Definition at line 41 of file Comparable.h.

Member Function Documentation

◆ compareTo()

template<class T >
virtual int Comparable< T >::compareTo ( const T &  t) const
pure virtual

◆ equals()

template<class T >
virtual bool Comparable< T >::equals ( const T &  t) const
pure virtual

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