xml_output.cpp File Reference

utility routines for writing XML More...

#include <sstream>
#include <iostream>
#include "op_xml_out.h"
#include "xml_output.h"
Include dependency graph for xml_output.cpp:

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)

Detailed Description

utility routines for writing XML

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

Define Documentation

#define MAX_XML_BUF   16384

Function Documentation

string close_element ( tag_t  tag,
bool  has_nested 
)
string init_attr ( tag_t  attr,
string const &  str 
)

References init_xml_str_attr(), and MAX_XML_BUF.

string init_attr ( tag_t  attr,
double  value 
)

References init_xml_dbl_attr(), and MAX_XML_BUF.

string init_attr ( tag_t  attr,
size_t  value 
)
string open_element ( tag_t  tag,
bool  with_attrs 
)
string tag_name ( tag_t  tag  ) 

References xml_tag_name().


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1