Quick Links:

bmqa | bmqpi | bmqt

Namespaces

Component bmqa_messageiterator
[Package bmqa]

Provide a mechanism to iterate over the messages of a MessageEvent. More...

Namespaces

namespace  bmqimp
namespace  bmqa

Detailed Description

Outline
Purpose:
Provide a mechanism to iterate over the messages of a MessageEvent.
Classes:
bmqa::MessageIterator read-only sequential iterator on Message objects
Description:
bmqa::MessageIterator is an iterator-like mechanism providing read-only sequential access to messages contained into a MessageEvent.
Usage:
Typical usage of this iterator should follow the following pattern:
  while (messageIterator.nextMessage()) {
    const Message& message = messageIterator.message();
    // Do something with message
  }