Belle II Software development
|
Generic functor to get the superlayer id from an object. More...
#include <ISuperLayer.h>
Public Member Functions | |
operator FunctorTag () | |
Marker function for the isFunctor test. | |
template<class T , class SFINAE = decltype(&T::getISuperLayer)> | |
ISuperLayer | operator() (const T &t) const |
Returns the superlayer of an object. | |
template<class T , class SFINAE = decltype(std::declval<T>()->getISuperLayer())> | |
auto | operator() (const T &t) const -> decltype(t->getISuperLayer()) |
Returns the superlayer of a pointer. | |
Generic functor to get the superlayer id from an object.
Definition at line 27 of file ISuperLayer.h.
|
inline |
Returns the superlayer of an object.
Definition at line 33 of file ISuperLayer.h.
|
inline |
Returns the superlayer of a pointer.
Definition at line 40 of file ISuperLayer.h.