|
Open Model Railroad Network (OpenMRN)
|
This mimics an std::iterator. More...
#include <SysMap.hxx>
Public Member Functions | |
| Iterator () | |
| Default constructor. | |
| Iterator (const Iterator &it) | |
| Copy constructor. | |
| Iterator (SysMap *context, Node *node) | |
| Constructor. | |
| ~Iterator () | |
| Destructor. | |
| Pair & | operator* () const |
| Overloaded reference operator. | |
| Pair * | operator-> () const |
| Overloaded pointer operator. | |
| Iterator & | operator++ () |
| Overloaded pre-increement operator. | |
| bool | operator!= (const Iterator &it) |
| Overloaded not equals operator. | |
| bool | operator== (const Iterator &it) |
| Overloaded equals operator. | |
Private Attributes | |
| Node * | node |
| node this iteration is currently indexed to | |
| SysMap * | m |
| Context this iteration lives in. | |
Friends | |
| class | SysMap |
| Allow access to node member. | |
This mimics an std::iterator.
Definition at line 114 of file SysMap.hxx.
|
inline |
Default constructor.
Definition at line 119 of file SysMap.hxx.
|
inline |
Copy constructor.
Definition at line 127 of file SysMap.hxx.
|
inline |
Constructor.
| context | context passed in at instantiation |
| node | node to initialize this iteration with |
Definition at line 137 of file SysMap.hxx.
|
inline |
Destructor.
Definition at line 145 of file SysMap.hxx.
|
inline |
Overloaded not equals operator.
Definition at line 174 of file SysMap.hxx.
|
inline |
Overloaded reference operator.
Definition at line 151 of file SysMap.hxx.
|
inline |
Overloaded pre-increement operator.
Definition at line 164 of file SysMap.hxx.
|
inline |
Overloaded pointer operator.
Definition at line 158 of file SysMap.hxx.
|
inline |
Overloaded equals operator.
Definition at line 180 of file SysMap.hxx.
|
friend |
Allow access to node member.
Definition at line 193 of file SysMap.hxx.
Context this iteration lives in.
Definition at line 190 of file SysMap.hxx.
node this iteration is currently indexed to
Definition at line 187 of file SysMap.hxx.