format_output::xml_formatter Class Reference

class to output in XML format More...

#include <format_output.h>

Inheritance diagram for format_output::xml_formatter:
Inheritance graph
[legend]
Collaboration diagram for format_output::xml_formatter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 xml_formatter (profile_container const *profile, symbol_collection &symbols, extra_images const &extra, string_filter const &symbol_filter)
 build a ready to use formatter
void output (std::ostream &out)
virtual void output_symbol (std::ostream &out, symbol_entry const *symb, size_t lo, size_t hi, bool is_module)
 output one symbol symb to out according to the output format specifier previously set by call(s) to add_format()
std::string output_symbol_details (symbol_entry const *symb, size_t &detail_index, size_t const lo, size_t const hi)
 output details for the symbol
void show_details (bool)
 set the output_details boolean
void output_symbol_data (std::ostream &out)

Detailed Description

class to output in XML format


Constructor & Destructor Documentation

format_output::xml_formatter::xml_formatter ( profile_container const *  profile,
symbol_collection symbols,
extra_images const &  extra,
string_filter const &  symbol_filter 
)

Member Function Documentation

void format_output::xml_formatter::output ( std::ostream &  out  ) 
virtual void format_output::xml_formatter::output_symbol ( std::ostream &  out,
symbol_entry const *  symb,
size_t  lo,
size_t  hi,
bool  is_module 
) [virtual]

output one symbol symb to out according to the output format specifier previously set by call(s) to add_format()

Reimplemented in format_output::xml_cg_formatter.

Referenced by module_info::output_symbols().

void format_output::xml_formatter::output_symbol_data ( std::ostream &  out  ) 
string format_output::xml_formatter::output_symbol_details ( symbol_entry const *  symb,
size_t &  detail_index,
size_t const   lo,
size_t const   hi 
)
void format_output::xml_formatter::show_details ( bool  on_off  ) 

set the output_details boolean


The documentation for this class was generated from the following files:

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1