ATLAS Offline Software
Loading...
Searching...
No Matches
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.
static bool ne (T a, T b)
static std::enable_if< std::is_base_of_v< std::random_access_iterator_tag, typenamestd::iterator_traits< T >::iterator_category >, bool >::type lt (T a, T b)
 Ordering comparison. Only supported by random access iterators.

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>
bool RootUtils::PyROOTIteratorFuncs< T >::eq ( T a,
T b )
inlinestatic

Equality comparisons. All iterators have this.

Definition at line 49 of file PyROOTIteratorFuncs.h.

49{ return a == b; }
Provide functions for iterator comparisons.

◆ lt()

template<class T>
std::enable_if< std::is_base_of_v< std::random_access_iterator_tag, typenamestd::iterator_traits< T >::iterator_category >, bool >::type RootUtils::PyROOTIteratorFuncs< T >::lt ( T a,
T 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>
bool RootUtils::PyROOTIteratorFuncs< T >::ne ( T a,
T 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: