ATLAS Offline Software
|
Helper to classify the type of a handle property. More...
#include <HandleClassifier.h>
Public Types | |
typedef std::conditional< std::is_base_of< SG::VarHandleBase, T >::value, VarHandleType, NotHandleType >::type | type1 |
typedef std::conditional< std::is_base_of< SG::VarHandleKey, T >::value, VarHandleKeyType, type1 >::type | type2 |
typedef std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type | type |
Helper to classify the type of a handle property.
type is one of the following:
VarHandleType
, if T
derives from VarHandleBase
.VarHandleKeyType
, if T
derives from VarHandleKey
.VarHandleKeyArrayType
, if T
derives from VarHandleKeyArray
.NotHandleType
otherwise. Definition at line 41 of file HandleClassifier.h.
typedef std::conditional<std::is_base_of<SG::VarHandleKeyArray, T>::value, VarHandleKeyArrayType, type2>::type SG::HandleClassifier< T >::type |
Definition at line 54 of file HandleClassifier.h.
typedef std::conditional<std::is_base_of<SG::VarHandleBase, T>::value, VarHandleType, NotHandleType>::type SG::HandleClassifier< T >::type1 |
Definition at line 45 of file HandleClassifier.h.
typedef std::conditional<std::is_base_of<SG::VarHandleKey, T>::value, VarHandleKeyType, type1>::type SG::HandleClassifier< T >::type2 |
Definition at line 49 of file HandleClassifier.h.