Iterator class for mamaMsg. More...
#include <MamaMsg.h>
Public Member Functions | |
| MamaMsgIterator (const MamaDictionary *dictionary) | |
| MamaMsgIterator () | |
| MamaMsgIterator (const MamaMsgIterator ©) | |
| ~MamaMsgIterator () | |
| void | SetDict (const MamaDictionary *dictionary) |
| MamaMsgIterator & | operator= (const MamaMsgIterator &) |
| bool | operator== (const MamaMsgIterator &) const |
| bool | operator!= (const MamaMsgIterator &) const |
| MamaMsgField & | operator* () |
| MamaMsgField * | operator-> () |
| MamaMsgIterator & | operator++ () |
Protected Attributes | |
| mamaMsgIterator | myImpl |
| MamaMsgField | mMsgField |
Friends | |
| class | MamaMsg |
Iterator class for mamaMsg.
Once an iterator has been created it can be set to the beginning of a mamaMsg and used to iterate over the MamaMsgFields.
An iterator can only be used with one message at a time, and only one iterator can be on one message at a time
Only forward iterating is supported
The dictionary to be used with the fields can be set in the iterator
| Wombat::MamaMsgIterator::MamaMsgIterator | ( | const MamaDictionary * | dictionary | ) |
| Wombat::MamaMsgIterator::MamaMsgIterator | ( | ) |
| Wombat::MamaMsgIterator::MamaMsgIterator | ( | const MamaMsgIterator & | copy | ) |
| Wombat::MamaMsgIterator::~MamaMsgIterator | ( | ) |
| void Wombat::MamaMsgIterator::SetDict | ( | const MamaDictionary * | dictionary | ) |
| MamaMsgIterator& Wombat::MamaMsgIterator::operator= | ( | const MamaMsgIterator & | ) |
| bool Wombat::MamaMsgIterator::operator== | ( | const MamaMsgIterator & | ) | const |
| bool Wombat::MamaMsgIterator::operator!= | ( | const MamaMsgIterator & | ) | const |
| MamaMsgField& Wombat::MamaMsgIterator::operator* | ( | ) |
| MamaMsgField* Wombat::MamaMsgIterator::operator-> | ( | ) |
| MamaMsgIterator& Wombat::MamaMsgIterator::operator++ | ( | ) |
|
friend |
|
protected |
|
protected |