#include "op_xml_out.h"
Go to the source code of this file.
Functions | |
std::string | tag_name (tag_t tag) |
std::string | open_element (tag_t tag, bool with_attrs=false) |
std::string | close_element (tag_t tag=NONE, bool has_nested=false) |
std::string | init_attr (tag_t attr, size_t value) |
std::string | init_attr (tag_t attr, double value) |
std::string | init_attr (tag_t attr, std::string const &str) |
utility routines for writing XML
Definition in file xml_output.h.
std::string close_element | ( | tag_t | tag = NONE , |
|
bool | has_nested = false | |||
) |
Definition at line 41 of file xml_output.cpp.
References buf, close_xml_element(), and MAX_XML_BUF.
Referenced by xml_utils::get_timer_setup(), process_info::output(), thread_info::output(), binary_info::output(), module_info::output(), and format_output::xml_formatter::output_symbol_details().
std::string init_attr | ( | tag_t | attr, | |
std::string const & | str | |||
) |
std::string init_attr | ( | tag_t | attr, | |
double | value | |||
) |
Definition at line 63 of file xml_output.cpp.
References buf, init_xml_dbl_attr(), and MAX_XML_BUF.
std::string init_attr | ( | tag_t | attr, | |
size_t | value | |||
) |
Definition at line 52 of file xml_output.cpp.
References buf, init_xml_int_attr(), and MAX_XML_BUF.
Referenced by xml_utils::add_option(), xml_utils::get_timer_setup(), process_info::output(), thread_info::output(), binary_info::output(), module_info::output(), and format_output::xml_formatter::output_symbol_details().
std::string open_element | ( | tag_t | tag, | |
bool | with_attrs = false | |||
) |
Definition at line 30 of file xml_output.cpp.
References buf, MAX_XML_BUF, and open_xml_element().
Referenced by xml_utils::get_timer_setup(), process_info::output(), thread_info::output(), binary_info::output(), module_info::output(), and format_output::xml_formatter::output_symbol_details().
std::string tag_name | ( | tag_t | tag | ) |
Definition at line 22 of file xml_output.cpp.
References xml_tag_name().