ROOT 6.08/07 Reference Guide |
Iterates over the bins of a THist or THistImpl.
Definition at line 101 of file THistBinIter.hxx.
Public Types | |
using | Ptr_t = THistBinPtr< HISTIMPL > |
using | Ref_t = THistBinRef< HISTIMPL > |
Public Member Functions | |
THistBinIter (HISTIMPL &hist) | |
Construct a THistBinIter from a histogram. More... | |
THistBinIter (HISTIMPL &hist, size_t idx) | |
Construct a THistBinIter 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< THistBinRef< HISTIMPL >, THistBinPtr< 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< THistBinRef< HISTIMPL >, THistBinPtr< HISTIMPL > > |
Private Attributes | |
HISTIMPL & | fHist |
The histogram we iterate over. More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from ROOT::Experimental::Internal::TIndexIter< THistBinRef< HISTIMPL >, THistBinPtr< HISTIMPL > > | |
static constexpr size_t | fgEndIndex |
#include <ROOT/THistBinIter.hxx>
|
private |
Definition at line 108 of file THistBinIter.hxx.
using ROOT::Experimental::Detail::THistBinIter< HISTIMPL >::Ptr_t = THistBinPtr<HISTIMPL> |
Definition at line 105 of file THistBinIter.hxx.
using ROOT::Experimental::Detail::THistBinIter< HISTIMPL >::Ref_t = THistBinRef<HISTIMPL> |
Definition at line 104 of file THistBinIter.hxx.
|
inline |
Construct a THistBinIter from a histogram.
Definition at line 114 of file THistBinIter.hxx.
|
inline |
Construct a THistBinIter from a histogram, setting the current index.
Definition at line 118 of file THistBinIter.hxx.
|
inlinenoexcept |
Definition at line 123 of file THistBinIter.hxx.
|
inlinenoexcept |
Definition at line 127 of file THistBinIter.hxx.
|
private |
The histogram we iterate over.
Definition at line 110 of file THistBinIter.hxx.