7 #ifndef ATLAS_ENCODERBASE_H
8 #define ATLAS_ENCODERBASE_H
10 #include <Atlas/Bridge.h>
42 void mapMapItem(
const std::string& name)
44 void mapListItem(
const std::string& name)
46 void mapIntItem(
const std::string& name,
long i)
48 void mapFloatItem(
const std::string& name,
double d)
50 void mapStringItem(
const std::string& name,
const std::string& s)
69 #endif // ATLAS_ENCODERBASE_H
virtual void listMapItem()=0
Starts a map object in the currently streamed list.
Atlas stream bridge.
Definition: Bridge.h:36
Atlas::Bridge & m_b
The bridge that requests are forwarded to.
Definition: EncoderBase.h:64
virtual void mapIntItem(const std::string &name, long)=0
Adds an integer to the currently streames map.
virtual void streamBegin()=0
Begin an Atlas stream.
virtual void listIntItem(long)=0
Adds an integer to the currently streames list.
virtual void listEnd()=0
Ends the currently streamed list.
EncoderBase(Atlas::Bridge &b)
You will need to implement this in subclasses.
Definition: EncoderBase.h:34
virtual void mapListItem(const std::string &name)=0
Starts a list object to the currently streamed map.
virtual void listFloatItem(double)=0
Adds a float to the currently streamed list.
virtual void mapEnd()=0
Ends the currently streamed map.
virtual void listStringItem(const std::string &)=0
Adds a string to the currently streamed list.
virtual void streamEnd()=0
Ends the Atlas stream.
virtual void listListItem()=0
Starts a list object in the currently streamed list.
The Atlas namespace.
Definition: Bridge.h:20
virtual void streamMessage()=0
Start a message in an Atlas stream.
virtual void mapMapItem(const std::string &name)=0
Starts a map object to the currently streamed map.
virtual void mapStringItem(const std::string &name, const std::string &)=0
Adds a string to the currently streamed map.
virtual void mapFloatItem(const std::string &name, double)=0
Adds a float to the currently streamed map.
Base class forwarding to Atlas::Bridge as skeleton for other encoders.
Definition: EncoderBase.h:30
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.