aboutsummaryrefslogtreecommitdiff
path: root/libutil++/xml_output.h
blob: a8936cd7fe28406a21e7d7d3173b79cc46bb1f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * @file xml_output.h
 * utility routines for writing XML
 *
 * @remark Copyright 2006 OProfile authors
 * @remark Read the file COPYING
 *
 * @author Dave Nomura
 */

#ifndef XML_OUTPUT_H
#define XML_OUTPUT_H
#include "op_xml_out.h"

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);

#endif /* XML_OUTPUT_H */