Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Private Attributes | Friends | List of all members
ROOT::Experimental::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 91 of file TAxis.hxx.

Public Member Functions

 const_iterator ()=default
 
 const_iterator (int cursor) noexcept
 Initialize a const_iterator with its position. More...
 
const int * operator* () const noexcept
 
const_iterator operator+ (int d) noexcept
 
const_iteratoroperator++ () noexcept
 ++i More...
 
const_iterator operator++ (int) noexcept
 i++ More...
 
const_iteratoroperator+= (int d) noexcept
 
const_iterator operator- (int d) noexcept
 
const_iteratoroperator-- () noexcept
 –i More...
 
const_iterator operator-- (int) noexcept
 
const_iteratoroperator-= (int d) 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.hxx>

Inheritance diagram for ROOT::Experimental::TAxisBase::const_iterator:
[legend]

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

ROOT::Experimental::TAxisBase::const_iterator::const_iterator ( )
default

◆ const_iterator() [2/2]

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

Initialize a const_iterator with its position.

Definition at line 99 of file TAxis.hxx.

Member Function Documentation

◆ operator*()

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

Definition at line 164 of file TAxis.hxx.

◆ operator+()

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

Definition at line 148 of file TAxis.hxx.

◆ operator++() [1/2]

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

++i

Definition at line 102 of file TAxis.hxx.

◆ operator++() [2/2]

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

i++

Definition at line 118 of file TAxis.hxx.

◆ operator+=()

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

Definition at line 134 of file TAxis.hxx.

◆ operator-()

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

Definition at line 156 of file TAxis.hxx.

◆ operator--() [1/2]

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

–i

Definition at line 110 of file TAxis.hxx.

◆ operator--() [2/2]

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

Definition at line 126 of file TAxis.hxx.

◆ operator-=()

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

Definition at line 141 of file TAxis.hxx.

◆ operator->()

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

Definition at line 167 of file TAxis.hxx.

Friends And Related Function Documentation

◆ operator!=

i != j

Definition at line 287 of file TAxis.hxx.

◆ operator<

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

i < j

Definition at line 257 of file TAxis.hxx.

◆ operator<=

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

i <= j

Definition at line 269 of file TAxis.hxx.

◆ operator==

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

i == j

Definition at line 281 of file TAxis.hxx.

◆ operator>

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

i > j

Definition at line 263 of file TAxis.hxx.

◆ operator>=

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

i >= j

Definition at line 275 of file TAxis.hxx.

Member Data Documentation

◆ fCursor

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

Current iteration position.

Definition at line 93 of file TAxis.hxx.

Libraries for ROOT::Experimental::TAxisBase::const_iterator:
[legend]

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