blob: a8936cd7fe28406a21e7d7d3173b79cc46bb1f45 [file] [log] [blame]
Mike Dodd8cfa7022010-11-17 11:12:26 -08001/**
2 * @file xml_output.h
3 * utility routines for writing XML
4 *
5 * @remark Copyright 2006 OProfile authors
6 * @remark Read the file COPYING
7 *
8 * @author Dave Nomura
9 */
10
11#ifndef XML_OUTPUT_H
12#define XML_OUTPUT_H
13#include "op_xml_out.h"
14
15std::string tag_name(tag_t tag);
16std::string open_element(tag_t tag, bool with_attrs = false);
17std::string close_element(tag_t tag = NONE, bool has_nested = false);
18std::string init_attr(tag_t attr, size_t value);
19std::string init_attr(tag_t attr, double value);
20std::string init_attr(tag_t attr, std::string const & str);
21
22#endif /* XML_OUTPUT_H */