#include <TypeInfo.h>
Static Public Member Functions | |
template<typename T> | |
static string | name (const T &) |
Return the name of the class of the given object. | |
template<typename T> | |
static int | version (const T &) |
Return the version number of the class of the given object. |
Defines a few static functions for returning the mane and version of the class given objects of that class.
Definition at line 19 of file TypeInfo.h.
static string ThePEG::TypeInfo::name | ( | const T & | ) | [inline, static] |
Return the name of the class of the given object.
Definition at line 23 of file TypeInfo.h.
References ThePEG::find(), and ThePEG::Named::name().
static int ThePEG::TypeInfo::version | ( | const T & | ) | [inline, static] |
Return the version number of the class of the given object.
Definition at line 32 of file TypeInfo.h.
References ThePEG::find(), and ThePEG::ClassDescriptionBase::version().