is_named Struct Reference

Name predicate. More...

#include <predicates.hpp>

List of all members.

Public Member Functions

 is_named ()
 is_named (std::string const &name)
template<typename T>
bool operator() (T const &t)
template<typename T>
bool operator() (T const &t, std::string const &s)

Public Attributes

std::string _name


Detailed Description

Name predicate.

Returns true iff the target object has a particular name. (For a more efficient option, see the type_is predicate).


Constructor & Destructor Documentation

is_named (  ) 

is_named ( std::string const &  name  ) 


Member Function Documentation

bool operator() ( T const &  t  ) 

bool operator() ( T const &  t,
std::string const &  s 
)


Member Data Documentation

std::string _name


The documentation for this struct was generated from the following file:
Generated on Sun Jul 15 20:46:32 2007 for BTK Core by  doxygen 1.5.1