Go to Overview over all GrAL packages.
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

is_element_of_pred Class Template Reference
[Set Algorithms]

Predicate class for testing if . More...

#include <set-primitives.h>

Collaboration diagram for is_element_of_pred:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T argument_type
typedef bool result_type

Public Methods

 is_element_of_pred (It b, It e)
bool operator() (const T &t) const

Related Functions

(Note that these are not member functions.)

is_element_of_pred< It, T > is_element_of (It b, It e, const T *)
 creator function for is_element_of_pred<It,T>. More...

is_element_of_pred< typename
Cont::const_iterator, typename
Cont::value_type > 
is_element_of (const Cont &c)
 creator function for is_element_of_pred<It,T>. More...


Detailed Description

template<class It, class T>
class is_element_of_pred< It, T >

Predicate class for testing if .

Template parameters:

Todo:
T could be derived from It (T == iterator_traits<It>::value_type)

Definition at line 73 of file set-primitives.h.


Member Typedef Documentation

template<class It, class T>
typedef T is_element_of_pred::argument_type
 

Definition at line 81 of file set-primitives.h.

template<class It, class T>
typedef bool is_element_of_pred::result_type
 

Definition at line 82 of file set-primitives.h.


Constructor & Destructor Documentation

template<class It, class T>
is_element_of_pred< It, T >::is_element_of_pred It    b,
It    e
[inline]
 

Definition at line 79 of file set-primitives.h.


Member Function Documentation

template<class It, class T>
bool is_element_of_pred< It, T >::operator() const T &    t const [inline]
 

returns false std::find(begin,end,t) == end.

Definition at line 86 of file set-primitives.h.


The documentation for this class was generated from the following file:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 15:57:16 2002 for Sequence by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000