ATLAS Offline Software
Public Types | List of all members
SG::HandleClassifier< T > Struct Template Reference

Helper to classify the type of a handle property. More...

#include <HandleClassifier.h>

Collaboration diagram for SG::HandleClassifier< T >:

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
 

Detailed Description

template<class T>
struct SG::HandleClassifier< T >

Helper to classify the type of a handle property.

type is one of the following:

Definition at line 41 of file HandleClassifier.h.

Member Typedef Documentation

◆ type

template<class T >
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.

◆ type1

template<class T >
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.

◆ type2

template<class T >
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.


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