1 #include <Atlas/Bridge.h>
18 std::cout << padding <<
"streamBegin" << std::endl;
22 std::cout << padding <<
"New Map" << std::endl;
27 std::cout << padding <<
"streamEnd" << std::endl;
32 std::cout << padding << name <<
" -> New Map" << std::endl;
37 std::cout << padding << name <<
" -> New List" << std::endl;
42 std::cout << padding << name <<
" -> Int: " << i << std::endl;
46 std::cout << padding << name <<
" -> Float: " << d << std::endl;
48 virtual void mapStringItem(
const std::string& name,
const std::string& s)
50 std::cout << padding << name <<
" -> String: " << s << std::endl;
55 std::cout << padding <<
"mapEnd" << std::endl;
60 std::cout << padding <<
"New Map" << std::endl;
65 std::cout << padding <<
"New List" << std::endl;
70 std::cout << padding <<
"Int: " << i << std::endl;
74 std::cout << padding <<
"Float: " << d << std::endl;
78 std::cout << padding <<
"String: " << s << std::endl;
83 std::cout << padding <<
"listEnd" << std::endl;
87 virtual void addPadding()
92 virtual void removePadding()
94 padding.erase(padding.end() - 2, padding.end());
virtual void listMapItem()
Starts a map object in the currently streamed list.
Definition: tests/Objects/DebugBridge.h:58
Atlas stream bridge.
Definition: Bridge.h:35
virtual void listFloatItem(double d)
Adds a float to the currently streamed list.
Definition: tests/Objects/DebugBridge.h:72
virtual void mapIntItem(const std::string &name, long i)
Adds an integer to the currently streames map.
Definition: tests/Objects/DebugBridge.h:40
virtual void mapStringItem(const std::string &name, const std::string &s)
Adds a string to the currently streamed map.
Definition: tests/Objects/DebugBridge.h:48
virtual void listStringItem(const std::string &s)
Adds a string to the currently streamed list.
Definition: tests/Objects/DebugBridge.h:76
Definition: tests/Objects/DebugBridge.h:6
virtual void mapMapItem(const std::string &name)
Starts a map object to the currently streamed map.
Definition: tests/Objects/DebugBridge.h:30
virtual void listIntItem(long i)
Adds an integer to the currently streames list.
Definition: tests/Objects/DebugBridge.h:68
virtual void mapFloatItem(const std::string &name, double d)
Adds a float to the currently streamed map.
Definition: tests/Objects/DebugBridge.h:44
virtual void listListItem()
Starts a list object in the currently streamed list.
Definition: tests/Objects/DebugBridge.h:63
virtual void mapEnd()
Ends the currently streamed map.
Definition: tests/Objects/DebugBridge.h:52
virtual void streamMessage()
Start a message in an Atlas stream.
Definition: tests/Objects/DebugBridge.h:21
virtual void listEnd()
Ends the currently streamed list.
Definition: tests/Objects/DebugBridge.h:80
virtual void streamEnd()
Ends the Atlas stream.
Definition: tests/Objects/DebugBridge.h:25
virtual void mapListItem(const std::string &name)
Starts a list object to the currently streamed map.
Definition: tests/Objects/DebugBridge.h:35
virtual void streamBegin()
Begin an Atlas stream.
Definition: tests/Objects/DebugBridge.h:17
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.