CHSM
4.4.1
|
This is an iterator in "STL style" to iterate over the child states of a parent state. More...
#include <chsm.h>
Public Member Functions | |
iterator () | |
Construct an iterator. More... | |
reference | operator* () const |
Returns a parent::reference to the state the iterator is positioned at. More... | |
iterator & | operator++ () |
Pre-increment the iterator. More... | |
iterator | operator++ (int) |
Post-increment the iterator. More... | |
pointer | operator-> () const |
Returns a parent::pointer to the state the iterator is positioned at. More... | |
Friends | |
bool | operator!= (iterator const &i, iterator const &j) |
Compare two iterators for inequality. More... | |
bool | operator== (iterator const &i, iterator const &j) |
Compare two iterators for equality. More... | |
This is an iterator in "STL style" to iterate over the child states of a parent state.
|
inline |
Construct an iterator.
|
inline |
Returns a parent::reference to the state the iterator is positioned at.
|
inline |
Pre-increment the iterator.
|
inline |
Post-increment the iterator.
|
inline |
Returns a parent::pointer to the state the iterator is positioned at.
Compare two iterators for inequality.
i | The first iterator. |
j | The second iterator. |
true
only if the two iterators are not positioned at the same state. Compare two iterators for equality.
i | The first iterator. |
j | The second iterator. |
true
only if the two iterators are positioned at the same state.