19 #ifndef PRESENTATIONBRIDGE_H_ 20 #define PRESENTATIONBRIDGE_H_ 47 void mapIntItem(std::string name,
long)
override;
85 bool checkAndUpdateMaxItemCounter();
89 std::stringstream& mStream;
96 std::stack<int> mMapsInList;
101 size_t mMaxItemsPerLevel;
112 size_t mStartFilterLevel;
117 std::deque<size_t> mEntriesPerLevelCounter;
void listFloatItem(double) override
Adds a float to the currently streamed list.
void mapListItem(std::string name) override
Starts a list object to the currently streamed map.
void mapStringItem(std::string name, std::string) override
Adds a string to the currently streamed map.
Atlas stream bridge.
Definition: Bridge.h:35
void mapEnd() override
Ends the currently streamed map.
void listMapItem() override
Starts a map object in the currently streamed list.
void setStartFilteringLevel(size_t startFilteringLevel)
Sets the level at which filtering, if setMaxItemsPerLevel() has been called, should occur...
void streamEnd() override
Ends the Atlas stream.
The Atlas namespace.
Definition: Bridge.h:20
void streamBegin() override
Begin an Atlas stream.
void mapMapItem(std::string name) override
Starts a map object to the currently streamed map.
void listEnd() override
Ends the currently streamed list.
void mapFloatItem(std::string name, double) override
Adds a float to the currently streamed map.
void streamMessage() override
Start a message in an Atlas stream.
void mapIntItem(std::string name, long) override
Adds an integer to the currently streames map.
A bridge which is meant to be used solely for presenting Element data.
Definition: PresentationBridge.h:35
void listStringItem(std::string) override
Adds a string to the currently streamed list.
void listListItem() override
Starts a list object in the currently streamed list.
void listIntItem(long) override
Adds an integer to the currently streames list.
void setMaxItemsPerLevel(size_t maxItems)
Sets the max number of items to print per level.