9 #ifndef ATLAS_FUNKY_ENCODER_H 10 #define ATLAS_FUNKY_ENCODER_H 14 namespace Atlas {
namespace Funky {
86 template<
class B,
class T>
class EncMap;
95 template<
class B,
class T>
98 EncMapValue(B& b,
const std::string& name) : b(b), name(name) { }
117 b.mapIntItem(name, i);
124 b.mapFloatItem(name, d);
131 b.mapStringItem(name, s);
136 template<
typename Arg>
155 template<
class B,
class T>
183 template<
class B,
class T>
224 template<
typename Arg>
261 template<
typename Arg>
264 b.streamObjectsMessage(a);
Token class representing the end of a list.
Definition: FEncoder.h:83
Encoder in map value state.
Definition: FEncoder.h:88
std::string name
The name of this item.
Definition: FEncoder.h:147
Token class representing the beginning of a map.
Definition: FEncoder.h:65
Token class representing the beginning of a list.
Definition: FEncoder.h:77
Token class representing the beginning of a message.
Definition: FEncoder.h:53
T operator<<(const Arg &a)
If the encoder supports it, send any kind of value.
Definition: FEncoder.h:137
Token class representing the end of a map.
Definition: FEncoder.h:71
B & b
The bridge or encoder that is written to.
Definition: FEncoder.h:145
The Atlas namespace.
Definition: Bridge.h:20
T operator<<(long i)
Send an integer value.
Definition: FEncoder.h:115
Token class representing the end of a message.
Definition: FEncoder.h:59
B & b
The bridge or encoder that is written to.
Definition: FEncoder.h:240
Tokens representing beginnings and ends of maps/lists.
Definition: FEncoder.h:280
T operator<<(EndList)
End this list.
Definition: FEncoder.h:232
T operator<<(const std::string &s)
Send a string value.
Definition: FEncoder.h:129
T operator<<(EndMap)
End this map.
Definition: FEncoder.h:167
T operator<<(double d)
Send a double value.
Definition: FEncoder.h:122
Encoder in List state.
Definition: FEncoder.h:87
B & b
The bridge or encoder that is written to.
Definition: FEncoder.h:270
The root encoder in "stream" state.
Definition: FEncoder.h:85
Encoder in Map state.
Definition: FEncoder.h:86
B & b
The bridge or encoder that is written to.
Definition: FEncoder.h:175