thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
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 >:

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 156 of file ClassTraits.h.


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