GiNaC 1.8.7
Public Types | Public Member Functions | Private Attributes | List of all members
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

Public Types

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

Public Member Functions

 print_memfun_handler (F f_)
 
print_memfun_handlerduplicate () const override
 
void operator() (const basic &obj, const print_context &c, unsigned level) const override
 
- Public Member Functions inherited from GiNaC::print_functor_impl
virtual ~print_functor_impl ()
 
virtual print_functor_implduplicate () const =0
 
virtual void operator() (const basic &obj, const print_context &c, unsigned level) const =0
 

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 225 of file print.h.

Member Typedef Documentation

◆ F

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

Definition at line 227 of file print.h.

Constructor & Destructor Documentation

◆ print_memfun_handler()

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

Definition at line 229 of file print.h.

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

Member Function Documentation

◆ duplicate()

template<class T , class C >
print_memfun_handler * GiNaC::print_memfun_handler< T, C >::duplicate ( ) const
inlineoverridevirtual

◆ operator()()

template<class T , class C >
void GiNaC::print_memfun_handler< T, C >::operator() ( const basic obj,
const print_context c,
unsigned  level 
) const
inlineoverridevirtual

Implements GiNaC::print_functor_impl.

Definition at line 232 of file print.h.

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

Member Data Documentation

◆ f

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

Definition at line 239 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.