From f9a2dec792d9a52e1b9004793cfca9b0a463049a Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 11 Jul 2010 16:27:23 +0000 Subject: docs: Added generated HTML documentation git-svn-id: http://pugixml.googlecode.com/svn/trunk@596 99668b35-9821-0410-8761-19e4c4f06640 --- docs/manual/apiref.html | 1151 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1151 insertions(+) create mode 100644 docs/manual/apiref.html (limited to 'docs/manual/apiref.html') diff --git a/docs/manual/apiref.html b/docs/manual/apiref.html new file mode 100644 index 0000000..4648697 --- /dev/null +++ b/docs/manual/apiref.html @@ -0,0 +1,1151 @@ + + + +API Reference + + + + + + + + + + + +
pugixml 0.9 manual | + Overview | + Installation | + Document: + Object model · Loading · Accessing · Modifying · Saving | + XPath | + API Reference | + Table of Contents +
+PrevUpHomeNext +
+
+
+ +

+ This is the reference for all macros, types, enumerations, classes and functions + in pugixml. Each symbol is a link that leads to the relevant section of the + manual. +

+

+ Macros: +

+
+

+ Types: +

+
+

+ Enumerations: +

+ +

+ Constants: +

+
+

+ Classes: +

+
    +
  • + class xml_attribute +
    +
  • +
  • + class xml_node +
      +
    • + xml_node(); +

      + +
    • +
    • + bool empty() const; +
    • +
    • + operator unspecified_bool_type() const;

      + +
    • +
    • + bool operator==(const xml_node& + r) + const; +
    • +
    • + bool operator!=(const xml_node& + r) + const; +
    • +
    • + bool operator<(const xml_node& + r) + const; +
    • +
    • + bool operator>(const xml_node& + r) + const; +
    • +
    • + bool operator<=(const xml_node& + r) + const; +
    • +
    • + bool operator>=(const xml_node& + r) + const; +

      + +
    • +
    • + xml_node_type type() + const; +

      + +
    • +
    • + const char_t* name() const; +
    • +
    • + const char_t* value() const;

      + +
    • +
    • + xml_node parent() const; +
    • +
    • + xml_node first_child() const; +
    • +
    • + xml_node last_child() const; +
    • +
    • + xml_node next_sibling() const; +
    • +
    • + xml_node previous_sibling() const;

      + +
    • +
    • + xml_attribute first_attribute() const; +
    • +
    • + xml_attribute last_attribute() const;

      + +
    • +
    • + xml_node child(const char_t* + name) + const; +
    • +
    • + xml_attribute attribute(const char_t* name) const; +
    • +
    • + xml_node next_sibling(const char_t* + name) + const; +
    • +
    • + xml_node previous_sibling(const char_t* + name) + const; +
    • +
    • + xml_node find_child_by_attribute(const char_t* + name, + const char_t* attr_name, const + char_t* + attr_value) + const; +
    • +
    • + xml_node find_child_by_attribute(const char_t* + attr_name, + const char_t* attr_value) const;

      + +
    • +
    • + const char_t* child_value() const; +
    • +
    • + const char_t* child_value(const char_t* + name) + const; +

      + +
    • +
    • + typedef xml_node_iterator + iterator; +
    • +
    • + iterator begin() const; +
    • +
    • + iterator end() const;

      + +
    • +
    • + typedef xml_attribute_iterator + attribute_iterator; +
    • +
    • + attribute_iterator attributes_begin() const; +
    • +
    • + attribute_iterator attributes_end() const;

      + +
    • +
    • + bool traverse(xml_tree_walker& walker);

      + +
    • +
    • + template <typename Predicate> xml_attribute + find_attribute(Predicate + pred) + const; +
    • +
    • + template <typename Predicate> xml_node + find_child(Predicate + pred) + const; +
    • +
    • + template <typename Predicate> xml_node + find_node(Predicate + pred) + const; +

      + +
    • +
    • + string_t path(char_t + delimiter = + '/') + const; +
    • +
    • + xml_node xml_node::first_element_by_path(const char_t* + path, + char_t delimiter + = '/') const; +
    • +
    • + xml_node root() const; +
    • +
    • + ptrdiff_t offset_debug() const;

      + +
    • +
    • + bool set_name(const char_t* + rhs); +
    • +
    • + bool set_value(const char_t* + rhs); +

      + +
    • +
    • + xml_attribute append_attribute(const char_t* + name); +
    • +
    • + xml_attribute insert_attribute_after(const char_t* + name, + const xml_attribute& attr); +
    • +
    • + xml_attribute insert_attribute_before(const char_t* + name, + const xml_attribute& attr);

      + +
    • +
    • + xml_node append_child(xml_node_type + type = + node_element); +
    • +
    • + xml_node insert_child_after(xml_node_type + type, + const xml_node& node); +
    • +
    • + xml_node insert_child_before(xml_node_type + type, + const xml_node& node);

      + +
    • +
    • + xml_attribute append_copy(const xml_attribute& proto); +
    • +
    • + xml_attribute insert_copy_after(const xml_attribute& + proto, + const xml_attribute& attr); +
    • +
    • + xml_attribute insert_copy_before(const xml_attribute& + proto, + const xml_attribute& attr);

      + +
    • +
    • + xml_node append_copy(const xml_node& + proto); +
    • +
    • + xml_node insert_copy_after(const xml_node& + proto, + const xml_node& node); +
    • +
    • + xml_node insert_copy_before(const xml_node& + proto, + const xml_node& node);

      + +
    • +
    • + bool remove_attribute(const xml_attribute& + a); +
    • +
    • + bool remove_attribute(const char_t* + name); +
    • +
    • + bool remove_child(const xml_node& + n); +
    • +
    • + bool remove_child(const char_t* + name); +

      + +
    • +
    • + void print(xml_writer& writer, const + char_t* + indent = + "\t", + unsigned int + flags = + format_default, + xml_encoding encoding + = encoding_auto, unsigned + int depth + = 0) const; +
    • +
    • + void print(std::ostream& os, const + char_t* + indent = + "\t", + unsigned int + flags = + format_default, + xml_encoding encoding + = encoding_auto, unsigned + int depth + = 0) const; +
    • +
    • + void print(std::wostream& os, const + char_t* + indent = + "\t", + unsigned int + flags = + format_default, + unsigned int + depth = + 0) + const; +

      + +
    • +
    • + xpath_node select_single_node(const char_t* + query) + const; +
    • +
    • + xpath_node select_single_node(const xpath_query& + query) + const; +
    • +
    • + xpath_node_set select_nodes(const char_t* + query) + const; +
    • +
    • + xpath_node_set select_nodes(const xpath_query& + query) + const; +

      + +
    • +
    +
  • +
  • + class xml_document +
      +
    • + xml_document(); +
    • +
    • + ~xml_document();

      + +
    • +
    • + xml_parse_result load(std::istream& + stream, + unsigned int + options = + parse_default, + xml_encoding encoding + = encoding_auto); +
    • +
    • + xml_parse_result load(std::wistream& + stream, + unsigned int + options = + parse_default); +

      + +
    • +
    • + xml_parse_result load(const char_t* contents, unsigned + int options + = parse_default);

      + +
    • +
    • + xml_parse_result load_file(const char* path, unsigned + int options + = parse_default, xml_encoding + encoding = + encoding_auto); +

      + +
    • +
    • + xml_parse_result load_buffer(const void* contents, + size_t size, unsigned + int options + = parse_default, xml_encoding + encoding = + encoding_auto); +
    • +
    • + xml_parse_result load_buffer_inplace(void* contents, size_t + size, + unsigned int + options = + parse_default, + xml_encoding encoding + = encoding_auto); +
    • +
    • + xml_parse_result load_buffer_inplace_own(void* contents, size_t + size, + unsigned int + options = + parse_default, + xml_encoding encoding + = encoding_auto);

      + +
    • +
    • + bool save_file(const char* path, + const char_t* indent + = "\t", unsigned + int flags + = format_default, xml_encoding + encoding = + encoding_auto) + const; +

      + +
    • +
    • + void save(std::ostream& stream, const + char_t* + indent = + "\t", + unsigned int + flags = + format_default, + xml_encoding encoding + = encoding_auto) const; +
    • +
    • + void save(std::wostream& stream, const + char_t* + indent = + "\t", + unsigned int + flags = + format_default) + const; +

      + +
    • +
    • + void save(xml_writer& writer, const + char_t* + indent = + "\t", + unsigned int + flags = + format_default, + xml_encoding encoding + = encoding_auto) const;

      + +
    • +
    +
  • +
  • + struct xml_parse_result +
    +
  • +
  • + class xml_node_iterator +
  • +
  • + class xml_attribute_iterator +

    + +
  • +
  • + class xml_tree_walker +
      +
    • + virtual bool + begin(xml_node& node); +
    • +
    • + virtual bool + for_each(xml_node& node) = 0; +
    • +
    • + virtual bool + end(xml_node& node);

      + +
    • +
    • + int depth() const;

      + +
    • +
    +
  • +
  • + class xml_writer +
    • + virtual void + write(const void* data, + size_t size) = 0; +

      + +
    +
  • +
  • + class xml_writer_file: public xml_writer +
    +
  • +
  • + class xml_writer_stream: public xml_writer +
    +
  • +
  • + class xpath_query +
    +
  • +
  • + class xpath_exception: public std::exception +
    • + virtual const + char* + what() const + throw(); +

      + +
    +
  • +
  • + class xpath_node +
    +
  • +
  • + class xpath_node_set +
    +
  • +
+

+ Functions: +

+ +
+ + + +
+
+ + + +
pugixml 0.9 manual | + Overview | + Installation | + Document: + Object model · Loading · Accessing · Modifying · Saving | + XPath | + API Reference | + Table of Contents +
+PrevUpHomeNext +
+ + -- cgit v1.2.3