GiNaC 1.8.7
|
#include <class_info.h>
Classes | |
struct | tree_node |
Public Member Functions | |
class_info (const OPT &o) | |
class_info * | get_parent () const |
Get pointer to class_info of parent class (or nullptr). More... | |
Static Public Member Functions | |
static const class_info * | find (const std::string &class_name) |
Find class_info by name. More... | |
static void | dump_hierarchy (bool verbose=false) |
Dump class hierarchy to std::cout. More... | |
Public Attributes | |
OPT | options |
Static Private Member Functions | |
static void | dump_tree (tree_node *n, const std::string &prefix, bool verbose) |
static void | identify_parents () |
Private Attributes | |
class_info * | next |
class_info * | parent |
Static Private Attributes | |
static class_info * | first = nullptr |
static bool | parents_identified = false |
Definition at line 41 of file class_info.h.
|
inline |
Definition at line 43 of file class_info.h.
References GiNaC::class_info< OPT >::first, and GiNaC::class_info< OPT >::parents_identified.
|
inline |
Get pointer to class_info of parent class (or nullptr).
Definition at line 50 of file class_info.h.
References GiNaC::class_info< OPT >::identify_parents(), and GiNaC::class_info< OPT >::parent.
Referenced by GiNaC::class_info< OPT >::dump_hierarchy(), GiNaC::function::print(), and GiNaC::basic::print_dispatch().
|
static |
Find class_info by name.
Definition at line 84 of file class_info.h.
References GiNaC::class_info< OPT >::find(), GiNaC::class_info< OPT >::next, and GiNaC::class_info< OPT >::options.
Referenced by GiNaC::class_info< OPT >::find().
|
static |
Dump class hierarchy to std::cout.
Definition at line 148 of file class_info.h.
References GiNaC::class_info< OPT >::get_parent(), GiNaC::class_info< OPT >::next, and GiNaC::tree().
|
staticprivate |
Definition at line 111 of file class_info.h.
References n.
|
staticprivate |
Definition at line 177 of file class_info.h.
References GiNaC::class_info< OPT >::next.
Referenced by GiNaC::class_info< OPT >::get_parent().
OPT GiNaC::class_info< OPT >::options |
Definition at line 62 of file class_info.h.
Referenced by GiNaC::class_info< OPT >::find(), GiNaC::function::print(), and GiNaC::basic::print_dispatch().
|
staticprivate |
Definition at line 76 of file class_info.h.
Referenced by GiNaC::class_info< OPT >::class_info().
|
private |
Definition at line 77 of file class_info.h.
Referenced by GiNaC::class_info< OPT >::dump_hierarchy(), GiNaC::class_info< OPT >::find(), and GiNaC::class_info< OPT >::identify_parents().
|
mutableprivate |
Definition at line 78 of file class_info.h.
Referenced by GiNaC::class_info< OPT >::get_parent().
|
staticprivate |
Definition at line 80 of file class_info.h.
Referenced by GiNaC::class_info< OPT >::class_info().