ThePEG::BaseClassTrait< Derived, BaseN > Struct Template Reference

BaseClassTraits describes the base classes of the templated class. More...

#include <ClassTraits.h>

Inheritance diagram for ThePEG::BaseClassTrait< Derived, BaseN >:

ThePEG::ClassTraitsType ThePEG::TraitsType

List of all members.

Public Types

typedef int NthBase
 The type of the BaseN'th base class (int means there are no further base classes).


Detailed Description

template<typename Derived, int BaseN>
struct ThePEG::BaseClassTrait< Derived, BaseN >

BaseClassTraits describes the base classes of the templated class.

BaseClassTraits should be specialized once for each base class of a class to be described. The specializations should contain a typedef so that BaseClassTraits<T>::NthBase is made an alias for the first base class of T, BaseClassTraits<T>::NthBase the second base class and so on. The typedef defaults to int which means no base class.

Definition at line 141 of file ClassTraits.h.


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