Public Member Functions | Public Attributes

MyTools::NotEqualComparator< T > Class Template Reference

List of all members.

Public Member Functions

 NotEqualComparator (const T &val)
 constructor
bool operator() (const T ignored_val) const
 comparator function

Public Attributes

val

Detailed Description

template<class T>
class MyTools::NotEqualComparator< T >

class used for container search


Constructor & Destructor Documentation

template<class T >
MyTools::NotEqualComparator< T >::NotEqualComparator ( const T &  val  )  [inline]

constructor

Parameters:
key the key to ignore

Member Function Documentation

template<class T >
bool MyTools::NotEqualComparator< T >::operator() ( const T  ignored_val  )  const [inline]

comparator function

Parameters:
ignored_val the value to skip
Returns:
true if the value is not equal to ignored_val

Member Data Documentation

template<class T >
T MyTools::NotEqualComparator< T >::val

the value to ignore


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