ATLAS Offline Software
Static Public Member Functions | List of all members
RootUtils::PyROOTIteratorFuncs< T > Class Template Reference

Provide functions for iterator comparisons. More...

#include <PyROOTIteratorFuncs.h>

Collaboration diagram for RootUtils::PyROOTIteratorFuncs< T >:

Static Public Member Functions

static bool eq (T a, T b)
 Equality comparisons. All iterators have this. More...
 
static bool ne (T a, T b)
 
static std::enable_if< std::is_base_of_v< std::random_access_iterator_tag, typename std::iterator_traits< T >::iterator_category >, bool >::type lt (T a, T b)
 Ordering comparison. Only supported by random access iterators. More...
 

Detailed Description

template<class T>
class RootUtils::PyROOTIteratorFuncs< T >

Provide functions for iterator comparisons.

Definition at line 45 of file PyROOTIteratorFuncs.h.

Member Function Documentation

◆ eq()

template<class T >
static bool RootUtils::PyROOTIteratorFuncs< T >::eq ( a,
b 
)
inlinestatic

Equality comparisons. All iterators have this.

Definition at line 49 of file PyROOTIteratorFuncs.h.

49 { return a == b; }

◆ lt()

template<class T >
static std::enable_if< std::is_base_of_v<std::random_access_iterator_tag, typename std::iterator_traits<T>::iterator_category>, bool>::type RootUtils::PyROOTIteratorFuncs< T >::lt ( a,
b 
)
inlinestatic

Ordering comparison. Only supported by random access iterators.

Definition at line 59 of file PyROOTIteratorFuncs.h.

59 { return a < b; }

◆ ne()

template<class T >
static bool RootUtils::PyROOTIteratorFuncs< T >::ne ( a,
b 
)
inlinestatic

Definition at line 50 of file PyROOTIteratorFuncs.h.

50 { return a != b; }

The documentation for this class was generated from the following file:
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10