GiNaC  1.6.2
Public Types | Public Member Functions | Private Attributes
GiNaC::print_memfun_handler< T, C > Class Template Reference

print_functor handler for member functions of class T, context type C More...

#include <print.h>

Inheritance diagram for GiNaC::print_memfun_handler< T, C >:
GiNaC::print_functor_impl

List of all members.

Public Types

typedef void(T::* F )(const C &c, unsigned level) const

Public Member Functions

 print_memfun_handler (F f_)
print_memfun_handlerduplicate () const
void operator() (const basic &obj, const print_context &c, unsigned level) const

Private Attributes

F f

Detailed Description

template<class T, class C>
class GiNaC::print_memfun_handler< T, C >

print_functor handler for member functions of class T, context type C

Definition at line 216 of file print.h.


Member Typedef Documentation

template<class T , class C >
typedef void(T::* GiNaC::print_memfun_handler< T, C >::F)(const C &c, unsigned level) const

Definition at line 218 of file print.h.


Constructor & Destructor Documentation

template<class T , class C >
GiNaC::print_memfun_handler< T, C >::print_memfun_handler ( F  f_) [inline]

Definition at line 220 of file print.h.

Referenced by GiNaC::print_memfun_handler< T, C >::duplicate().


Member Function Documentation

template<class T , class C >
print_memfun_handler* GiNaC::print_memfun_handler< T, C >::duplicate ( ) const [inline, virtual]
template<class T , class C >
void GiNaC::print_memfun_handler< T, C >::operator() ( const basic obj,
const print_context c,
unsigned  level 
) const [inline, virtual]

Implements GiNaC::print_functor_impl.

Definition at line 223 of file print.h.

References c, and GiNaC::print_memfun_handler< T, C >::f.


Member Data Documentation

template<class T , class C >
F GiNaC::print_memfun_handler< T, C >::f [private]

Definition at line 230 of file print.h.

Referenced by GiNaC::print_memfun_handler< T, C >::operator()().


The documentation for this class was generated from the following file:

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.