#include <sstream>
#include <iostream>
#include "op_xml_out.h"
#include "xml_output.h"
Go to the source code of this file.
Defines | |
#define | MAX_XML_BUF 16384 |
Functions | |
string | tag_name (tag_t tag) |
string | open_element (tag_t tag, bool with_attrs) |
string | close_element (tag_t tag, bool has_nested) |
string | init_attr (tag_t attr, size_t value) |
string | init_attr (tag_t attr, double value) |
string | init_attr (tag_t attr, string const &str) |
Variables | |
static char | buf [MAX_XML_BUF] |
utility routines for writing XML
Definition in file xml_output.cpp.
#define MAX_XML_BUF 16384 |
Definition at line 19 of file xml_output.cpp.
Referenced by close_element(), init_attr(), and open_element().
string close_element | ( | tag_t | tag, | |
bool | has_nested | |||
) |
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().
string init_attr | ( | tag_t | attr, | |
string const & | str | |||
) |
Definition at line 74 of file xml_output.cpp.
References buf, init_xml_str_attr(), and MAX_XML_BUF.
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.
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().
string open_element | ( | tag_t | tag, | |
bool | with_attrs | |||
) |
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().
string tag_name | ( | tag_t | tag | ) |
Definition at line 22 of file xml_output.cpp.
References xml_tag_name().
char buf[MAX_XML_BUF] [static] |
Definition at line 20 of file xml_output.cpp.
Referenced by _cleanup_jitdumps(), _get_event_code(), cb_compiled_method_load(), close_element(), close_xml_element(), compiled_method_load(), get_anon_maps(), get_ibs_bta_status(), help_for_event(), init_attr(), init_xml_dbl_attr(), init_xml_int_attr(), init_xml_str_attr(), op_get_line(), open_element(), open_xml_element(), and xml_quote().