|
CBMC
|
A way of representing nested key/value data. More...
#include <structured_data.h>
Collaboration diagram for structured_datat:Public Member Functions | |
| structured_datat (std::map< labelt, structured_data_entryt > data) | |
| const std::map< labelt, structured_data_entryt > & | data () const |
Private Attributes | |
| std::map< labelt, structured_data_entryt > | _data |
A way of representing nested key/value data.
Used for logging on any message handler. Usage:
Then if the output dependending on the UI of the message handler, you'll get appropriately formatted data.
See to_xml(const structured_datat &), to_json(const structured_datat &), to_pretty(const structured_datat &) for details of the format.
Definition at line 73 of file structured_data.h.
|
explicit |
Definition at line 108 of file structured_data.cpp.
| const std::map< labelt, structured_data_entryt > & structured_datat::data | ( | ) | const |
Definition at line 169 of file structured_data.cpp.
|
private |
Definition at line 80 of file structured_data.h.