ThePEG::TypeInfo Struct Reference

TypeInfo is a simple wrapper around the ClassDescription system in ThePEG. More...

#include <TypeInfo.h>

List of all members.

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.


Detailed Description

TypeInfo is a simple wrapper around the ClassDescription system in ThePEG.

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.


Member Function Documentation

template<typename T>
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().

template<typename T>
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().


The documentation for this struct was generated from the following file:

Generated on Thu Apr 29 12:43:25 2010 for ThePEG by  doxygen 1.5.5