1 #include <Atlas/Bridge.h> 18 std::cout << padding <<
"streamBegin" << std::endl;
23 std::cout << padding <<
"New Map" << std::endl;
29 std::cout << padding <<
"streamEnd" << std::endl;
34 std::cout << padding << name <<
" -> New Map" << std::endl;
39 std::cout << padding << name <<
" -> New List" << std::endl;
44 std::cout << padding << name <<
" -> Int: " << i << std::endl;
48 std::cout << padding << name <<
" -> Float: " << d << std::endl;
52 std::cout << padding << name <<
" -> String: " << s << std::endl;
57 std::cout << padding <<
"mapEnd" << std::endl;
62 std::cout << padding <<
"New Map" << std::endl;
67 std::cout << padding <<
"New List" << std::endl;
72 std::cout << padding <<
"Int: " << i << std::endl;
76 std::cout << padding <<
"Float: " << d << std::endl;
80 std::cout << padding <<
"String: " << s << std::endl;
85 std::cout << padding <<
"listEnd" << std::endl;
96 padding.erase(padding.end() - 2, padding.end());
void mapEnd() override
Ends the currently streamed map.
Definition: tests/Objects/DebugBridge.h:54
void mapStringItem(std::string name, std::string s) override
Adds a string to the currently streamed map.
Definition: tests/Objects/DebugBridge.h:50
Atlas stream bridge.
Definition: Bridge.h:35
void listListItem() override
Starts a list object in the currently streamed list.
Definition: tests/Objects/DebugBridge.h:65
void listFloatItem(double d) override
Adds a float to the currently streamed list.
Definition: tests/Objects/DebugBridge.h:74
void streamEnd() override
Ends the Atlas stream.
Definition: tests/Objects/DebugBridge.h:27
void listEnd() override
Ends the currently streamed list.
Definition: tests/Objects/DebugBridge.h:82
void streamMessage() override
Start a message in an Atlas stream.
Definition: tests/Objects/DebugBridge.h:22
void mapMapItem(std::string name) override
Starts a map object to the currently streamed map.
Definition: tests/Objects/DebugBridge.h:32
void streamBegin() override
Begin an Atlas stream.
Definition: tests/Objects/DebugBridge.h:17
void mapIntItem(std::string name, long i) override
Adds an integer to the currently streames map.
Definition: tests/Objects/DebugBridge.h:42
Definition: tests/Objects/DebugBridge.h:6
void listMapItem() override
Starts a map object in the currently streamed list.
Definition: tests/Objects/DebugBridge.h:60
void listIntItem(long i) override
Adds an integer to the currently streames list.
Definition: tests/Objects/DebugBridge.h:70
void mapListItem(std::string name) override
Starts a list object to the currently streamed map.
Definition: tests/Objects/DebugBridge.h:37
void mapFloatItem(std::string name, double d) override
Adds a float to the currently streamed map.
Definition: tests/Objects/DebugBridge.h:46
void listStringItem(std::string s) override
Adds a string to the currently streamed list.
Definition: tests/Objects/DebugBridge.h:78