Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members

s11n::same_name< NameableT > Struct Template Reference

Functor to return true if given NameableT objects match a certain name. More...

#include <functor.h>

List of all members.

Public Types

typedef NameableT nameable_type

Public Member Functions

 same_name (const std::string &n)
bool operator() (const nameable_type *x) const


Detailed Description

template<typename NameableT>
struct s11n::same_name< NameableT >

Functor to return true if given NameableT objects match a certain name.

NameableT must support:

std::string name() const;

This class is admitedly to avoid the use of bind1st/bind2nd :/.

Definition at line 412 of file functor.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 16 16:18:13 2005 for s11n by  doxygen 1.4.3-20050530