7 #ifndef ATLAS_MESSAGE_ENCODER_H
8 #define ATLAS_MESSAGE_ENCODER_H
10 #include <Atlas/EncoderBase.h>
16 namespace Atlas {
namespace Message {
20 typedef std::map<std::string, Element> MapType;
21 typedef std::vector<Element> ListType;
44 void mapElementMapItem(
const std::string&,
const MapType&);
45 void mapElementListItem(
const std::string&,
const ListType&);
48 void listElementMapItem(
const MapType&);
49 void listElementListItem(
const ListType&);
Atlas stream bridge.
Definition: Bridge.h:35
Multi-type container.
Definition: Element.h:59
The Atlas namespace.
Definition: Bridge.h:20
Encoder that transmits Atlas::Message::Element.
Definition: MEncoder.h:33
Base class forwarding to Atlas::Bridge as skeleton for other encoders.
Definition: EncoderBase.h:30
void mapElementItem(const std::string &, const Element &)
Send an object as a map item.
void listElementItem(const Element &)
Send an object as a list item.
void streamMessageElement(const MapType &obj)
Send a message (must be a map!) in stream state.