Public Member Functions | |
KeyComparator (const string &key) | |
constructor | |
bool | operator() (pair< string, string > const &key_val) const |
comparator function | |
Public Attributes | |
string | key |
class used to search a given message key
MyTools::KeyComparator::KeyComparator | ( | const string & | key | ) | [inline] |
constructor
key | the key to search for |
bool MyTools::KeyComparator::operator() | ( | pair< string, string > const & | key_val | ) | const [inline] |
comparator function
key_val | a (key, value) pair |
References key.
string MyTools::KeyComparator::key |
the key to search for
Referenced by operator()().