xml_output.h revision 8cfa702f803c5ef6a2b062a489a1b2cf66b45b5e
1/** 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 */ 23