Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Generic::name_match Template Struct Reference

Predicate object applicable to any container of pointers to objects which have a name() member function. More...

#include <generic_stdlib.h>

Inheritance diagram for Generic::name_match

Inheritance graph

[legend]
Collaboration diagram for Generic::name_match:

Collaboration graph

[legend]
List of all members.

Public Methods

 name_match (const N& name_i)
bool operator() ( T* a)
 Returns whether the supplied object has a matching name. More...


Detailed Description

template<class T, class N = string> template struct Generic::name_match

Predicate object applicable to any container of pointers to objects which have a name() member function.

Definition at line 59 of file generic_stdlib.h.


Constructor & Destructor Documentation

template<classT, classN = string>
Generic::name_match<T, N>::name_match<T, N> ( const N & name_i )
 

Definition at line 60 of file generic_stdlib.h.


Member Function Documentation

template<classT, classN = string>
bool Generic::name_match<T, N>::operator() ( T * a ) [inline]
 

Returns whether the supplied object has a matching name.

Definition at line 62 of file generic_stdlib.h.


The documentation for this struct was generated from the following file:
Generated at Mon Aug 21 00:31:19 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000