xml_output.h File Reference

#include "op_xml_out.h"
Include dependency graph for xml_output.h:
This graph shows which files directly or indirectly include this file:

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)

Detailed Description

utility routines for writing XML

Remarks:
Copyright 2006 OProfile authors
Read the file COPYING
Author:
Dave Nomura

Definition in file xml_output.h.


Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string tag_name ( tag_t  tag  ) 

Definition at line 22 of file xml_output.cpp.

References xml_tag_name().

Here is the call graph for this function:


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1