7 #ifndef ATLAS_CODECS_XML_H
8 #define ATLAS_CODECS_XML_H
10 #include <Atlas/Codec.h>
15 namespace Atlas {
namespace Codecs {
45 virtual void poll(
bool can_read =
true);
51 virtual void mapMapItem(
const std::string& name);
53 virtual void mapIntItem(
const std::string& name,
long);
54 virtual void mapFloatItem(
const std::string& name,
double);
55 virtual void mapStringItem(
const std::string& name,
const std::string&);
67 std::iostream & m_socket;
91 std::stack<State> m_state;
92 std::stack<std::string> m_data;
97 inline void tokenTag(
char);
98 inline void tokenStartTag(
char);
99 inline void tokenEndTag(
char);
100 inline void tokenData(
char);
102 inline void parseStartTag();
103 inline void parseEndTag();
108 #endif // ATLAS_CODECS_XML_H