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

lyx::const_compare_memfun_t Class Template Reference

#include <lyxfunctional.h>

Collaboration diagram for lyx::const_compare_memfun_t:

Collaboration graph
[legend]
List of all members.

Public Methods

 const_compare_memfun_t (R(C::*p)() const, A const &a)
bool operator() (C const *c)
bool operator() (C const &c)

Private Attributes

R(C::* pmf )() const
A const & arg

template<class R, class C, class A>
class lyx::const_compare_memfun_t< R, C, A >


Constructor & Destructor Documentation

template<class R, class C, class A>
lyx::const_compare_memfun_t< R, C, A >::const_compare_memfun_t R(C::*    p)() const,
A const &    a
[inline]
 

Definition at line 143 of file lyxfunctional.h.

References arg, and pmf.

00144                 : pmf(p), arg(a) {}


Member Function Documentation

template<class R, class C, class A>
bool lyx::const_compare_memfun_t< R, C, A >::operator() C const &    c [inline]
 

Definition at line 148 of file lyxfunctional.h.

References arg, and pmf.

00148                                      {
00149                 return (c.*pmf)() == arg;
00150         }

template<class R, class C, class A>
bool lyx::const_compare_memfun_t< R, C, A >::operator() C const *    c [inline]
 

Definition at line 145 of file lyxfunctional.h.

References arg, and pmf.

00145                                      {
00146                 return (c->*pmf)() == arg;
00147         }


Member Data Documentation

template<class R, class C, class A>
A const& lyx::const_compare_memfun_t::arg [private]
 

Definition at line 153 of file lyxfunctional.h.

Referenced by const_compare_memfun_t, and operator().

template<class R, class C, class A>
R(C::* lyx::const_compare_memfun_t::pmf)() const [private]
 

Referenced by const_compare_memfun_t, 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