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

lyx::equal_1st_in_pair Class Template Reference

#include <lyxfunctional.h>

List of all members.

Public Types

typedef T::first_type first_type
typedef T pair_type

Public Methods

 equal_1st_in_pair (first_type const &value)
bool operator() (pair_type const &p) const

Private Attributes

first_type const & value_

template<typename T>
class lyx::equal_1st_in_pair< T >


Member Typedef Documentation

template<typename T>
typedef T::first_type lyx::equal_1st_in_pair::first_type
 

Definition at line 180 of file lyxfunctional.h.

Referenced by equal_1st_in_pair.

template<typename T>
typedef T lyx::equal_1st_in_pair::pair_type
 

Definition at line 182 of file lyxfunctional.h.

Referenced by operator().


Constructor & Destructor Documentation

template<typename T>
lyx::equal_1st_in_pair< T >::equal_1st_in_pair first_type const &    value [inline]
 

Definition at line 184 of file lyxfunctional.h.

References first_type, and value_.

00184 : value_(value) {}


Member Function Documentation

template<typename T>
bool lyx::equal_1st_in_pair< T >::operator() pair_type const &    p const [inline]
 

Definition at line 186 of file lyxfunctional.h.

References pair_type, and value_.

00186                                                     {
00187                 return p.first == value_;
00188         }


Member Data Documentation

template<typename T>
first_type const& lyx::equal_1st_in_pair::value_ [private]
 

Definition at line 191 of file lyxfunctional.h.

Referenced by equal_1st_in_pair, and operator().


The documentation for this class was generated from the following file:
Generated on Fri Jul 18 01:19:06 2003 for lyx by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002