Classes Files

Wombat::MamaMsgIterator

More…

#include <MamaMsg.h>

Public Functions

  Name
  MamaMsgIterator(const MamaDictionary * dictionary)
  MamaMsgIterator()
  MamaMsgIterator(const MamaMsgIterator & copy)
  ~MamaMsgIterator()
void SetDict(const MamaDictionary * dictionary)
MamaMsgIterator & operator=(const MamaMsgIterator & )
bool operator==(const MamaMsgIterator & ) const
bool operator!=(const MamaMsgIterator & ) const
MamaMsgField & [operator](classWombat_1_1MamaMsgIterator.html#function-operator)()
MamaMsgField * operator->()
MamaMsgIterator & operator++()

Protected Attributes

  Name
mamaMsgIterator myImpl
MamaMsgField mMsgField

Friends

  Name
class MamaMsg

Detailed Description

class Wombat::MamaMsgIterator;

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

Public Functions Documentation

function MamaMsgIterator

MamaMsgIterator(
    const MamaDictionary * dictionary
)

function MamaMsgIterator

MamaMsgIterator()

function MamaMsgIterator

MamaMsgIterator(
    const MamaMsgIterator & copy
)

function ~MamaMsgIterator

~MamaMsgIterator()

function SetDict

void SetDict(
    const MamaDictionary * dictionary
)

function operator=

MamaMsgIterator & operator=(
    const MamaMsgIterator & 
)

function operator==

bool operator==(
    const MamaMsgIterator & 
) const

function operator!=

bool operator!=(
    const MamaMsgIterator & 
) const

function operator*

MamaMsgField & operator*()

function operator->

MamaMsgField * operator->()

function operator++

MamaMsgIterator & operator++()

Protected Attributes Documentation

variable myImpl

mamaMsgIterator myImpl;

variable mMsgField

MamaMsgField mMsgField;

Friends

friend MamaMsg

friend class MamaMsg(
    MamaMsg 
);

Updated on 2023-03-31 at 15:29:25 +0100