# NameComparator Class Template Reference

NameComparator is a comparison functor for objects having a getName() method. More...

`#include <helper.hh>`

List of all members.

## Public Member Functions
| NameComparator (std::string h)
bool | operator() (const T *op) const
bool | operator() (const T &op) const
## Private Attributes
std::string | name

## Detailed Description

### template<class T>
class certi::NameComparator< T >

NameComparator is a comparison functor for objects having a getName() method.

Definition at line 50 of file helper.hh.

## Constructor & Destructor Documentation

NameComparator | ( | std::string | h | ) | `[inline]`

Definition at line 53 of file helper.hh.

## Member Function Documentation

bool operator() | ( | const T * | op | ) | const`[inline]`

Definition at line 54 of file helper.hh.

References NameComparator::name.

bool operator() | ( | const T & | op | ) | const`[inline]`

Definition at line 55 of file helper.hh.

References NameComparator::name.

## Member Data Documentation

std::string name`[private]`

Definition at line 55 of file helper.hh.

Referenced by NameComparator::operator()().

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

- helper.hh