This class models a iterator that walks over all available HasProblem entities. More...
#include <model.h>
Public Member Functions | |
EntityIterator (const EntityIterator &o) | |
EntityIterator (unsigned short i) | |
EntityIterator () | |
bool | operator!= (const EntityIterator &t) const |
HasProblems & | operator* () const |
EntityIterator & | operator++ () |
HasProblems * | operator-> () const |
EntityIterator & | operator= (const EntityIterator &o) |
bool | operator== (const EntityIterator &t) const |
~EntityIterator () |
This class models a iterator that walks over all available HasProblem entities.
This list is containing hard-coding the classes that are implementing this class. It's not ideal, but we don't have an explicit container of the objects (and we don't want one either) and this allows us also to re-use the sorting used for the container classes.
Definition at line 5427 of file model.h.
frepple::HasProblems::EntityIterator::EntityIterator | ( | ) | [explicit] |
Default constructor, which creates an iterator to the first HasProblems object.
Definition at line 296 of file problem.cpp.
frepple::HasProblems::EntityIterator::EntityIterator | ( | unsigned short | i | ) | [inline, explicit] |
Used to create an iterator pointing beyond the last HasProblems object.
frepple::HasProblems::EntityIterator::EntityIterator | ( | const EntityIterator & | o | ) |
Copy constructor.
Definition at line 388 of file problem.cpp.
frepple::HasProblems::EntityIterator::~EntityIterator | ( | ) |
Destructor.
Definition at line 372 of file problem.cpp.
bool frepple::HasProblems::EntityIterator::operator!= | ( | const EntityIterator & | t | ) | const |
Inequality operator.
Two iterators are different when they point to different objects.
Definition at line 419 of file problem.cpp.
HasProblems & frepple::HasProblems::EntityIterator::operator* | ( | ) | const |
Dereference operator.
Definition at line 442 of file problem.cpp.
HasProblems::EntityIterator & frepple::HasProblems::EntityIterator::operator++ | ( | ) |
Pre-increment operator.
Definition at line 327 of file problem.cpp.
HasProblems * frepple::HasProblems::EntityIterator::operator-> | ( | ) | const |
Dereference operator.
Definition at line 459 of file problem.cpp.
HasProblems::EntityIterator & frepple::HasProblems::EntityIterator::operator= | ( | const EntityIterator & | o | ) |
Assignment operator.
Definition at line 402 of file problem.cpp.
bool frepple::HasProblems::EntityIterator::operator== | ( | const EntityIterator & | t | ) | const [inline] |
Buffer::iterator* frepple::HasProblems::EntityIterator::bufIter |
Demand::iterator* frepple::HasProblems::EntityIterator::demIter |
Resource::iterator* frepple::HasProblems::EntityIterator::resIter |