Dip
0.92.4
|
Const Iterator. More...
#include <OsiCuts.hpp>
Public Types | |
typedef std::forward_iterator_tag | iterator_category |
typedef OsiCut * | value_type |
typedef size_t | difference_type |
typedef OsiCut ** | pointer |
typedef OsiCut *& | reference |
Public Member Functions | |
const_iterator (const OsiCuts &cuts) | |
const_iterator (const const_iterator &src) | |
const_iterator & | operator= (const const_iterator &rhs) |
~const_iterator () | |
const OsiCut * | operator* () const |
const_iterator | operator++ () |
const_iterator | operator++ (int) |
bool | operator== (const const_iterator &it) const |
bool | operator!= (const const_iterator &it) const |
bool | operator< (const const_iterator &it) const |
Private Member Functions | |
const_iterator () | |
const_iterator | begin () |
const_iterator | end () |
Private Attributes | |
const OsiCuts * | cutsPtr_ |
int | rowCutIndex_ |
int | colCutIndex_ |
const OsiCut * | cutP_ |
Friends | |
class | OsiCuts |
Const Iterator.
This is a class for iterating over the collection of cuts.
Definition at line 78 of file OsiCuts.hpp.
typedef std::forward_iterator_tag OsiCuts::const_iterator::iterator_category |
Definition at line 82 of file OsiCuts.hpp.
Definition at line 83 of file OsiCuts.hpp.
typedef size_t OsiCuts::const_iterator::difference_type |
Definition at line 84 of file OsiCuts.hpp.
typedef OsiCut** OsiCuts::const_iterator::pointer |
Definition at line 85 of file OsiCuts.hpp.
typedef OsiCut*& OsiCuts::const_iterator::reference |
Definition at line 86 of file OsiCuts.hpp.
OsiCuts::const_iterator::const_iterator | ( | const OsiCuts & | cuts | ) |
OsiCuts::const_iterator::const_iterator | ( | const const_iterator & | src | ) |
OsiCuts::const_iterator::~const_iterator | ( | ) |
|
inlineprivate |
const_iterator& OsiCuts::const_iterator::operator= | ( | const const_iterator & | rhs | ) |
|
inline |
Definition at line 93 of file OsiCuts.hpp.
References cutP_.
const_iterator OsiCuts::const_iterator::operator++ | ( | ) |
|
inline |
Definition at line 97 of file OsiCuts.hpp.
|
inline |
Definition at line 104 of file OsiCuts.hpp.
References colCutIndex_, and rowCutIndex_.
|
inline |
Definition at line 109 of file OsiCuts.hpp.
|
inline |
Definition at line 114 of file OsiCuts.hpp.
References colCutIndex_, and rowCutIndex_.
|
private |
Referenced by OsiCuts::begin().
|
private |
Referenced by OsiCuts::end().
|
friend |
Definition at line 79 of file OsiCuts.hpp.
|
private |
Definition at line 124 of file OsiCuts.hpp.
|
private |
Definition at line 125 of file OsiCuts.hpp.
Referenced by operator<(), and operator==().
|
private |
Definition at line 126 of file OsiCuts.hpp.
Referenced by operator<(), and operator==().
|
private |
Definition at line 127 of file OsiCuts.hpp.
Referenced by operator*().