|
GiNaC
1.6.2
|
This class stores information about a registered GiNaC class. More...
#include <registrar.h>
Public Member Functions | |
| registered_class_options (const char *n, const char *p, const std::type_info &ti) | |
| const char * | get_name () const |
| const char * | get_parent_name () const |
| std::type_info const * | get_id () const |
| const std::vector < print_functor > & | get_print_dispatch_table () const |
| template<class Ctx , class T , class C > | |
| registered_class_options & | print_func (void f(const T &, const C &c, unsigned)) |
| template<class Ctx , class T , class C > | |
| registered_class_options & | print_func (void(T::*f)(const C &, unsigned)) |
| template<class Ctx > | |
| registered_class_options & | print_func (const print_functor &f) |
| void | set_print_func (unsigned id, const print_functor &f) |
Private Attributes | |
| const char * | name |
| Class name. | |
| const char * | parent_name |
| Name of superclass. | |
| std::type_info const * | tinfo_key |
| Type information key. | |
| std::vector< print_functor > | print_dispatch_table |
| Method table for print() dispatch. | |
This class stores information about a registered GiNaC class.
Definition at line 80 of file registrar.h.
| GiNaC::registered_class_options::registered_class_options | ( | const char * | n, |
| const char * | p, | ||
| const std::type_info & | ti | ||
| ) | [inline] |
Definition at line 82 of file registrar.h.
| const char* GiNaC::registered_class_options::get_name | ( | ) | const [inline] |
Definition at line 86 of file registrar.h.
References name.
| const char* GiNaC::registered_class_options::get_parent_name | ( | ) | const [inline] |
Definition at line 87 of file registrar.h.
References parent_name.
| std::type_info const* GiNaC::registered_class_options::get_id | ( | ) | const [inline] |
Definition at line 88 of file registrar.h.
References tinfo_key.
| const std::vector<print_functor>& GiNaC::registered_class_options::get_print_dispatch_table | ( | ) | const [inline] |
Definition at line 89 of file registrar.h.
References print_dispatch_table.
| registered_class_options& GiNaC::registered_class_options::print_func | ( | void | fconst T &, const C &c, unsigned | ) | [inline] |
Definition at line 92 of file registrar.h.
References options, and set_print_func().
| registered_class_options& GiNaC::registered_class_options::print_func | ( | void(T::*)(const C &, unsigned) | f | ) | [inline] |
Definition at line 99 of file registrar.h.
References options, and set_print_func().
| registered_class_options& GiNaC::registered_class_options::print_func | ( | const print_functor & | f | ) | [inline] |
Definition at line 106 of file registrar.h.
References options, and set_print_func().
| void GiNaC::registered_class_options::set_print_func | ( | unsigned | id, |
| const print_functor & | f | ||
| ) | [inline] |
Definition at line 112 of file registrar.h.
References print_dispatch_table.
Referenced by print_func().
const char* GiNaC::registered_class_options::name [private] |
const char* GiNaC::registered_class_options::parent_name [private] |
std::type_info const* GiNaC::registered_class_options::tinfo_key [private] |
std::vector<print_functor> GiNaC::registered_class_options::print_dispatch_table [private] |
Method table for print() dispatch.
Definition at line 123 of file registrar.h.
Referenced by get_print_dispatch_table(), and set_print_func().