frepple::Problem::const_iterator Class Reference
This class models an STL-like iterator that allows us to iterate over the named entities in a simple and safe way. More...
#include <model.h>
Public Member Functions | |
const_iterator () | |
const_iterator (Problem *o) | |
const_iterator (HasProblems *o) | |
bool | operator!= (const const_iterator &t) const |
Problem & | operator* () const |
const_iterator & | operator++ () |
Problem * | operator-> () const |
bool | operator== (const const_iterator &t) const |
Friends | |
class | Problem |
Detailed Description
This class models an STL-like iterator that allows us to iterate over the named entities in a simple and safe way.
Objects of this class are returned by the begin() and end() functions.
- See also:
- Problem::begin()
- Problem::begin(HasProblem*)
- Problem::end()
Definition at line 5661 of file model.h.
Constructor & Destructor Documentation
frepple::Problem::const_iterator::const_iterator | ( | HasProblems * | o | ) | [inline, explicit] |
frepple::Problem::const_iterator::const_iterator | ( | Problem * | o | ) | [inline, explicit] |
frepple::Problem::const_iterator::const_iterator | ( | ) | [inline, explicit] |
Member Function Documentation
bool frepple::Problem::const_iterator::operator!= | ( | const const_iterator & | t | ) | const [inline] |
Problem& frepple::Problem::const_iterator::operator* | ( | ) | const [inline] |
Problem::const_iterator & frepple::Problem::const_iterator::operator++ | ( | ) |
Pre-increment operator.
Definition at line 493 of file problem.cpp.
Problem* frepple::Problem::const_iterator::operator-> | ( | ) | const [inline] |
bool frepple::Problem::const_iterator::operator== | ( | const const_iterator & | t | ) | const [inline] |
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
Documentation generated for frePPLe by
