CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
enroller_helper Namespace Reference

Classes

struct  Enrollment
 

Functions

template<class T >
static void enroll (SimActivityRegistry &iReg, T *iT)
 
template<class T , class F , class... TVector>
static void enroll (SimActivityRegistry &iReg, T *iT)
 

Function Documentation

template<class T >
static void enroller_helper::enroll ( SimActivityRegistry iReg,
T iT 
)
static

Definition at line 33 of file SimActivityRegistryEnroller.h.

Referenced by enroll(), and SimActivityRegistryEnroller::enroll().

33 {}
template<class T , class F , class... TVector>
static void enroller_helper::enroll ( SimActivityRegistry iReg,
T iT 
)
static

Definition at line 36 of file SimActivityRegistryEnroller.h.

References enroller_helper::Enrollment< T >::enroll(), and enroll().

36  {
37  //Try to enroll the object if it inherits from the class at the
38  // start of TVector
39  Enrollment<F>::enroll(iReg, iT);
40  enroll<T, TVector...>(iReg, iT);
41  }
static void enroll(SimActivityRegistry &iReg, T *iT)
long double T