|
INET Framework for OMNeT++/OMNEST
|
#include <Blackboard.h>
Public Member Functions | |
| iterator (ContentsMap::iterator it0) | |
| BBItemRef | operator* () |
| iterator & | operator++ () |
| iterator | operator++ (int) |
| iterator & | operator-- () |
| iterator | operator-- (int) |
| bool | operator== (const iterator &i2) |
| bool | operator!= (const iterator &i2) |
Private Attributes | |
| ContentsMap::iterator | it |
Iterates through blackboard contents. Models a C++ standard bidirectional iterator.
Definition at line 212 of file Blackboard.h.
| Blackboard::iterator::iterator | ( | ContentsMap::iterator | it0 | ) | [inline] |
Definition at line 217 of file Blackboard.h.
{it==it0;}
| bool Blackboard::iterator::operator!= | ( | const iterator & | i2 | ) | [inline] |
Definition at line 224 of file Blackboard.h.
{return it!=i2.it;}
| BBItemRef Blackboard::iterator::operator* | ( | ) | [inline] |
Definition at line 218 of file Blackboard.h.
{return (*it).second;}
| iterator& Blackboard::iterator::operator++ | ( | ) | [inline] |
Definition at line 219 of file Blackboard.h.
{++it; return *this;}
| iterator Blackboard::iterator::operator++ | ( | int | ) | [inline] |
| iterator& Blackboard::iterator::operator-- | ( | ) | [inline] |
Definition at line 221 of file Blackboard.h.
{--it; return *this;}
| iterator Blackboard::iterator::operator-- | ( | int | ) | [inline] |
| bool Blackboard::iterator::operator== | ( | const iterator & | i2 | ) | [inline] |
Definition at line 223 of file Blackboard.h.
{return it==i2.it;}
ContentsMap::iterator Blackboard::iterator::it [private] |
Definition at line 215 of file Blackboard.h.
Referenced by operator!=(), and operator==().