interface of a generic message in the Siena data model. More...
#include <types.h>
Classes | |
| class | iterator |
| interface of a generic message iterator. More... | |
Public Member Functions | |
| virtual | ~message () |
| virtual destructor | |
| virtual iterator * | first () const =0 |
| returns an iterator over this message. | |
| virtual attribute * | find (const string_t &) const =0 |
| provides direct access to a given attribute. | |
| virtual bool | contains (const string_t &) const =0 |
| test existence of a given attribute. | |
interface of a generic message in the Siena data model.
A message is a set of attributes. Individual attributes can be accessed sequentially through a message::iterator, or directly by their name.
| virtual iterator* siena::message::first | ( | ) | const [pure virtual] |