ATLAS Offline Software
|
Calculate topmost base accessible via SG_BASES. More...
#include <TopBase.h>
Public Types | |
typedef SG::Bases< T >::bases::Base1 | Base1 |
typedef std::conditional< has_base, typename TopBase< Base1 >::type, T >::type | type |
Static Public Attributes | |
static const bool | has_base = !std::is_same<Base1, SG::NoBase>::value |
Calculate topmost base accessible via SG_BASES.
For example, if we have
then TopBase<C1>::type, TopBase<C2>::type, and TopBase<C3>::type all yield C1
.
typedef SG::Bases<T>::bases::Base1 SG::TopBase< T >::Base1 |
|
static |