Random const_iterator through bins.
Represents the bin index, not a bin content: the axis has no notion of any content.
Public Types | |
using | difference_type = int |
using | iterator_category = std::random_access_iterator_tag |
using | pointer = const int * |
using | reference = const int & |
using | value_type = int |
Public Member Functions | |
const_iterator ()=default | |
const_iterator (int cursor) noexcept | |
Initialize a const_iterator with its position. | |
int | operator* () const noexcept |
const_iterator | operator+ (int d) noexcept |
const_iterator & | operator++ () noexcept |
++i | |
const_iterator | operator++ (int) noexcept |
i++ | |
const_iterator & | operator+= (int d) noexcept |
int | operator- (const const_iterator &j) noexcept |
const_iterator | operator- (int d) noexcept |
const_iterator & | operator-- () noexcept |
–i | |
const_iterator | operator-- (int) noexcept |
const_iterator & | operator-= (int d) noexcept |
const int * | operator-> () const noexcept |
int | operator[] (int d) noexcept |
Private Attributes | |
int | fCursor = 0 |
Current iteration position. | |
Friends | |
bool | operator!= (const_iterator lhs, const_iterator rhs) noexcept |
i != j | |
const_iterator | operator+ (int d, const_iterator rhs) noexcept |
2 + i | |
bool | operator< (const_iterator lhs, const_iterator rhs) noexcept |
i < j | |
bool | operator<= (const_iterator lhs, const_iterator rhs) noexcept |
i <= j | |
bool | operator== (const_iterator lhs, const_iterator rhs) noexcept |
i == j | |
bool | operator> (const_iterator lhs, const_iterator rhs) noexcept |
i > j | |
bool | operator>= (const_iterator lhs, const_iterator rhs) noexcept |
i >= j | |
#include <ROOT/RAxis.hxx>
using ROOT::Experimental::RAxisBase::const_iterator::iterator_category = std::random_access_iterator_tag |
using ROOT::Experimental::RAxisBase::const_iterator::pointer = const int * |
using ROOT::Experimental::RAxisBase::const_iterator::reference = const int & |
|
default |
|
inlineexplicitnoexcept |
Initialize a const_iterator with its position.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |