ROOT 6.16/01 Reference Guide |
Iterates over the bins of a RHist or RHistImpl.
Definition at line 97 of file RHistBinIter.hxx.
Public Types | |
using | Ptr_t = RHistBinPtr< HISTIMPL > |
using | Ref_t = RHistBinRef< HISTIMPL > |
Public Member Functions | |
RHistBinIter (HISTIMPL &hist) | |
Construct a RHistBinIter from a histogram. More... | |
RHistBinIter (HISTIMPL &hist, size_t idx) | |
Construct a RHistBinIter from a histogram, setting the current index. More... | |
Value access | |
Ref_t | operator* () const noexcept |
Ptr_t | operator-> () const noexcept |
Public Member Functions inherited from ROOT::Experimental::Internal::TIndexIter< RHistBinRef< HISTIMPL >, RHistBinPtr< HISTIMPL > > | |
TIndexIter (size_t idx) | |
size_t | GetIndex () const noexcept |
Get the current index value. More... | |
TIndexIter & | operator++ () noexcept |
TIndexIter | operator++ (int) noexcept |
i++ More... | |
TIndexIter & | operator-- () noexcept |
–i More... | |
TIndexIter | operator-- (int) noexcept |
TIndexIter & | operator+= (int d) noexcept |
TIndexIter & | operator-= (int d) noexcept |
TIndexIter | operator+ (int d) noexcept |
TIndexIter | operator- (int d) noexcept |
Private Types | |
using | IndexIter_t = Internal::TIndexIter< RHistBinRef< HISTIMPL >, RHistBinPtr< HISTIMPL > > |
Private Attributes | |
HISTIMPL & | fHist |
The histogram we iterate over. More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from ROOT::Experimental::Internal::TIndexIter< RHistBinRef< HISTIMPL >, RHistBinPtr< HISTIMPL > > | |
static constexpr size_t | fgEndIndex |
#include <ROOT/RHistBinIter.hxx>
|
private |
Definition at line 103 of file RHistBinIter.hxx.
using ROOT::Experimental::Detail::RHistBinIter< HISTIMPL >::Ptr_t = RHistBinPtr<HISTIMPL> |
Definition at line 100 of file RHistBinIter.hxx.
using ROOT::Experimental::Detail::RHistBinIter< HISTIMPL >::Ref_t = RHistBinRef<HISTIMPL> |
Definition at line 99 of file RHistBinIter.hxx.
|
inline |
Construct a RHistBinIter from a histogram.
Definition at line 109 of file RHistBinIter.hxx.
|
inline |
Construct a RHistBinIter from a histogram, setting the current index.
Definition at line 112 of file RHistBinIter.hxx.
|
inlinenoexcept |
Definition at line 116 of file RHistBinIter.hxx.
|
inlinenoexcept |
Definition at line 118 of file RHistBinIter.hxx.
|
private |
The histogram we iterate over.
Definition at line 105 of file RHistBinIter.hxx.