Cgl  0.60.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
OsiCuts::const_iterator Class Reference

Const Iterator. More...

#include <OsiCuts.hpp>

+ Collaboration diagram for OsiCuts::const_iterator:

Public Types

typedef std::forward_iterator_tag iterator_category
typedef OsiCutvalue_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_iteratoroperator= (const const_iterator &rhs)
 ~const_iterator ()
const OsiCutoperator* () 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 OsiCutscutsPtr_
int rowCutIndex_
int colCutIndex_
const OsiCutcutP_


class OsiCuts

Detailed Description

Const Iterator.

This is a class for iterating over the collection of cuts.

Definition at line 78 of file OsiCuts.hpp.

Member Typedef Documentation

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.

Definition at line 84 of file OsiCuts.hpp.

Definition at line 85 of file OsiCuts.hpp.

Definition at line 86 of file OsiCuts.hpp.

Constructor & Destructor Documentation

OsiCuts::const_iterator::const_iterator ( const OsiCuts cuts)
OsiCuts::const_iterator::const_iterator ( const const_iterator src)
OsiCuts::const_iterator::~const_iterator ( )
OsiCuts::const_iterator::const_iterator ( )

Member Function Documentation

const_iterator& OsiCuts::const_iterator::operator= ( const const_iterator rhs)
const OsiCut* OsiCuts::const_iterator::operator* ( ) const

Definition at line 93 of file OsiCuts.hpp.

const_iterator OsiCuts::const_iterator::operator++ ( )
const_iterator OsiCuts::const_iterator::operator++ ( int  )

Definition at line 97 of file OsiCuts.hpp.

bool OsiCuts::const_iterator::operator== ( const const_iterator it) const

Definition at line 104 of file OsiCuts.hpp.

bool OsiCuts::const_iterator::operator!= ( const const_iterator it) const

Definition at line 109 of file OsiCuts.hpp.

bool OsiCuts::const_iterator::operator< ( const const_iterator it) const

Definition at line 114 of file OsiCuts.hpp.

const_iterator OsiCuts::const_iterator::begin ( )
const_iterator OsiCuts::const_iterator::end ( )

Friends And Related Function Documentation

friend class OsiCuts

Definition at line 79 of file OsiCuts.hpp.

Member Data Documentation

const OsiCuts* OsiCuts::const_iterator::cutsPtr_

Definition at line 124 of file OsiCuts.hpp.

int OsiCuts::const_iterator::rowCutIndex_

Definition at line 125 of file OsiCuts.hpp.

int OsiCuts::const_iterator::colCutIndex_

Definition at line 126 of file OsiCuts.hpp.

const OsiCut* OsiCuts::const_iterator::cutP_

Definition at line 127 of file OsiCuts.hpp.

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