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>
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 message.
Definition: FEncoder.h:59
T operator<<(const Arg &a)
If the encoder supports it, send any kind of value.
Definition: FEncoder.h:137
EncMap< B, EncList< B, T > > operator<<(const BeginMap &)
Start a map.
Definition: FEncoder.h:189
Token class representing the end of a map.
Definition: FEncoder.h:71
Encoder in List state.
Definition: FEncoder.h:87
std::string name
The name of this item.
Definition: FEncoder.h:147
EncMap< B, FunkyEncoder > operator<<(const BeginMap &)
Start a message (as a map).
Definition: FEncoder.h:255
B & b
The bridge or encoder that is written to.
Definition: FEncoder.h:270
B & b
The bridge or encoder that is written to.
Definition: FEncoder.h:175
Token class representing the beginning of a message.
Definition: FEncoder.h:53
Token class representing the beginning of a list.
Definition: FEncoder.h:77
T operator<<(const std::string &s)
Send a string value.
Definition: FEncoder.h:129
EncMap< B, T > operator<<(const BeginMap &)
Begin a map.
Definition: FEncoder.h:101
B & b
The bridge or encoder that is written to.
Definition: FEncoder.h:145
T operator<<(long i)
Send an integer value.
Definition: FEncoder.h:115
Token class representing the beginning of a map.
Definition: FEncoder.h:65
Encoder in Map state.
Definition: FEncoder.h:86
T operator<<(EndMap)
End this map.
Definition: FEncoder.h:167
EncMapValue< B, EncMap< B, T > > operator<<(const std::string &name)
Start a value with its name.
Definition: FEncoder.h:161
B & b
The bridge or encoder that is written to.
Definition: FEncoder.h:240
The Atlas namespace.
Definition: Bridge.h:20
T operator<<(EndList)
End this list.
Definition: FEncoder.h:232
Encoder in map value state.
Definition: FEncoder.h:88
Token class representing the end of a list.
Definition: FEncoder.h:83
Tokens representing beginnings and ends of maps/lists.
Definition: FEncoder.h:280
The root encoder in "stream" state.
Definition: FEncoder.h:85
T operator<<(double d)
Send a double value.
Definition: FEncoder.h:122
Copyright 2000-2004 the respective authors.
This document can be licensed under the terms of the GNU Free Documentation
License or the GNU General Public License and may be freely distributed under
the terms given by one of these licenses.