9 #ifndef ThePEG_TypeInfo_H 10 #define ThePEG_TypeInfo_H 12 #include "DescriptionList.h" 23 static string name(
const T &)
26 if ( cd )
return cd->
name();
27 return "**** CLASS NOT REGISTERED ****";
ClassDescriptionBase is the base class for all class description classes.
static const ClassDescriptionBase * find(const type_info &ti)
Get the description of a class giving its type_info object.
TypeInfo is a simple wrapper around the ClassDescription system in ThePEG.
This is the main namespace within which all identifiers in ThePEG are declared.
static int version(const T &)
Return the version number of the class of the given object.
int version() const
The version of the described class.
static string name(const T &)
Return the name of the class of the given object.
const string & name() const
Return name.