Cbc  2.9.9
 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 74 of file OsiCuts.hpp.

Member Typedef Documentation

typedef std::forward_iterator_tag OsiCuts::const_iterator::iterator_category

Definition at line 77 of file OsiCuts.hpp.

Definition at line 78 of file OsiCuts.hpp.

Definition at line 79 of file OsiCuts.hpp.

Definition at line 80 of file OsiCuts.hpp.

Definition at line 81 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 88 of file OsiCuts.hpp.

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

Definition at line 92 of file OsiCuts.hpp.

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

Definition at line 99 of file OsiCuts.hpp.

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

Definition at line 103 of file OsiCuts.hpp.

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

Definition at line 107 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 75 of file OsiCuts.hpp.

Member Data Documentation

const OsiCuts* OsiCuts::const_iterator::cutsPtr_

Definition at line 115 of file OsiCuts.hpp.

int OsiCuts::const_iterator::rowCutIndex_

Definition at line 116 of file OsiCuts.hpp.

int OsiCuts::const_iterator::colCutIndex_

Definition at line 117 of file OsiCuts.hpp.

const OsiCut* OsiCuts::const_iterator::cutP_

Definition at line 118 of file OsiCuts.hpp.

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