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.

Public Member Functions

 iterator (const iterator &it)
 iterator ()
 iterator (const OperationPlan *x)
 iterator (const Operation *x)
bool operator!= (const iterator &y) const
OperationPlanoperator* () const
iterator operator++ (int)
iteratoroperator++ ()
OperationPlanoperator-> () const
bool operator== (const iterator &y) const

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 1862 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 1867 of file model.h.

frepple::OperationPlan::iterator::iterator ( const OperationPlan x  )  [inline]

Constructor. The iterator will loop only over the suboperationplans of the operationplan passed.

Definition at line 1874 of file model.h.

frepple::OperationPlan::iterator::iterator (  )  [inline]

Constructor. The iterator will loop over all operationplans.

Definition at line 1880 of file model.h.

frepple::OperationPlan::iterator::iterator ( const iterator it  )  [inline]

Copy constructor.

Definition at line 1892 of file model.h.


Member Function Documentation

bool frepple::OperationPlan::iterator::operator!= ( const iterator y  )  const [inline]

Inequality operator.

Definition at line 1946 of file model.h.

OperationPlan& frepple::OperationPlan::iterator::operator* (  )  const [inline]

Return the content of the current node.

Definition at line 1895 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 1923 of file model.h.

iterator& frepple::OperationPlan::iterator::operator++ (  )  [inline]

Pre-increment operator which moves the pointer to the next element.

Definition at line 1902 of file model.h.

OperationPlan* frepple::OperationPlan::iterator::operator-> (  )  const [inline]

Return the content of the current node.

Definition at line 1898 of file model.h.

bool frepple::OperationPlan::iterator::operator== ( const iterator y  )  const [inline]

Comparison operator.

Definition at line 1943 of file model.h.


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208