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&);
void listElementItem(const Element &)
Send an object as a list item.
void mapElementItem(const std::string &, const Element &)
Send an object as a map item.
void streamMessageElement(const MapType &obj)
Send a message (must be a map!) in stream state.