From 208a6b4ecc77932c08e5990a9cf809c5d8207b95 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 25 Jan 2009 20:54:00 +0000 Subject: Documentation updated git-svn-id: http://pugixml.googlecode.com/svn/trunk@113 99668b35-9821-0410-8761-19e4c4f06640 --- docs/html/annotated.html | 4 +- docs/html/classpugi_1_1xml__attribute-members.html | 5 +- docs/html/classpugi_1_1xml__attribute.html | 76 ++- ...sspugi_1_1xml__attribute__iterator-members.html | 3 +- .../classpugi_1_1xml__attribute__iterator.html | 3 +- docs/html/classpugi_1_1xml__document-members.html | 25 +- docs/html/classpugi_1_1xml__document.html | 53 +- docs/html/classpugi_1_1xml__node-members.html | 15 +- docs/html/classpugi_1_1xml__node.html | 584 ++++++++++++++++++++- .../classpugi_1_1xml__node__iterator-members.html | 3 +- docs/html/classpugi_1_1xml__node__iterator.html | 3 +- .../classpugi_1_1xml__tree__walker-members.html | 3 +- docs/html/classpugi_1_1xml__tree__walker.html | 3 +- docs/html/classpugi_1_1xml__writer-members.html | 3 +- docs/html/classpugi_1_1xml__writer.html | 3 +- .../classpugi_1_1xml__writer__file-members.html | 3 +- docs/html/classpugi_1_1xml__writer__file.html | 3 +- .../classpugi_1_1xml__writer__stream-members.html | 3 +- docs/html/classpugi_1_1xml__writer__stream.html | 3 +- .../classpugi_1_1xpath__exception-members.html | 3 +- docs/html/classpugi_1_1xpath__exception.html | 3 +- docs/html/classpugi_1_1xpath__node-members.html | 3 +- docs/html/classpugi_1_1xpath__node.html | 3 +- .../classpugi_1_1xpath__node__set-members.html | 3 +- docs/html/classpugi_1_1xpath__node__set.html | 3 +- docs/html/classpugi_1_1xpath__query-members.html | 3 +- docs/html/classpugi_1_1xpath__query.html | 3 +- docs/html/deprecated.html | 23 + docs/html/functions.html | 42 +- docs/html/functions_enum.html | 4 +- docs/html/functions_eval.html | 4 +- docs/html/functions_func.html | 35 +- docs/html/functions_type.html | 4 +- docs/html/functions_vars.html | 42 ++ docs/html/graph_legend.html | 3 +- docs/html/hierarchy.html | 4 +- docs/html/index.html | 3 +- docs/html/inherit__graph__10.map | 2 + docs/html/inherit__graph__10.md5 | 1 + docs/html/inherit__graph__10.png | Bin 0 -> 438 bytes docs/html/inherit__graph__4.map | 2 +- docs/html/inherit__graph__4.md5 | 2 +- docs/html/inherit__graph__4.png | Bin 492 -> 479 bytes docs/html/inherit__graph__5.map | 4 +- docs/html/inherit__graph__5.md5 | 2 +- docs/html/inherit__graph__5.png | Bin 1077 -> 492 bytes docs/html/inherit__graph__6.map | 4 +- docs/html/inherit__graph__6.md5 | 2 +- docs/html/inherit__graph__6.png | Bin 645 -> 1077 bytes docs/html/inherit__graph__7.map | 2 +- docs/html/inherit__graph__7.md5 | 2 +- docs/html/inherit__graph__7.png | Bin 404 -> 645 bytes docs/html/inherit__graph__8.map | 2 +- docs/html/inherit__graph__8.md5 | 2 +- docs/html/inherit__graph__8.png | Bin 463 -> 404 bytes docs/html/inherit__graph__9.map | 2 +- docs/html/inherit__graph__9.md5 | 2 +- docs/html/inherit__graph__9.png | Bin 438 -> 463 bytes docs/html/inherits.html | 19 +- docs/html/namespacemembers.html | 76 ++- docs/html/namespacemembers_enum.html | 7 +- docs/html/namespacemembers_eval.html | 24 +- docs/html/namespacemembers_func.html | 7 +- docs/html/namespacemembers_type.html | 40 ++ docs/html/namespacemembers_vars.html | 10 +- docs/html/namespacepugi.html | 272 +++++++++- docs/html/namespaces.html | 3 +- docs/html/pages.html | 23 + .../structpugi_1_1transfer__ownership__tag.html | 5 +- .../structpugi_1_1xml__parse__result-members.html | 31 ++ docs/html/structpugi_1_1xml__parse__result.html | 82 +++ ...ructpugi_1_1xml__parse__result__coll__graph.map | 1 + ...ructpugi_1_1xml__parse__result__coll__graph.md5 | 1 + ...ructpugi_1_1xml__parse__result__coll__graph.png | Bin 0 -> 1492 bytes docs/index.html | 30 +- 75 files changed, 1509 insertions(+), 139 deletions(-) create mode 100644 docs/html/deprecated.html create mode 100644 docs/html/functions_vars.html create mode 100644 docs/html/inherit__graph__10.map create mode 100644 docs/html/inherit__graph__10.md5 create mode 100644 docs/html/inherit__graph__10.png create mode 100644 docs/html/namespacemembers_type.html create mode 100644 docs/html/pages.html create mode 100644 docs/html/structpugi_1_1xml__parse__result-members.html create mode 100644 docs/html/structpugi_1_1xml__parse__result.html create mode 100644 docs/html/structpugi_1_1xml__parse__result__coll__graph.map create mode 100644 docs/html/structpugi_1_1xml__parse__result__coll__graph.md5 create mode 100644 docs/html/structpugi_1_1xml__parse__result__coll__graph.png (limited to 'docs') diff --git a/docs/html/annotated.html b/docs/html/annotated.html index d45c577..c49d964 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -10,6 +10,7 @@
  • Main Page
  • Namespaces
  • Classes
  • +
  • Related Pages
    • @@ -64,6 +65,9 @@ bool operator! () cons int as_int () const  Cast attribute value as int.
      +unsigned int as_uint () const + + Cast attribute value as unsigned int.
      double as_double () const  Cast attribute value as double.
      @@ -82,6 +86,9 @@ unsigned int document_orde xml_attributeoperator= (int rhs)  Set attribute value to rhs.
      +xml_attributeoperator= (unsigned int rhs) + + Set attribute value to rhs.
      xml_attributeoperator= (double rhs)  Set attribute value to rhs.
      @@ -477,6 +484,37 @@ Cast attribute value as int. +

      + + + + +
      + + + + + + + + +
      unsigned int pugi::xml_attribute::as_uint  )  const
      +
      + + + + + +
      +   + + +

      +Cast attribute value as unsigned int. +

      +

      Returns:
      attribute value as unsigned int, or 0 if conversion did not succeed or attribute is empty
      +
      Note:
      values out of non-negative int range (usually [0, 2^31-1]) get clamped to range boundaries
      +

      @@ -628,6 +666,42 @@ Set attribute value to rhs. + +
      +

      +Set attribute value to rhs. +

      +

      Parameters:
      + + +
      rhs - new attribute value
      +
      +
      Returns:
      self
      +
      +

      + + + + +
      + + + + + + + + + +
      xml_attribute& pugi::xml_attribute::operator= unsigned int  rhs  ) 
      +
      + + + +
      +   + +

      Set attribute value to rhs.

      @@ -874,7 +948,7 @@ Get attribute value.

      -


      Generated on Tue Jan 6 01:30:47 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:33 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xml__attribute__iterator-members.html b/docs/html/classpugi_1_1xml__attribute__iterator-members.html index 118253c..216a3a4 100644 --- a/docs/html/classpugi_1_1xml__attribute__iterator-members.html +++ b/docs/html/classpugi_1_1xml__attribute__iterator-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -407,7 +408,7 @@ Post-decrement operator. -
      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:33 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xml__document-members.html b/docs/html/classpugi_1_1xml__document-members.html index 8b8b707..ec1e844 100644 --- a/docs/html/classpugi_1_1xml__document-members.html +++ b/docs/html/classpugi_1_1xml__document-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -43,21 +44,21 @@ This class has noncopyable semantics (private copy ctor/assignment operator).  ~xml_document ()  Dtor.
      -bool load (std::istream &stream, unsigned int options=parse_default) +xml_parse_result load (std::istream &stream, unsigned int options=parse_default) - Load document from stream.
      -bool load (const char *contents, unsigned int options=parse_default) + Load document from stream.
      +xml_parse_result load (const char *contents, unsigned int options=parse_default) - Load document from string.
      -bool load_file (const char *name, unsigned int options=parse_default) + Load document from string.
      +xml_parse_result load_file (const char *name, unsigned int options=parse_default) - Load document from file.
      -bool parse (char *xmlstr, unsigned int options=parse_default) + Load document from file.
      +xml_parse_result parse (char *xmlstr, unsigned int options=parse_default) - Parse the given XML string in-situ.
      -bool parse (const transfer_ownership_tag &, char *xmlstr, unsigned int options=parse_default) + Parse the given XML string in-situ.
      +xml_parse_result parse (const transfer_ownership_tag &, char *xmlstr, unsigned int options=parse_default) - Parse the given XML string in-situ (gains ownership).
      + Parse the given XML string in-situ (gains ownership).
      void save (xml_writer &writer, const char *indent="\t", unsigned int flags=format_default)  Save XML to writer.
      @@ -70,13 +71,13 @@ void  Compute document order for the whole tree Sometimes this makes evaluation of XPath queries faster.

      Member Function Documentation

      -

      +

      - + @@ -112,17 +113,17 @@ Load document from stream.
      bool pugi::xml_document::load xml_parse_result pugi::xml_document::load std::istream &  stream,
      options - parsing options
      -
      Returns:
      success flag
      +
      Returns:
      parsing result
      -

      +

      - + @@ -158,17 +159,17 @@ Load document from string.
      bool pugi::xml_document::load xml_parse_result pugi::xml_document::load const char *  contents,
      options - parsing options
      -
      Returns:
      success flag
      +
      Returns:
      parsing result
      -

      +

      - + @@ -204,17 +205,17 @@ Load document from file.
      bool pugi::xml_document::load_file xml_parse_result pugi::xml_document::load_file const char *  name,
      options - parsing options
      -
      Returns:
      success flag
      +
      Returns:
      parsing result
      -

      +

      - + @@ -251,17 +252,17 @@ The string is modified; you should ensure that string data will persist througho
      bool pugi::xml_document::parse xml_parse_result pugi::xml_document::parse char *  xmlstr,
      options - parsing options
      -
      Returns:
      success flag
      +
      Returns:
      parsing result
      -

      +

      - + @@ -304,7 +305,7 @@ The string is modified; document gains ownership over the string, so you don't h
      bool pugi::xml_document::parse xml_parse_result pugi::xml_document::parse const transfer_ownership_tag ,
      options - parsing options
      -
      Returns:
      success flag
      +
      Returns:
      parsing result
      @@ -413,7 +414,7 @@ Save XML to file. -


      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xml__node-members.html b/docs/html/classpugi_1_1xml__node-members.html index 2fe2f1a..30d7e8b 100644 --- a/docs/html/classpugi_1_1xml__node-members.html +++ b/docs/html/classpugi_1_1xml__node-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -150,6 +151,15 @@ bool operator! () cons xml_attribute insert_attribute_before (const char *name, const xml_attribute &attr)  Insert attribute with specified name before attr (for element nodes).
      +xml_attribute append_copy (const xml_attribute &proto) + + Add a copy of the specified attribute (for element nodes).
      +xml_attribute insert_copy_after (const xml_attribute &proto, const xml_attribute &attr) + + Insert a copy of the specified attribute after attr (for element nodes).
      +xml_attribute insert_copy_before (const xml_attribute &proto, const xml_attribute &attr) + + Insert a copy of the specified attribute before attr (for element nodes).
      xml_node append_child (xml_node_type type=node_element)  Add child node with specified type (for element nodes).
      @@ -159,6 +169,15 @@ bool operator! () cons xml_node insert_child_before (xml_node_type type, const xml_node &node)  Insert child node with specified type before node (for element nodes).
      +xml_node append_copy (const xml_node &proto) + + Add a copy of the specified node as a child (for element nodes).
      +xml_node insert_copy_after (const xml_node &proto, const xml_node &node) + + Insert a copy of the specified node after node (for element nodes).
      +xml_node insert_copy_before (const xml_node &proto, const xml_node &node) + + Insert a copy of the specified node before node (for element nodes).
      void remove_attribute (const xml_attribute &a)  Remove specified attribute.
      @@ -203,6 +222,18 @@ bool operator! () cons xml_node find_node (Predicate pred) const  Find node from subtree using predicate.
      +xml_node find_child_by_attribute (const char *name, const char *attr_name, const char *attr_value) + + Find child node with the specified name that has specified attribute.
      +xml_node find_child_by_attribute_w (const char *name, const char *attr_name, const char *attr_value) + + Find child node with the specified name that has specified attribute (use pattern matching for node name and attribute name/value).
      +xml_node find_child_by_attribute (const char *attr_name, const char *attr_value) + + Find child node that has specified attribute.
      +xml_node find_child_by_attribute_w (const char *attr_name, const char *attr_value) + + Find child node that has specified attribute (use pattern matching for attribute name/value).
      std::string path (char delimiter= '/') const  Get the absolute node path from root as a text string.
      @@ -230,6 +261,12 @@ unsigned int document_orde void print (xml_writer &writer, const char *indent="\t", unsigned int flags=format_default, unsigned int depth=0)  Print subtree to writer.
      +void print (std::ostream &os, const char *indent="\t", unsigned int flags=format_default, unsigned int depth=0) + + Print subtree to stream.
      +int offset_debug () const + + Get node offset in parsed file/string (in bytes) for debugging purposes.

      Protected Types

      typedef xml_node_struct *xml_node::* unspecified_bool_type @@ -1536,6 +1573,134 @@ Insert attribute with specified name before attr (for element nodes). +

      + + + + +
      + + + + + + + + + +
      xml_attribute pugi::xml_node::append_copy const xml_attribute proto  ) 
      +
      + + + + + +
      +   + + +

      +Add a copy of the specified attribute (for element nodes). +

      +

      Parameters:
      + + +
      proto - attribute prototype which is to be copied
      +
      +
      Returns:
      inserted attribute, or empty attribute if there was an error (wrong node type)
      +
      +

      + + + + +
      + + + + + + + + + + + + + + + + + + +
      xml_attribute pugi::xml_node::insert_copy_after const xml_attribute proto,
      const xml_attribute attr
      +
      + + + + + +
      +   + + +

      +Insert a copy of the specified attribute after attr (for element nodes). +

      +

      Parameters:
      + + + +
      proto - attribute prototype which is to be copied
      attr - attribute to insert a new one after
      +
      +
      Returns:
      inserted attribute, or empty attribute if there was an error (wrong node type, or attr does not belong to node)
      +
      +

      + + + + +
      + + + + + + + + + + + + + + + + + + +
      xml_attribute pugi::xml_node::insert_copy_before const xml_attribute proto,
      const xml_attribute attr
      +
      + + + + + +
      +   + + +

      +Insert a copy of the specified attribute before attr (for element nodes). +

      +

      Parameters:
      + + + +
      proto - attribute prototype which is to be copied
      attr - attribute to insert a new one before
      +
      +
      Returns:
      inserted attribute, or empty attribute if there was an error (wrong node type, or attr does not belong to node)
      +

      @@ -1664,6 +1829,134 @@ Insert child node with specified type before node (for element nodes).
      +

      + + + + +
      + + + + + + + + + +
      xml_node pugi::xml_node::append_copy const xml_node proto  ) 
      +
      + + + + + +
      +   + + +

      +Add a copy of the specified node as a child (for element nodes). +

      +

      Parameters:
      + + +
      proto - node prototype which is to be copied
      +
      +
      Returns:
      inserted node, or empty node if there was an error (wrong node type)
      +
      +

      + + + + +
      + + + + + + + + + + + + + + + + + + +
      xml_node pugi::xml_node::insert_copy_after const xml_node proto,
      const xml_node node
      +
      + + + + + +
      +   + + +

      +Insert a copy of the specified node after node (for element nodes). +

      +

      Parameters:
      + + + +
      proto - node prototype which is to be copied
      node - node to insert a new one after
      +
      +
      Returns:
      inserted node, or empty node if there was an error (wrong node type, or node is not a child of this node)
      +
      +

      + + + + +
      + + + + + + + + + + + + + + + + + + +
      xml_node pugi::xml_node::insert_copy_before const xml_node proto,
      const xml_node node
      +
      + + + + + +
      +   + + +

      +Insert a copy of the specified node before node (for element nodes). +

      +

      Parameters:
      + + + +
      proto - node prototype which is to be copied
      node - node to insert a new one before
      +
      +
      Returns:
      inserted node, or empty node if there was an error (wrong node type, or node is not a child of this node)
      +

      @@ -2142,6 +2435,204 @@ Find node from subtree using predicate.
      +

      + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + +
      xml_node pugi::xml_node::find_child_by_attribute const char *  name,
      const char *  attr_name,
      const char *  attr_value
      +
      + + + + + +
      +   + + +

      +Find child node with the specified name that has specified attribute. +

      +

      Parameters:
      + + + + +
      name - child node name
      attr_name - attribute name of child node
      attr_value - attribute value of child node
      +
      +
      Returns:
      first matching child node, or empty node
      +
      +

      + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + +
      xml_node pugi::xml_node::find_child_by_attribute_w const char *  name,
      const char *  attr_name,
      const char *  attr_value
      +
      + + + + + +
      +   + + +

      +Find child node with the specified name that has specified attribute (use pattern matching for node name and attribute name/value). +

      +

      Parameters:
      + + + + +
      name - pattern for child node name
      attr_name - pattern for attribute name of child node
      attr_value - pattern for attribute value of child node
      +
      +
      Returns:
      first matching child node, or empty node
      +
      +

      + + + + +
      + + + + + + + + + + + + + + + + + + +
      xml_node pugi::xml_node::find_child_by_attribute const char *  attr_name,
      const char *  attr_value
      +
      + + + + + +
      +   + + +

      +Find child node that has specified attribute. +

      +

      Parameters:
      + + + +
      attr_name - attribute name of child node
      attr_value - attribute value of child node
      +
      +
      Returns:
      first matching child node, or empty node
      +
      +

      + + + + +
      + + + + + + + + + + + + + + + + + + +
      xml_node pugi::xml_node::find_child_by_attribute_w const char *  attr_name,
      const char *  attr_value
      +
      + + + + + +
      +   + + +

      +Find child node that has specified attribute (use pattern matching for attribute name/value). +

      +

      Parameters:
      + + + +
      attr_name - pattern for attribute name of child node
      attr_value - pattern for attribute value of child node
      +
      +
      Returns:
      first matching child node, or empty node
      +

      @@ -2466,7 +2957,98 @@ Print subtree to writer.
      -


      Generated on Tue Jan 6 01:30:47 2009 for pugixml by  +

      + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      void pugi::xml_node::print std::ostream &  os,
      const char *  indent = "\t",
      unsigned int  flags = format_default,
      unsigned int  depth = 0
      +
      + + + + + +
      +   + + +

      +Print subtree to stream. +

      +

      Parameters:
      + + + + + +
      os - output stream
      indent - indentation string
      flags - formatting flags
      depth - starting depth (used for indentation)
      +
      +
      Deprecated:
      Use print() with xml_writer_stream instead
      +
      +

      + + + + +
      + + + + + + + + +
      int pugi::xml_node::offset_debug  )  const
      +
      + + + + + +
      +   + + +

      +Get node offset in parsed file/string (in bytes) for debugging purposes. +

      +

      Returns:
      offset in bytes to start of node data, or -1 in case of error
      +
      Note:
      This will return -1 if node information changed to the extent that it's no longer possible to calculate offset, for example if element node name has significantly changed; this is guaranteed to return correct offset only for nodes that have not changed since parsing.
      +
      +


      Generated on Sun Jan 25 23:51:33 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xml__node__iterator-members.html b/docs/html/classpugi_1_1xml__node__iterator-members.html index 0c81722..5f5b2a4 100644 --- a/docs/html/classpugi_1_1xml__node__iterator-members.html +++ b/docs/html/classpugi_1_1xml__node__iterator-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -407,7 +408,7 @@ Post-decrement operator. -
      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:33 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xml__tree__walker-members.html b/docs/html/classpugi_1_1xml__tree__walker-members.html index 146a799..d00b431 100644 --- a/docs/html/classpugi_1_1xml__tree__walker-members.html +++ b/docs/html/classpugi_1_1xml__tree__walker-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -179,7 +180,7 @@ Callback that is called when traversal of node ends. -
      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:33 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xml__writer-members.html b/docs/html/classpugi_1_1xml__writer-members.html index 9719a3a..af6a934 100644 --- a/docs/html/classpugi_1_1xml__writer-members.html +++ b/docs/html/classpugi_1_1xml__writer-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -20,7 +21,7 @@

      pugi::xml_writer Member List

      This is the complete list of members for pugi::xml_writer, including all inherited members.

      -
      write(const void *data, size_t size)=0pugi::xml_writer [pure virtual]
      ~xml_writer()pugi::xml_writer [inline, virtual]


      Generated on Tue Jan 6 01:30:47 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:32 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xml__writer.html b/docs/html/classpugi_1_1xml__writer.html index 898d0b2..04f851a 100644 --- a/docs/html/classpugi_1_1xml__writer.html +++ b/docs/html/classpugi_1_1xml__writer.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -89,7 +90,7 @@ Write memory chunk into stream/file/whatever. Implemented in pugi::xml_writer_file, and pugi::xml_writer_stream. -
      Generated on Tue Jan 6 01:30:47 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:32 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xml__writer__file-members.html b/docs/html/classpugi_1_1xml__writer__file-members.html index d07e82f..75b55a5 100644 --- a/docs/html/classpugi_1_1xml__writer__file-members.html +++ b/docs/html/classpugi_1_1xml__writer__file-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -127,7 +128,7 @@ Write memory chunk into stream/file/whatever. Implements pugi::xml_writer. -
      Generated on Tue Jan 6 01:30:47 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:32 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xml__writer__stream-members.html b/docs/html/classpugi_1_1xml__writer__stream-members.html index fb39b61..a06ca29 100644 --- a/docs/html/classpugi_1_1xml__writer__stream-members.html +++ b/docs/html/classpugi_1_1xml__writer__stream-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -127,7 +128,7 @@ Write memory chunk into stream/file/whatever. Implements pugi::xml_writer. -
      Generated on Tue Jan 6 01:30:47 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:33 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xpath__exception-members.html b/docs/html/classpugi_1_1xpath__exception-members.html index f2c33e4..887d7ce 100644 --- a/docs/html/classpugi_1_1xpath__exception-members.html +++ b/docs/html/classpugi_1_1xpath__exception-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -20,7 +21,7 @@

      pugi::xpath_exception Member List

      This is the complete list of members for pugi::xpath_exception, including all inherited members.

      -
      what() const pugi::xpath_exception [virtual]
      xpath_exception(const char *message)pugi::xpath_exception [explicit]


      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xpath__exception.html b/docs/html/classpugi_1_1xpath__exception.html index adde857..33d3ee6 100644 --- a/docs/html/classpugi_1_1xpath__exception.html +++ b/docs/html/classpugi_1_1xpath__exception.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -101,7 +102,7 @@ Return error message. -
      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xpath__node-members.html b/docs/html/classpugi_1_1xpath__node-members.html index cd88688..ead4619 100644 --- a/docs/html/classpugi_1_1xpath__node-members.html +++ b/docs/html/classpugi_1_1xpath__node-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -334,7 +335,7 @@ Compares two XPath nodes. -
      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xpath__node__set-members.html b/docs/html/classpugi_1_1xpath__node__set-members.html index aa22e77..dd9711c 100644 --- a/docs/html/classpugi_1_1xpath__node__set-members.html +++ b/docs/html/classpugi_1_1xpath__node__set-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -406,7 +407,7 @@ Return true if collection is empty. -
      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/classpugi_1_1xpath__query-members.html b/docs/html/classpugi_1_1xpath__query-members.html index 0d6a9d6..bc8d38f 100644 --- a/docs/html/classpugi_1_1xpath__query-members.html +++ b/docs/html/classpugi_1_1xpath__query-members.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -232,7 +233,7 @@ If expression does not directly evaluate to node set, function returns empty nod -
      Generated on Tue Jan 6 01:30:47 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:32 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/deprecated.html b/docs/html/deprecated.html new file mode 100644 index 0000000..462e54b --- /dev/null +++ b/docs/html/deprecated.html @@ -0,0 +1,23 @@ + + +pugixml: Deprecated List + + + + + +

      Deprecated List

      +
      Member pugi::xml_node::print (std::ostream &os, const char *indent="", unsigned int flags=format_default, unsigned int depth=0)
      +
      Use print() with xml_writer_stream instead
      +
      +
      Generated on Sun Jan 25 23:51:32 2009 for pugixml by  + +doxygen 1.4.6-NO
      + + diff --git a/docs/html/functions.html b/docs/html/functions.html index b30a864..40db2d4 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages

    - e -

    - n -

    - o -

    - r -

    +: pugi::xpath_node_set
  • status +: pugi::xml_parse_result

    - t -

    -
    Generated on Tue Jan 6 01:30:46 2009 for pugixml by  +
    Generated on Sun Jan 25 23:51:32 2009 for pugixml by  doxygen 1.4.6-NO
    diff --git a/docs/html/functions_enum.html b/docs/html/functions_enum.html index 0e31c9d..db3cc21 100644 --- a/docs/html/functions_enum.html +++ b/docs/html/functions_enum.html @@ -10,6 +10,7 @@
  • Main Page
  • Namespaces
  • Classes
  • +
  • Related Pages
  • - e -

    - l -

    +: pugi::xml_document
  • load_file() +: pugi::xml_document

    - n -

    - o -

    - r -

    -
    Generated on Tue Jan 6 01:30:46 2009 for pugixml by  +
    Generated on Sun Jan 25 23:51:32 2009 for pugixml by  doxygen 1.4.6-NO
    diff --git a/docs/html/functions_type.html b/docs/html/functions_type.html index fbca4af..868b3c4 100644 --- a/docs/html/functions_type.html +++ b/docs/html/functions_type.html @@ -10,6 +10,7 @@
  • Main Page
  • Namespaces
  • Classes
  • +
  • Related Pages
  • Graph Legend

    This page explains how to interpret the graphs that are generated by doxygen.

    Consider the following example:

    /*! Invisible class because of truncation */
    @@ -73,7 +74,7 @@ A purple dashed arrow is used if a class is contained or used by another class.
     
  • A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.
  • -
    Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
    Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
    diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html index 422abc0..468f0ce 100644 --- a/docs/html/hierarchy.html +++ b/docs/html/hierarchy.html @@ -10,6 +10,7 @@
  • Main Page
  • Namespaces
  • Classes
  • +
  • Related Pages
  • pugixml Documentation

    -

    0.4


    Generated on Tue Jan 6 01:30:46 2009 for pugixml by  +

    0.4


    Generated on Sun Jan 25 23:51:32 2009 for pugixml by  doxygen 1.4.6-NO
    diff --git a/docs/html/inherit__graph__10.map b/docs/html/inherit__graph__10.map new file mode 100644 index 0000000..dcf3277 --- /dev/null +++ b/docs/html/inherit__graph__10.map @@ -0,0 +1,2 @@ +base referer +rect $classpugi_1_1xpath__query.html 7,5 135,32 diff --git a/docs/html/inherit__graph__10.md5 b/docs/html/inherit__graph__10.md5 new file mode 100644 index 0000000..563962a --- /dev/null +++ b/docs/html/inherit__graph__10.md5 @@ -0,0 +1 @@ +965d93716ac65e345066d158b1bec3f1 \ No newline at end of file diff --git a/docs/html/inherit__graph__10.png b/docs/html/inherit__graph__10.png new file mode 100644 index 0000000..74b84c3 Binary files /dev/null and b/docs/html/inherit__graph__10.png differ diff --git a/docs/html/inherit__graph__4.map b/docs/html/inherit__graph__4.map index ba579db..cc83652 100644 --- a/docs/html/inherit__graph__4.map +++ b/docs/html/inherit__graph__4.map @@ -1,2 +1,2 @@ base referer -rect $classpugi_1_1xml__tree__walker.html 7,5 159,32 +rect $structpugi_1_1xml__parse__result.html 5,5 163,32 diff --git a/docs/html/inherit__graph__4.md5 b/docs/html/inherit__graph__4.md5 index 0ef35dc..79204f0 100644 --- a/docs/html/inherit__graph__4.md5 +++ b/docs/html/inherit__graph__4.md5 @@ -1 +1 @@ -660d4318c9e8103b2831b4787c62da46 \ No newline at end of file +8d5cdbda0d275bdc4a6a9d4801f62ff3 \ No newline at end of file diff --git a/docs/html/inherit__graph__4.png b/docs/html/inherit__graph__4.png index 49b5d10..27b1412 100644 Binary files a/docs/html/inherit__graph__4.png and b/docs/html/inherit__graph__4.png differ diff --git a/docs/html/inherit__graph__5.map b/docs/html/inherit__graph__5.map index 598e16e..ba579db 100644 --- a/docs/html/inherit__graph__5.map +++ b/docs/html/inherit__graph__5.map @@ -1,4 +1,2 @@ base referer -rect $classpugi_1_1xml__writer.html 5,31 123,57 -rect $classpugi_1_1xml__writer__file.html 183,5 324,32 -rect $classpugi_1_1xml__writer__stream.html 171,56 336,83 +rect $classpugi_1_1xml__tree__walker.html 7,5 159,32 diff --git a/docs/html/inherit__graph__5.md5 b/docs/html/inherit__graph__5.md5 index c6b148c..0ef35dc 100644 --- a/docs/html/inherit__graph__5.md5 +++ b/docs/html/inherit__graph__5.md5 @@ -1 +1 @@ -cd186852877697b817500f6ed3886a95 \ No newline at end of file +660d4318c9e8103b2831b4787c62da46 \ No newline at end of file diff --git a/docs/html/inherit__graph__5.png b/docs/html/inherit__graph__5.png index 7071b23..49b5d10 100644 Binary files a/docs/html/inherit__graph__5.png and b/docs/html/inherit__graph__5.png differ diff --git a/docs/html/inherit__graph__6.map b/docs/html/inherit__graph__6.map index 8779b74..598e16e 100644 --- a/docs/html/inherit__graph__6.map +++ b/docs/html/inherit__graph__6.map @@ -1,2 +1,4 @@ base referer -rect $classpugi_1_1xpath__exception.html 135,5 287,32 +rect $classpugi_1_1xml__writer.html 5,31 123,57 +rect $classpugi_1_1xml__writer__file.html 183,5 324,32 +rect $classpugi_1_1xml__writer__stream.html 171,56 336,83 diff --git a/docs/html/inherit__graph__6.md5 b/docs/html/inherit__graph__6.md5 index 68b862c..c6b148c 100644 --- a/docs/html/inherit__graph__6.md5 +++ b/docs/html/inherit__graph__6.md5 @@ -1 +1 @@ -fffb0beaca2cbe6da35b67b995ae9ff1 \ No newline at end of file +cd186852877697b817500f6ed3886a95 \ No newline at end of file diff --git a/docs/html/inherit__graph__6.png b/docs/html/inherit__graph__6.png index 18b58ff..7071b23 100644 Binary files a/docs/html/inherit__graph__6.png and b/docs/html/inherit__graph__6.png differ diff --git a/docs/html/inherit__graph__7.map b/docs/html/inherit__graph__7.map index 9fa9db1..8779b74 100644 --- a/docs/html/inherit__graph__7.map +++ b/docs/html/inherit__graph__7.map @@ -1,2 +1,2 @@ base referer -rect $classpugi_1_1xpath__node.html 5,5 131,32 +rect $classpugi_1_1xpath__exception.html 135,5 287,32 diff --git a/docs/html/inherit__graph__7.md5 b/docs/html/inherit__graph__7.md5 index 2019dc5..68b862c 100644 --- a/docs/html/inherit__graph__7.md5 +++ b/docs/html/inherit__graph__7.md5 @@ -1 +1 @@ -0a388cc004e983eab729bc6d5c666cce \ No newline at end of file +fffb0beaca2cbe6da35b67b995ae9ff1 \ No newline at end of file diff --git a/docs/html/inherit__graph__7.png b/docs/html/inherit__graph__7.png index 597e2f5..18b58ff 100644 Binary files a/docs/html/inherit__graph__7.png and b/docs/html/inherit__graph__7.png differ diff --git a/docs/html/inherit__graph__8.map b/docs/html/inherit__graph__8.map index 3f5400b..9fa9db1 100644 --- a/docs/html/inherit__graph__8.map +++ b/docs/html/inherit__graph__8.map @@ -1,2 +1,2 @@ base referer -rect $classpugi_1_1xpath__node__set.html 5,5 155,32 +rect $classpugi_1_1xpath__node.html 5,5 131,32 diff --git a/docs/html/inherit__graph__8.md5 b/docs/html/inherit__graph__8.md5 index e3b0507..2019dc5 100644 --- a/docs/html/inherit__graph__8.md5 +++ b/docs/html/inherit__graph__8.md5 @@ -1 +1 @@ -7052cf580394885a252e97fd06476596 \ No newline at end of file +0a388cc004e983eab729bc6d5c666cce \ No newline at end of file diff --git a/docs/html/inherit__graph__8.png b/docs/html/inherit__graph__8.png index ec162c8..597e2f5 100644 Binary files a/docs/html/inherit__graph__8.png and b/docs/html/inherit__graph__8.png differ diff --git a/docs/html/inherit__graph__9.map b/docs/html/inherit__graph__9.map index dcf3277..3f5400b 100644 --- a/docs/html/inherit__graph__9.map +++ b/docs/html/inherit__graph__9.map @@ -1,2 +1,2 @@ base referer -rect $classpugi_1_1xpath__query.html 7,5 135,32 +rect $classpugi_1_1xpath__node__set.html 5,5 155,32 diff --git a/docs/html/inherit__graph__9.md5 b/docs/html/inherit__graph__9.md5 index 563962a..e3b0507 100644 --- a/docs/html/inherit__graph__9.md5 +++ b/docs/html/inherit__graph__9.md5 @@ -1 +1 @@ -965d93716ac65e345066d158b1bec3f1 \ No newline at end of file +7052cf580394885a252e97fd06476596 \ No newline at end of file diff --git a/docs/html/inherit__graph__9.png b/docs/html/inherit__graph__9.png index 74b84c3..ec162c8 100644 Binary files a/docs/html/inherit__graph__9.png and b/docs/html/inherit__graph__9.png differ diff --git a/docs/html/inherits.html b/docs/html/inherits.html index f98266c..f952859 100644 --- a/docs/html/inherits.html +++ b/docs/html/inherits.html @@ -10,6 +10,7 @@
  • Main Page
  • Namespaces
  • Classes
  • +
  • Related Pages
    • @@ -38,34 +39,38 @@ - + + + + + - + - + - + - + - + -
      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/namespacemembers.html b/docs/html/namespacemembers.html index 90e7fd6..6948683 100644 --- a/docs/html/namespacemembers.html +++ b/docs/html/namespacemembers.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
    +
    + +
    + +

    Here is a list of all documented namespace members with links to the namespaces they belong to:

    -

      -
    • as_utf16() +

      - a -

        +
      • allocation_function +: pugi
      • as_utf16() : pugi
      • as_utf8() -: pugi
      • format_default +: pugi
      +

      - d -

        +
      • deallocation_function +: pugi
      +

      - f -

        +
      • format_default : pugi
      • format_indent -: pugi
      • format_raw +: pugi
      • format_no_declaration +: pugi
      • format_raw : pugi
      • format_write_bom_utf8 -: pugi
      • memory_block_size -: pugi
      • node_cdata +: pugi
      +

      - m -

        +
      • memory_block_size +: pugi
      +

      - n -

      +

      - p -

        +
      • parse_cdata : pugi
      • parse_comments -: pugi
      • parse_default +: pugi
      • parse_declaration +: pugi
      • parse_default : pugi
      • parse_eol : pugi
      • parse_escapes : pugi
      • parse_minimal @@ -52,9 +83,30 @@ Here is a list of all documented namespace members with links to the namespaces : pugi
      • parse_wconv_attribute : pugi
      • parse_wnorm_attribute : pugi
      • parse_ws_pcdata -: pugi
      • xml_node_type -: pugi
      -
      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +: pugi
    +

    - s -

      +
    • set_memory_management_functions() +: pugi
    • status_bad_attribute +: pugi
    • status_bad_cdata +: pugi
    • status_bad_comment +: pugi
    • status_bad_doctype +: pugi
    • status_bad_end_element +: pugi
    • status_bad_pcdata +: pugi
    • status_bad_pi +: pugi
    • status_bad_start_element +: pugi
    • status_end_element_mismatch +: pugi
    • status_file_not_found +: pugi
    • status_internal_error +: pugi
    • status_io_error +: pugi
    • status_ok +: pugi
    • status_out_of_memory +: pugi
    • status_unrecognized_tag +: pugi
    +

    - x -

      +
    • xml_node_type +: pugi
    • xml_parse_status +: pugi
    +
    Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
    diff --git a/docs/html/namespacemembers_enum.html b/docs/html/namespacemembers_enum.html index 7867657..df8ac0d 100644 --- a/docs/html/namespacemembers_enum.html +++ b/docs/html/namespacemembers_enum.html @@ -10,6 +10,7 @@
  • Main Page
  • Namespaces
  • Classes
  • +
  • Related Pages
  • @@ -29,8 +31,9 @@

    • xml_node_type -: pugi
    -
    Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +: pugi
  • xml_parse_status +: pugi +
    Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
    diff --git a/docs/html/namespacemembers_eval.html b/docs/html/namespacemembers_eval.html index 68f8128..3cea1e7 100644 --- a/docs/html/namespacemembers_eval.html +++ b/docs/html/namespacemembers_eval.html @@ -10,6 +10,7 @@
  • Main Page
  • Namespaces
  • Classes
  • +
  • Related Pages
  • @@ -30,13 +32,29 @@ -
    Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +: pugi
  • status_bad_attribute +: pugi
  • status_bad_cdata +: pugi
  • status_bad_comment +: pugi
  • status_bad_doctype +: pugi
  • status_bad_end_element +: pugi
  • status_bad_pcdata +: pugi
  • status_bad_pi +: pugi
  • status_bad_start_element +: pugi
  • status_end_element_mismatch +: pugi
  • status_file_not_found +: pugi
  • status_internal_error +: pugi
  • status_io_error +: pugi
  • status_ok +: pugi
  • status_out_of_memory +: pugi
  • status_unrecognized_tag +: pugi +
    Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
    diff --git a/docs/html/namespacemembers_func.html b/docs/html/namespacemembers_func.html index 98a83fb..916cc14 100644 --- a/docs/html/namespacemembers_func.html +++ b/docs/html/namespacemembers_func.html @@ -10,6 +10,7 @@
  • Main Page
  • Namespaces
  • Classes
  • +
  • Related Pages
  • @@ -30,8 +32,9 @@ -
    Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +: pugi
  • set_memory_management_functions() +: pugi +
    Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
    diff --git a/docs/html/namespacemembers_type.html b/docs/html/namespacemembers_type.html new file mode 100644 index 0000000..3c08812 --- /dev/null +++ b/docs/html/namespacemembers_type.html @@ -0,0 +1,40 @@ + + +pugixml: Class Members + + + + + + + +  +

    +

      +
    • allocation_function +: pugi
    • deallocation_function +: pugi
    +
    Generated on Sun Jan 25 23:51:34 2009 for pugixml by  + +doxygen 1.4.6-NO
    + + diff --git a/docs/html/namespacemembers_vars.html b/docs/html/namespacemembers_vars.html index 4635bed..f1ad4f4 100644 --- a/docs/html/namespacemembers_vars.html +++ b/docs/html/namespacemembers_vars.html @@ -10,6 +10,7 @@
  • Main Page
  • Namespaces
  • Classes
  • +
  • Related Pages
  • @@ -30,12 +32,14 @@
    • format_default : pugi
    • format_indent -: pugi
    • format_raw +: pugi
    • format_no_declaration +: pugi
    • format_raw : pugi
    • format_write_bom_utf8 : pugi
    • memory_block_size : pugi
    • parse_cdata : pugi
    • parse_comments -: pugi
    • parse_default +: pugi
    • parse_declaration +: pugi
    • parse_default : pugi
    • parse_eol : pugi
    • parse_escapes : pugi
    • parse_minimal @@ -44,7 +48,7 @@ : pugi
    • parse_wnorm_attribute : pugi
    • parse_ws_pcdata : pugi
    -
    Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
    Generated on Sun Jan 25 23:51:34 2009 for pugixml by  doxygen 1.4.6-NO
    diff --git a/docs/html/namespacepugi.html b/docs/html/namespacepugi.html index bfba1cf..b7d9c12 100644 --- a/docs/html/namespacepugi.html +++ b/docs/html/namespacepugi.html @@ -10,6 +10,7 @@
  • Main Page
  • Namespaces
  • Classes
  • +
  • Related Pages
    • @@ -56,6 +57,9 @@ The PugiXML Parser namespace. struct  transfer_ownership_tag  Struct used to distinguish parsing with ownership transfer from parsing without it. More...
      +struct  xml_parse_result + + Parser result. More...
      class  xml_document  Document class (DOM tree root). More...
      @@ -68,6 +72,13 @@ The PugiXML Parser namespace. class  xpath_node_set  Not necessarily ordered constant collection of XPath nodes. More...
      +

      Typedefs

      +typedef void *(* allocation_function )(size_t size) + + Memory allocation function.
      +typedef void(* deallocation_function )(void *ptr) + + Memory deallocation function.

      Enumerations

      enum  xml_node_type {
        node_null, @@ -77,11 +88,35 @@ The PugiXML Parser namespace.
        node_cdata, node_comment, -node_pi +node_pi, +node_declaration
      }  Tree node classification. More...
      +enum  xml_parse_status {
      +  status_ok = 0, +status_file_not_found, +status_io_error, +status_out_of_memory, +
      +  status_internal_error, +status_unrecognized_tag, +status_bad_pi, +status_bad_comment, +
      +  status_bad_cdata, +status_bad_doctype, +status_bad_pcdata, +status_bad_start_element, +
      +  status_bad_attribute, +status_bad_end_element, +status_end_element_mismatch +
      + } + + Parsing status enumeration, returned as part of xml_parse_result struct. More...

      Functions

      std::string as_utf8 (const wchar_t *str) @@ -89,6 +124,9 @@ The PugiXML Parser namespace. std::wstring as_utf16 (const char *str)  Convert utf8 to utf16.
      +void set_memory_management_functions (allocation_function allocate, deallocation_function deallocate) + + Override default memory management functions.

      Variables

      const size_t memory_block_size = 32768 @@ -120,6 +158,9 @@ The PugiXML Parser namespace. const unsigned int parse_wconv_attribute = 0x0080  This flag determines if attribute value normalization should be performed for all attributes, assuming that their type is CDATA.
      +const unsigned int parse_declaration = 0x0100 + + This flag determines if XML document declaration (this node has the form of <?xml .
      const unsigned int parse_default = parse_cdata | parse_escapes | parse_wconv_attribute | parse_eol  This is the default set of flags.
      @@ -132,10 +173,75 @@ The PugiXML Parser namespace. const unsigned int format_raw = 0x04  If this flag is on, no indentation is performed and no line breaks are written to output file.
      +const unsigned int format_no_declaration = 0x08 + + If this flag is on, no default XML declaration is written to output file.
      const unsigned int format_default = format_indent  This is the default set of formatting flags.
      +

      Typedef Documentation

      +

      + + + + +
      + + + + +
      typedef void*(* pugi::allocation_function)(size_t size)
      +
      + + + + + +
      +   + + +

      +Memory allocation function. +

      +

      Parameters:
      + + +
      size - allocation size
      +
      +
      Returns:
      pointer to allocated memory on success, NULL on failure
      +
      +

      + + + + +
      + + + + +
      typedef void(* pugi::deallocation_function)(void *ptr)
      +
      + + + + + +
      +   + + +

      +Memory deallocation function. +

      +

      Parameters:
      + + +
      ptr - pointer to memory previously allocated by allocation function
      +
      +


      Enumeration Type Documentation

      @@ -175,6 +281,67 @@ E.g. '<![CDATA[...]]>'. E.g. ''. + +
      node_pi  E.g. '<?...?>'.
      node_declaration  +E.g. '<?xml ...?>'.
      + + + + +

      + + + + +
      + + + + +
      enum pugi::xml_parse_status
      +
      + + + + @@ -253,6 +420,54 @@ Convert utf8 to utf16.
      +   + + +

      +Parsing status enumeration, returned as part of xml_parse_result struct. +

      +

      Enumerator:
      + + + + + + + + + + + + + + + +
      status_ok  +No error.
      status_file_not_found  +File was not found during load_file().
      status_io_error  +Error reading from file/stream.
      status_out_of_memory  +Could not allocate memory.
      status_internal_error  +Internal error occured.
      status_unrecognized_tag  +Parser could not determine tag type.
      status_bad_pi  +Parsing error occured while parsing document declaration/processing instruction (<?...?>).
      status_bad_comment  +Parsing error occured while parsing comment ().
      status_bad_cdata  +Parsing error occured while parsing CDATA section (<![CDATA[...]]>).
      status_bad_doctype  +Parsing error occured while parsing document type declaration.
      status_bad_pcdata  +Parsing error occured while parsing PCDATA section (>...<).
      status_bad_start_element  +Parsing error occured while parsing start element tag (<name ...>).
      status_bad_attribute  +Parsing error occured while parsing element attribute.
      status_bad_end_element  +Parsing error occured while parsing end element tag (</name>).
      status_end_element_mismatch  +There was a mismatch of start-end tags (closing tag had incorrect name, some tag was not closed or there was an excessive closing tag).
      +

      + + + + +
      + + + + + + + + + + + + + + + + + + +
      void pugi::set_memory_management_functions allocation_function  allocate,
      deallocation_function  deallocate
      +
      + + + + + +
      +   + + +

      +Override default memory management functions. +

      +All subsequent allocations/deallocations will be performed via supplied functions. Take care not to change memory management functions if any xml_document instances are still alive - this is considered undefined behaviour (expect crashes/memory damages/etc.).

      +

      Parameters:
      + + + +
      allocate - allocation function
      deallocate - deallocation function
      +
      +
      Note:
      XPath-related allocations, as well as allocations in functions that return std::string (xml_node::path, as_utf8, as_utf16) are not performed via these functions.

      +If you're using parse() with ownership transfer, you have to allocate the buffer you pass to parse() with allocation function you set via this function.

      +


      Variable Documentation

      @@ -515,6 +730,33 @@ This means, that whitespace characters (new line, tab and space) are replaced wi This flag is on by default.
      +

      + + + + +
      + + + + +
      const unsigned int pugi::parse_declaration = 0x0100
      +
      + + + + + +
      +   + + +

      +This flag determines if XML document declaration (this node has the form of <?xml . +

      +.. ?> in XML) are to be put in DOM tree. If this flag is off, it is not put in the tree, but is still parsed and checked for correctness.

      +The corresponding node in DOM tree will have type node_declaration, name "xml" and attributes, if any.

      +This flag is off by default.

      @@ -616,6 +858,32 @@ This means that the data is written to output stream as is.

      This flag is off by default.

      +

      + + + + +
      + + + + +
      const unsigned int pugi::format_no_declaration = 0x08
      +
      + + + + + +
      +   + + +

      +If this flag is on, no default XML declaration is written to output file. +

      +This means that there will be no XML declaration in output stream unless there was one in XML document (i.e. if it was parsed with parse_declaration flag).

      +This flag is off by default.

      @@ -641,7 +909,7 @@ This is the default set of formatting flags. It includes indenting nodes depending on their depth in DOM tree.
      -


      Generated on Tue Jan 6 01:30:46 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:32 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/namespaces.html b/docs/html/namespaces.html index 745598e..a93cd8d 100644 --- a/docs/html/namespaces.html +++ b/docs/html/namespaces.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -19,7 +20,7 @@

      pugixml Namespace List

      Here is a list of all documented namespaces with brief descriptions:
      pugiThe PugiXML Parser namespace
      -
      Generated on Tue Jan 6 01:30:46 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:32 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/pages.html b/docs/html/pages.html new file mode 100644 index 0000000..c77f4b6 --- /dev/null +++ b/docs/html/pages.html @@ -0,0 +1,23 @@ + + +pugixml: Page Index + + + + + +

      pugixml Related Pages

      Here is a list of all related documentation pages: +
      Generated on Sun Jan 25 23:51:34 2009 for pugixml by  + +doxygen 1.4.6-NO
      + + diff --git a/docs/html/structpugi_1_1transfer__ownership__tag.html b/docs/html/structpugi_1_1transfer__ownership__tag.html index ed9f744..ea734f4 100644 --- a/docs/html/structpugi_1_1transfer__ownership__tag.html +++ b/docs/html/structpugi_1_1transfer__ownership__tag.html @@ -10,6 +10,7 @@
    • Main Page
    • Namespaces
    • Classes
    • +
    • Related Pages
      @@ -22,13 +23,13 @@

      pugi::transfer_ownership_tag Struct Reference


      Detailed Description

      Struct used to distinguish parsing with ownership transfer from parsing without it.

      -

      See also:
      xml_document::parse
      +
      See also:
      xml_document::parse

      -


      Generated on Tue Jan 6 01:30:48 2009 for pugixml by  +
      Generated on Sun Jan 25 23:51:33 2009 for pugixml by  doxygen 1.4.6-NO
      diff --git a/docs/html/structpugi_1_1xml__parse__result-members.html b/docs/html/structpugi_1_1xml__parse__result-members.html new file mode 100644 index 0000000..6163a9c --- /dev/null +++ b/docs/html/structpugi_1_1xml__parse__result-members.html @@ -0,0 +1,31 @@ + + +pugixml: Member List + + + + + + +

      pugi::xml_parse_result Member List

      This is the complete list of members for pugi::xml_parse_result, including all inherited members.

      + + + + + +
      description() const pugi::xml_parse_result
      linepugi::xml_parse_result
      offsetpugi::xml_parse_result
      operator bool() const pugi::xml_parse_result [inline]
      statuspugi::xml_parse_result


      Generated on Sun Jan 25 23:51:33 2009 for pugixml by  + +doxygen 1.4.6-NO
      + + diff --git a/docs/html/structpugi_1_1xml__parse__result.html b/docs/html/structpugi_1_1xml__parse__result.html new file mode 100644 index 0000000..b99c4c3 --- /dev/null +++ b/docs/html/structpugi_1_1xml__parse__result.html @@ -0,0 +1,82 @@ + + +pugixml: pugi::xml_parse_result Struct Reference + + + + + + + +

      pugi::xml_parse_result Struct Reference

      Collaboration diagram for pugi::xml_parse_result:

      Collaboration graph
      +
      [legend]
      List of all members.

      Detailed Description

      +Parser result. +

      + + + + + + + + + + + + + + + + + + + +

      Public Member Functions

      operator bool () const
       Cast to bool operator.
      +const char * description () const
       Get error description.

      Public Attributes

      xml_parse_status status
       Parsing status (.
      +unsigned int offset
       Last parsed offset (in bytes from file/string start).
      +unsigned int line
       Line in parser source which reported this.
      +


      Member Data Documentation

      +

      + + + + +
      + + + + +
      xml_parse_status pugi::xml_parse_result::status
      +
      + + + + + +
      +   + + +

      +Parsing status (. +

      +

      See also:
      xml_parse_status)
      +
      +


      Generated on Sun Jan 25 23:51:33 2009 for pugixml by  + +doxygen 1.4.6-NO
      + + diff --git a/docs/html/structpugi_1_1xml__parse__result__coll__graph.map b/docs/html/structpugi_1_1xml__parse__result__coll__graph.map new file mode 100644 index 0000000..5a14779 --- /dev/null +++ b/docs/html/structpugi_1_1xml__parse__result__coll__graph.map @@ -0,0 +1 @@ +base referer diff --git a/docs/html/structpugi_1_1xml__parse__result__coll__graph.md5 b/docs/html/structpugi_1_1xml__parse__result__coll__graph.md5 new file mode 100644 index 0000000..9a50606 --- /dev/null +++ b/docs/html/structpugi_1_1xml__parse__result__coll__graph.md5 @@ -0,0 +1 @@ +99177c6e3465e9dcc790fb998cc55dc9 \ No newline at end of file diff --git a/docs/html/structpugi_1_1xml__parse__result__coll__graph.png b/docs/html/structpugi_1_1xml__parse__result__coll__graph.png new file mode 100644 index 0000000..4b39440 Binary files /dev/null and b/docs/html/structpugi_1_1xml__parse__result__coll__graph.png differ diff --git a/docs/index.html b/docs/index.html index 9295147..c83bb6b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -640,6 +640,32 @@ if necessary)
    +
    18.01.2009 - v0.4 +
    Changes:
      +
    • Bugs:
        +
      • Documentation fix in samples for parse() with manual lifetime control +
      • Fixed document order sorting in XPath (it caused wrong order of nodes after xpath_node_set::sort and wrong results of some XPath queries) +
      +
    • Node printing changes:
        +
      • Single quotes are no longer escaped when printing nodes +
      • Symbols in second half of ASCII table are no longer escaped when printing nodes; because of this, format_utf8 flag is deleted as it's no longer needed and +format_write_bom is renamed to format_write_bom_utf8. +
      • Reworked node printing - now it works via xml_writer interface; implementations for FILE* and std::ostream are available. As a side-effect, xml_document::save_file +now works without STL. +
      +
    • New features:
        +
      • Added unsigned integer support for attributes (xml_attribute::as_uint, xml_attribute::operator=) +
      • Now document declaration (<?xml ...?>) is parsed as node with type node_declaration when parse_declaration flag is specified (access to encoding/version is performed as if they +were attributes, i.e. doc.child("xml").attribute("version").as_float()); corresponding flags for node printing were also added +
      • Added support for custom memory management (see set_memory_management_functions for details) +
      • Implemented node/attribute copying (see xml_node::insert_copy_* and xml_node::append_copy for details) +
      • Added find_child_by_attribute and find_child_by_attribute_w to simplify parsing code in some cases (i.e. COLLADA files) +
      • Added file offset information querying for debugging purposes (now you're able to determine exact location of any xml_node in parsed file, see xml_node::offset_debug for details) +
      • Improved error handling for parsing - now load(), load_file() and parse() return xml_parse_result, which contains error code and last parsed offset; this does not break old interface as xml_parse_result can be implicitly casted to bool. +
      +
    +
    +
    @@ -686,7 +712,7 @@ OTHER DEALINGS IN THE SOFTWARE.
    -

    Revised 31 October, 2007

    -

    © Copyright Arseny Kapoulkine 2006-2007. All Rights Reserved.

    +

    Revised 18 January, 2009

    +

    © Copyright Arseny Kapoulkine 2006-2009. All Rights Reserved.

    -- cgit v1.2.3