Siena Fast Forwarding Documentation (v. 1.9.4)

siena::message::iterator Class Reference

interface of a generic message iterator. More...

#include <types.h>

Inheritance diagram for siena::message::iterator:
siena::attribute siena::value

List of all members.

Public Member Functions

virtual bool next ()=0
 moves this iterator to the next attribute in the sequence.
virtual ~iterator ()
 iterator destructor.

Detailed Description

interface of a generic message iterator.

provides sequential access to the attributes of a message.

Examples:

message_iteration.cc.


Member Function Documentation

virtual bool siena::message::iterator::next (  )  [pure virtual]

moves this iterator to the next attribute in the sequence.

Returns:
true if the element pointed to by this iterator before this call to next() is not the last attribute in its message. In this case, after this call to next(), this iterator will point to the next attribute.
false if the element pointed to by this iterator before this call to next() is either the the last attribute in its message, or an invalid attribute. In this case, after this call to next(), this iterator will point to an invalid attribute.
Examples:
message_iteration.cc.

The documentation for this class was generated from the following file: