ROOT  6.06/09
Reference Guide
Public Member Functions | Private Attributes | Friends | List of all members
ROOT::TAxisBase::const_iterator Class Reference

Random const_iterator through bins.

Represents the bin index, not a bin content: the axis has no notion of any content.

Definition at line 81 of file TAxis.h.

Public Member Functions

 const_iterator ()=default
 
 const_iterator (int cursor) noexcept
 Initialize a const_iterator with its position. More...
 
const_iteratoroperator++ () noexcept
 ++i More...
 
const_iteratoroperator-- () noexcept
 –i More...
 
const_iterator operator++ (int) noexcept
 i++ More...
 
const_iterator operator-- (int) noexcept
 
const_iteratoroperator+= (int d) noexcept
 
const_iteratoroperator-= (int d) noexcept
 
const_iterator operator+ (int d) noexcept
 
const_iterator operator- (int d) noexcept
 
const int * operator* () const noexcept
 
int operator-> () const noexcept
 

Private Attributes

int fCursor = 0
 Current iteration position. More...
 

Friends

bool operator< (const_iterator lhs, const_iterator rhs) noexcept
 i < j More...
 
bool operator> (const_iterator lhs, const_iterator rhs) noexcept
 i > j More...
 
bool operator<= (const_iterator lhs, const_iterator rhs) noexcept
 i <= j More...
 
bool operator>= (const_iterator lhs, const_iterator rhs) noexcept
 i >= j More...
 
bool operator== (const_iterator lhs, const_iterator rhs) noexcept
 i == j More...
 
bool operator!= (const_iterator lhs, const_iterator rhs) noexcept
 i != j More...
 

#include <ROOT/TAxis.h>

+ Inheritance diagram for ROOT::TAxisBase::const_iterator:
+ Collaboration diagram for ROOT::TAxisBase::const_iterator:

Constructor & Destructor Documentation

ROOT::TAxisBase::const_iterator::const_iterator ( )
default
ROOT::TAxisBase::const_iterator::const_iterator ( int  cursor)
inlineexplicitnoexcept

Initialize a const_iterator with its position.

Definition at line 90 of file TAxis.h.

Member Function Documentation

const int* ROOT::TAxisBase::const_iterator::operator* ( ) const
inlinenoexcept

Definition at line 147 of file TAxis.h.

const_iterator ROOT::TAxisBase::const_iterator::operator+ ( int  d)
inlinenoexcept

Definition at line 133 of file TAxis.h.

const_iterator& ROOT::TAxisBase::const_iterator::operator++ ( )
inlinenoexcept

++i

Definition at line 93 of file TAxis.h.

const_iterator ROOT::TAxisBase::const_iterator::operator++ ( int  )
inlinenoexcept

i++

Definition at line 107 of file TAxis.h.

const_iterator& ROOT::TAxisBase::const_iterator::operator+= ( int  d)
inlinenoexcept

Definition at line 121 of file TAxis.h.

const_iterator ROOT::TAxisBase::const_iterator::operator- ( int  d)
inlinenoexcept

Definition at line 140 of file TAxis.h.

const_iterator& ROOT::TAxisBase::const_iterator::operator-- ( )
inlinenoexcept

–i

Definition at line 100 of file TAxis.h.

const_iterator ROOT::TAxisBase::const_iterator::operator-- ( int  )
inlinenoexcept

Definition at line 114 of file TAxis.h.

const_iterator& ROOT::TAxisBase::const_iterator::operator-= ( int  d)
inlinenoexcept

Definition at line 127 of file TAxis.h.

int ROOT::TAxisBase::const_iterator::operator-> ( ) const
inlinenoexcept

Definition at line 149 of file TAxis.h.

Friends And Related Function Documentation

i != j

Definition at line 258 of file TAxis.h.

bool operator< ( TAxisBase::const_iterator  lhs,
TAxisBase::const_iterator  rhs 
)
friend

i < j

Definition at line 228 of file TAxis.h.

bool operator<= ( TAxisBase::const_iterator  lhs,
TAxisBase::const_iterator  rhs 
)
friend

i <= j

Definition at line 240 of file TAxis.h.

bool operator== ( TAxisBase::const_iterator  lhs,
TAxisBase::const_iterator  rhs 
)
friend

i == j

Definition at line 252 of file TAxis.h.

bool operator> ( TAxisBase::const_iterator  lhs,
TAxisBase::const_iterator  rhs 
)
friend

i > j

Definition at line 234 of file TAxis.h.

bool operator>= ( TAxisBase::const_iterator  lhs,
TAxisBase::const_iterator  rhs 
)
friend

i >= j

Definition at line 246 of file TAxis.h.

Member Data Documentation

int ROOT::TAxisBase::const_iterator::fCursor = 0
private

Current iteration position.

Definition at line 85 of file TAxis.h.

Referenced by operator*(), operator++(), operator--(), and operator->().


The documentation for this class was generated from the following file: