GiNaC  1.6.2
Public Member Functions | Private Attributes
GiNaC::registered_class_options Class Reference

This class stores information about a registered GiNaC class. More...

#include <registrar.h>

List of all members.

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_optionsprint_func (void f(const T &, const C &c, unsigned))
template<class Ctx , class T , class C >
registered_class_optionsprint_func (void(T::*f)(const C &, unsigned))
template<class Ctx >
registered_class_optionsprint_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_functorprint_dispatch_table
 Method table for print() dispatch.

Detailed Description

This class stores information about a registered GiNaC class.

Definition at line 80 of file registrar.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

template<class Ctx , class T , class C >
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().

template<class Ctx , class T , class C >
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().

template<class Ctx >
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().


Member Data Documentation

Class name.

Definition at line 120 of file registrar.h.

Referenced by get_name().

Name of superclass.

Definition at line 121 of file registrar.h.

Referenced by get_parent_name().

std::type_info const* GiNaC::registered_class_options::tinfo_key [private]

Type information key.

Definition at line 122 of file registrar.h.

Referenced by get_id().

Method table for print() dispatch.

Definition at line 123 of file registrar.h.

Referenced by get_print_dispatch_table(), and set_print_func().


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.