GiNaC  1.6.2
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Member Functions | Private Attributes | Static Private Attributes
GiNaC::class_info< OPT > Class Template Reference

#include <class_info.h>

List of all members.

Classes

struct  tree_node

Public Member Functions

 class_info (const OPT &o)
class_infoget_parent () const
 Get pointer to class_info of parent class (or NULL).

Static Public Member Functions

static const class_infofind (const std::string &class_name)
 Find class_info by name.
static void dump_hierarchy (bool verbose=false)
 Dump class hierarchy to std::cout.

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_infonext
class_infoparent

Static Private Attributes

static class_infofirst = NULL
static bool parents_identified = false

Detailed Description

template<class OPT>
class GiNaC::class_info< OPT >

Definition at line 41 of file class_info.h.


Constructor & Destructor Documentation

template<class OPT >
GiNaC::class_info< OPT >::class_info ( const OPT &  o) [inline]

Member Function Documentation

template<class OPT >
class_info* GiNaC::class_info< OPT >::get_parent ( ) const [inline]
template<class OPT >
const class_info< OPT > * GiNaC::class_info< OPT >::find ( const std::string &  class_name) [static]
template<class OPT >
void GiNaC::class_info< OPT >::dump_hierarchy ( bool  verbose = false) [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().

template<class OPT >
void GiNaC::class_info< OPT >::dump_tree ( tree_node n,
const std::string &  prefix,
bool  verbose 
) [static, private]
template<class OPT >
void GiNaC::class_info< OPT >::identify_parents ( ) [static, private]

Definition at line 177 of file class_info.h.

References GiNaC::class_info< OPT >::next.

Referenced by GiNaC::class_info< OPT >::get_parent().


Member Data Documentation

template<class OPT >
OPT GiNaC::class_info< OPT >::options
template<class OPT >
class_info< OPT > * GiNaC::class_info< OPT >::first = NULL [static, private]

Definition at line 76 of file class_info.h.

Referenced by GiNaC::class_info< OPT >::class_info().

template<class OPT >
class_info* GiNaC::class_info< OPT >::next [private]
template<class OPT >
class_info* GiNaC::class_info< OPT >::parent [mutable, private]

Definition at line 78 of file class_info.h.

Referenced by GiNaC::class_info< OPT >::get_parent().

template<class OPT >
bool GiNaC::class_info< OPT >::parents_identified = false [static, private]

Definition at line 80 of file class_info.h.

Referenced by GiNaC::class_info< OPT >::class_info().


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.