GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
combinations::iterator Class Reference

Detailed Description

Definition at line 8 of file combinations.h.

Public Member Functions

 iterator (std::vector< double > &points, size_t n, bool at_beginning)
 
bool operator!= (const iterator &other) const
 
std::vector< double > operator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (const iterator &other) const
 

Private Attributes

bool fPastEnd {false}
 
std::vector< double > & fPoints
 
std::vector< bool > fPointsUsed
 
+ Collaboration diagram for combinations::iterator:

Constructor & Destructor Documentation

◆ iterator()

combinations::iterator::iterator ( std::vector< double > & points,
size_t n,
bool at_beginning )
inline

Definition at line 10 of file combinations.h.

References fPastEnd, and fPointsUsed.

Member Function Documentation

◆ operator!=()

bool combinations::iterator::operator!= ( const iterator & other) const
inline

Definition at line 62 of file combinations.h.

◆ operator*()

std::vector< double > combinations::iterator::operator* ( ) const
inline

Definition at line 20 of file combinations.h.

References fPoints, and fPointsUsed.

◆ operator++() [1/2]

iterator & combinations::iterator::operator++ ( )
inline

Definition at line 31 of file combinations.h.

References fPastEnd, and fPointsUsed.

◆ operator++() [2/2]

iterator combinations::iterator::operator++ ( int )
inline

Definition at line 37 of file combinations.h.

◆ operator==()

bool combinations::iterator::operator== ( const iterator & other) const
inline

Definition at line 44 of file combinations.h.

References fPastEnd, fPoints, and fPointsUsed.

Member Data Documentation

◆ fPastEnd

bool combinations::iterator::fPastEnd {false}
private

Definition at line 67 of file combinations.h.

Referenced by iterator(), operator++(), and operator==().

◆ fPoints

std::vector<double>& combinations::iterator::fPoints
private

Definition at line 65 of file combinations.h.

Referenced by operator*(), and operator==().

◆ fPointsUsed

std::vector<bool> combinations::iterator::fPointsUsed
private

Definition at line 66 of file combinations.h.

Referenced by iterator(), operator*(), operator++(), and operator==().