00001 /** 00002 * @file xml_output.h 00003 * utility routines for writing XML 00004 * 00005 * @remark Copyright 2006 OProfile authors 00006 * @remark Read the file COPYING 00007 * 00008 * @author Dave Nomura 00009 */ 00010 00011 #ifndef XML_OUTPUT_H 00012 #define XML_OUTPUT_H 00013 #include "op_xml_out.h" 00014 00015 std::string tag_name(tag_t tag); 00016 std::string open_element(tag_t tag, bool with_attrs = false); 00017 std::string close_element(tag_t tag = NONE, bool has_nested = false); 00018 std::string init_attr(tag_t attr, size_t value); 00019 std::string init_attr(tag_t attr, double value); 00020 std::string init_attr(tag_t attr, std::string const & str); 00021 00022 #endif /* XML_OUTPUT_H */
1.6.1