frepple::OperationPlan::iterator Class Reference
This class models an STL-like iterator that allows us to iterate over the operationplans 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 operationplans in a simple and safe way.
Objects of this class are created by the begin() and end() functions.
Definition at line 1811 of file model.h.
Constructor & Destructor Documentation
frepple::OperationPlan::iterator::iterator |
( |
const Operation * |
x |
) |
[inline] |
Constructor. The iterator will loop only over the operationplans of the operation passed.
Definition at line 1816 of file model.h.
frepple::OperationPlan::iterator::iterator |
( |
|
) |
[inline] |
Constructor. The iterator will loop over all operationplans.
Definition at line 1825 of file model.h.
frepple::OperationPlan::iterator::iterator |
( |
const iterator & |
it |
) |
[inline] |
Copy constructor.
Definition at line 1838 of file model.h.
Member Function Documentation
bool frepple::OperationPlan::iterator::operator!= |
( |
const iterator & |
y |
) |
const [inline] |
Inequality operator.
Definition at line 1886 of file model.h.
OperationPlan& frepple::OperationPlan::iterator::operator* |
( |
|
) |
const [inline] |
Return the content of the current node.
Definition at line 1841 of file model.h.
iterator frepple::OperationPlan::iterator::operator++ |
( |
int |
|
) |
[inline] |
Post-increment operator which moves the pointer to the next element.
Definition at line 1866 of file model.h.
iterator& frepple::OperationPlan::iterator::operator++ |
( |
|
) |
[inline] |
Pre-increment operator which moves the pointer to the next element.
Definition at line 1848 of file model.h.
OperationPlan* frepple::OperationPlan::iterator::operator-> |
( |
|
) |
const [inline] |
Return the content of the current node.
Definition at line 1844 of file model.h.
bool frepple::OperationPlan::iterator::operator== |
( |
const iterator & |
y |
) |
const [inline] |
Comparison operator.
Definition at line 1883 of file model.h.
The documentation for this class was generated from the following file: