GottaMatch.h
Go to the documentation of this file.00001
00010 #ifndef __GottaMatch_H__
00011 #define __GottaMatch_H__
00012
00013 #include "PKIFdll.h"
00014
00015
00016 template <class T>
00022 class GottaMatch
00023 {
00024 public:
00025 bool operator()(const T& t);
00033 void SetRHS(
00035 const T& rhs) {m_rhs = rhs;}
00036 private:
00037 T m_rhs;
00038 };
00039 template <class T>
00047 bool GottaMatch<T>::operator()(const T& t)
00048 {
00049 return *t == *m_rhs;
00050 }
00051
00052 #endif
00053