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>
List of all members.
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 5498 of file model.h.
Constructor & Destructor Documentation
frepple::Problem::const_iterator::const_iterator |
( |
HasProblems * |
o |
) |
[inline, explicit] |
Creates an iterator that will loop through the problems of a single entity only.
This constructor is also used to create a end-iterator, when passed a NULL pointer as argument.
Definition at line 5514 of file model.h.
frepple::Problem::const_iterator::const_iterator |
( |
|
) |
[inline, explicit] |
Creates an iterator that will loop through the problems of all entities.
Definition at line 5519 of file model.h.
Member Function Documentation
bool frepple::Problem::const_iterator::operator!= |
( |
const const_iterator & |
t |
) |
const [inline] |
Inequality operator.
Definition at line 5532 of file model.h.
Problem& frepple::Problem::const_iterator::operator* |
( |
|
) |
const [inline] |
Problem* frepple::Problem::const_iterator::operator-> |
( |
|
) |
const [inline] |
bool frepple::Problem::const_iterator::operator== |
( |
const const_iterator & |
t |
) |
const [inline] |
Equality operator.
Definition at line 5535 of file model.h.
Friends And Related Function Documentation
The documentation for this class was generated from the following files: