From 618dfb51d93898632830f1b87443d3f748780871 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:05:53 +0200 Subject: 3.5 --- shared/tinyxml/docs/annotated.html | 59 +- .../tinyxml/docs/classTiXmlAttribute-members.html | 109 +- shared/tinyxml/docs/classTiXmlAttribute.html | 268 +++-- shared/tinyxml/docs/classTiXmlAttribute.png | Bin 375 -> 401 bytes shared/tinyxml/docs/classTiXmlBase-members.html | 73 +- shared/tinyxml/docs/classTiXmlBase.html | 276 +++-- shared/tinyxml/docs/classTiXmlBase.png | Bin 1445 -> 1470 bytes shared/tinyxml/docs/classTiXmlComment-members.html | 201 ++-- shared/tinyxml/docs/classTiXmlComment.html | 163 +-- shared/tinyxml/docs/classTiXmlComment.png | Bin 467 -> 518 bytes .../docs/classTiXmlDeclaration-members.html | 209 ++-- shared/tinyxml/docs/classTiXmlDeclaration.html | 200 ++-- shared/tinyxml/docs/classTiXmlDeclaration.png | Bin 503 -> 557 bytes .../tinyxml/docs/classTiXmlDocument-members.html | 239 ++-- shared/tinyxml/docs/classTiXmlDocument.html | 497 ++++---- shared/tinyxml/docs/classTiXmlDocument.png | Bin 480 -> 535 bytes shared/tinyxml/docs/classTiXmlElement-members.html | 235 ++-- shared/tinyxml/docs/classTiXmlElement.html | 453 ++++---- shared/tinyxml/docs/classTiXmlElement.png | Bin 468 -> 514 bytes shared/tinyxml/docs/classTiXmlHandle-members.html | 89 +- shared/tinyxml/docs/classTiXmlHandle.html | 409 ++++--- shared/tinyxml/docs/classTiXmlNode-members.html | 197 ++-- shared/tinyxml/docs/classTiXmlNode.html | 880 +++++++------- shared/tinyxml/docs/classTiXmlNode.png | Bin 1302 -> 1303 bytes shared/tinyxml/docs/classTiXmlPrinter-members.html | 85 +- shared/tinyxml/docs/classTiXmlPrinter.html | 267 +++-- shared/tinyxml/docs/classTiXmlPrinter.png | Bin 358 -> 380 bytes shared/tinyxml/docs/classTiXmlText-members.html | 205 ++-- shared/tinyxml/docs/classTiXmlText.html | 208 ++-- shared/tinyxml/docs/classTiXmlText.png | Bin 446 -> 485 bytes shared/tinyxml/docs/classTiXmlUnknown-members.html | 197 ++-- shared/tinyxml/docs/classTiXmlUnknown.html | 154 +-- shared/tinyxml/docs/classTiXmlUnknown.png | Bin 461 -> 521 bytes shared/tinyxml/docs/classTiXmlVisitor-members.html | 69 +- shared/tinyxml/docs/classTiXmlVisitor.html | 159 +-- shared/tinyxml/docs/classTiXmlVisitor.png | Bin 369 -> 386 bytes shared/tinyxml/docs/classes.html | 38 + shared/tinyxml/docs/deprecated.html | 71 +- shared/tinyxml/docs/doxygen.css | 728 +++++++----- shared/tinyxml/docs/files.html | 49 +- shared/tinyxml/docs/functions.html | 262 ++--- shared/tinyxml/docs/functions_0x63.html | 98 ++ shared/tinyxml/docs/functions_0x64.html | 71 ++ shared/tinyxml/docs/functions_0x65.html | 92 ++ shared/tinyxml/docs/functions_0x66.html | 82 ++ shared/tinyxml/docs/functions_0x67.html | 77 ++ shared/tinyxml/docs/functions_0x69.html | 89 ++ shared/tinyxml/docs/functions_0x6c.html | 83 ++ shared/tinyxml/docs/functions_0x6e.html | 89 ++ shared/tinyxml/docs/functions_0x6f.html | 74 ++ shared/tinyxml/docs/functions_0x70.html | 91 ++ shared/tinyxml/docs/functions_0x71.html | 89 ++ shared/tinyxml/docs/functions_0x72.html | 83 ++ shared/tinyxml/docs/functions_0x73.html | 121 ++ shared/tinyxml/docs/functions_0x74.html | 127 +++ shared/tinyxml/docs/functions_0x75.html | 74 ++ shared/tinyxml/docs/functions_0x76.html | 97 ++ shared/tinyxml/docs/functions_enum.html | 75 +- shared/tinyxml/docs/functions_func.html | 254 ++--- shared/tinyxml/docs/functions_func_0x63.html | 97 ++ shared/tinyxml/docs/functions_func_0x64.html | 70 ++ shared/tinyxml/docs/functions_func_0x65.html | 91 ++ shared/tinyxml/docs/functions_func_0x66.html | 81 ++ shared/tinyxml/docs/functions_func_0x67.html | 76 ++ shared/tinyxml/docs/functions_func_0x69.html | 88 ++ shared/tinyxml/docs/functions_func_0x6c.html | 82 ++ shared/tinyxml/docs/functions_func_0x6e.html | 85 ++ shared/tinyxml/docs/functions_func_0x70.html | 90 ++ shared/tinyxml/docs/functions_func_0x71.html | 88 ++ shared/tinyxml/docs/functions_func_0x72.html | 82 ++ shared/tinyxml/docs/functions_func_0x73.html | 120 ++ shared/tinyxml/docs/functions_func_0x74.html | 126 ++ shared/tinyxml/docs/functions_func_0x75.html | 70 ++ shared/tinyxml/docs/functions_func_0x76.html | 96 ++ shared/tinyxml/docs/functions_rela.html | 79 +- shared/tinyxml/docs/functions_vars.html | 75 +- shared/tinyxml/docs/hierarchy.html | 83 +- shared/tinyxml/docs/index.html | 358 +++--- shared/tinyxml/docs/pages.html | 42 +- shared/tinyxml/docs/tabs.css | 15 +- shared/tinyxml/docs/tinystr_8h-source.html | 338 ------ shared/tinyxml/docs/tinystr_8h_source.html | 349 ++++++ shared/tinyxml/docs/tinyxml_8h-source.html | 1201 ------------------- shared/tinyxml/docs/tinyxml_8h_source.html | 1205 ++++++++++++++++++++ shared/tinyxml/docs/tutorial0.html | 291 +++-- 85 files changed, 8566 insertions(+), 5627 deletions(-) create mode 100644 shared/tinyxml/docs/classes.html create mode 100644 shared/tinyxml/docs/functions_0x63.html create mode 100644 shared/tinyxml/docs/functions_0x64.html create mode 100644 shared/tinyxml/docs/functions_0x65.html create mode 100644 shared/tinyxml/docs/functions_0x66.html create mode 100644 shared/tinyxml/docs/functions_0x67.html create mode 100644 shared/tinyxml/docs/functions_0x69.html create mode 100644 shared/tinyxml/docs/functions_0x6c.html create mode 100644 shared/tinyxml/docs/functions_0x6e.html create mode 100644 shared/tinyxml/docs/functions_0x6f.html create mode 100644 shared/tinyxml/docs/functions_0x70.html create mode 100644 shared/tinyxml/docs/functions_0x71.html create mode 100644 shared/tinyxml/docs/functions_0x72.html create mode 100644 shared/tinyxml/docs/functions_0x73.html create mode 100644 shared/tinyxml/docs/functions_0x74.html create mode 100644 shared/tinyxml/docs/functions_0x75.html create mode 100644 shared/tinyxml/docs/functions_0x76.html create mode 100644 shared/tinyxml/docs/functions_func_0x63.html create mode 100644 shared/tinyxml/docs/functions_func_0x64.html create mode 100644 shared/tinyxml/docs/functions_func_0x65.html create mode 100644 shared/tinyxml/docs/functions_func_0x66.html create mode 100644 shared/tinyxml/docs/functions_func_0x67.html create mode 100644 shared/tinyxml/docs/functions_func_0x69.html create mode 100644 shared/tinyxml/docs/functions_func_0x6c.html create mode 100644 shared/tinyxml/docs/functions_func_0x6e.html create mode 100644 shared/tinyxml/docs/functions_func_0x70.html create mode 100644 shared/tinyxml/docs/functions_func_0x71.html create mode 100644 shared/tinyxml/docs/functions_func_0x72.html create mode 100644 shared/tinyxml/docs/functions_func_0x73.html create mode 100644 shared/tinyxml/docs/functions_func_0x74.html create mode 100644 shared/tinyxml/docs/functions_func_0x75.html create mode 100644 shared/tinyxml/docs/functions_func_0x76.html delete mode 100644 shared/tinyxml/docs/tinystr_8h-source.html create mode 100644 shared/tinyxml/docs/tinystr_8h_source.html delete mode 100644 shared/tinyxml/docs/tinyxml_8h-source.html create mode 100644 shared/tinyxml/docs/tinyxml_8h_source.html (limited to 'shared/tinyxml/docs') diff --git a/shared/tinyxml/docs/annotated.html b/shared/tinyxml/docs/annotated.html index 79534783..a84e5fa2 100644 --- a/shared/tinyxml/docs/annotated.html +++ b/shared/tinyxml/docs/annotated.html @@ -1,39 +1,48 @@ - - + + + + TinyXml: Class List - - - - -
-
-
-
-

TinyXml Class List

Here are the classes, structs, unions and interfaces with brief descriptions: + + + + + + +
+

Class List

Here are the classes, structs, unions and interfaces with brief descriptions:
- + - + - +
TiXmlAttributeAn attribute is a name-value pair
TiXmlBaseTiXmlBase is a base class for every class in TinyXml
TiXmlBaseTiXmlBase is a base class for every class in TinyXml
TiXmlCommentAn XML comment
TiXmlDeclarationIn correct XML the declaration is the first entry in the file
TiXmlDocumentAlways the top level node
TiXmlElementThe element is a container class
TiXmlHandleA TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly useful thing
TiXmlHandleA TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly useful thing
TiXmlNodeThe parent class for everything in the Document Object Model
TiXmlPrinterPrint to memory functionality
TiXmlTextXML text
TiXmlUnknownAny tag that tinyXml doesn't recognize is saved as an unknown
TiXmlVisitorIf you call the Accept() method, it requires being passed a TiXmlVisitor class to handle callbacks
TiXmlVisitorImplements the interface to the "Visitor pattern" (see the Accept() method
-
Generated on Sun May 6 15:41:23 2007 for TinyXml by  + +
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlAttribute-members.html b/shared/tinyxml/docs/classTiXmlAttribute-members.html index b3c0fc67..f6f2c993 100644 --- a/shared/tinyxml/docs/classTiXmlAttribute-members.html +++ b/shared/tinyxml/docs/classTiXmlAttribute-members.html @@ -1,54 +1,63 @@ - - + + + + TinyXml: Member List - - - - -
-
-
-
-

TiXmlAttribute Member List

This is the complete list of members for TiXmlAttribute, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Column() const TiXmlBase [inline]
DoubleValue() const TiXmlAttribute
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
IntValue() const TiXmlAttribute
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
Name() const TiXmlAttribute [inline]
Next() const TiXmlAttribute
Previous() const TiXmlAttribute
Print(FILE *cfile, int depth) const TiXmlAttribute [inline, virtual]
QueryDoubleValue(double *_value) const TiXmlAttribute
QueryIntValue(int *_value) const TiXmlAttribute
Row() const TiXmlBase [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetDoubleValue(double _value)TiXmlAttribute
SetIntValue(int _value)TiXmlAttribute
SetName(const char *_name)TiXmlAttribute [inline]
SetName(const std::string &_name)TiXmlAttribute [inline]
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlAttribute [inline]
SetValue(const std::string &_value)TiXmlAttribute [inline]
TiXmlAttribute()TiXmlAttribute [inline]
TiXmlAttribute(const std::string &_name, const std::string &_value)TiXmlAttribute [inline]
TiXmlAttribute(const char *_name, const char *_value)TiXmlAttribute [inline]
userDataTiXmlBase [protected]
Value() const TiXmlAttribute [inline]
ValueStr() const TiXmlAttribute [inline]


Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
+

TiXmlAttribute Member List

This is the complete list of members for TiXmlAttribute, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Column() const TiXmlBase [inline]
DoubleValue() const TiXmlAttribute
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
IntValue() const TiXmlAttribute
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
Name() const TiXmlAttribute [inline]
Next() const TiXmlAttribute
Previous() const TiXmlAttribute
Print(FILE *cfile, int depth) const TiXmlAttribute [inline, virtual]
QueryDoubleValue(double *_value) const TiXmlAttribute
QueryIntValue(int *_value) const TiXmlAttribute
Row() const TiXmlBase [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetDoubleValue(double _value)TiXmlAttribute
SetIntValue(int _value)TiXmlAttribute
SetName(const char *_name)TiXmlAttribute [inline]
SetName(const std::string &_name)TiXmlAttribute [inline]
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlAttribute [inline]
SetValue(const std::string &_value)TiXmlAttribute [inline]
TiXmlAttribute()TiXmlAttribute [inline]
TiXmlAttribute(const std::string &_name, const std::string &_value)TiXmlAttribute [inline]
TiXmlAttribute(const char *_name, const char *_value)TiXmlAttribute [inline]
userDataTiXmlBase [protected]
Value() const TiXmlAttribute [inline]
ValueStr() const TiXmlAttribute [inline]
+
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlAttribute.html b/shared/tinyxml/docs/classTiXmlAttribute.html index 9cdc9a9b..6eaca6be 100644 --- a/shared/tinyxml/docs/classTiXmlAttribute.html +++ b/shared/tinyxml/docs/classTiXmlAttribute.html @@ -1,125 +1,117 @@ - - + + + + TinyXml: TiXmlAttribute Class Reference - - - - -
-
-
-
-

TiXmlAttribute Class Reference

An attribute is a name-value pair. -More... -

-#include <tinyxml.h> -

-

Inheritance diagram for TiXmlAttribute: -

- -TiXmlBase + + + + + + +
+

TiXmlAttribute Class Reference

+

An attribute is a name-value pair. +More...

+ +

#include <tinyxml.h>

+
+Inheritance diagram for TiXmlAttribute:
+
+
+ + +TiXmlBase -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - +

List of all members.

+

Public Member Functions

TiXmlAttribute ()
 Construct an empty attribute.
TiXmlAttribute (const std::string &_name, const std::string &_value)
 std::string constructor.
TiXmlAttribute (const char *_name, const char *_value)
 Construct an attribute with a name and value.
-const char * Name () const
 Return the name of this attribute.
-const char * Value () const
 Return the value of this attribute.
-const std::string & ValueStr () const
 Return the value of this attribute.
-int IntValue () const
 Return the value of this attribute, converted to an integer.
-double DoubleValue () const
 Return the value of this attribute, converted to a double.
int QueryIntValue (int *_value) const
 QueryIntValue examines the value string.
-int QueryDoubleValue (double *_value) const
 QueryDoubleValue examines the value string. See QueryIntValue().
-void SetName (const char *_name)
 Set the name of this attribute.
-void SetValue (const char *_value)
 Set the value.
-void SetIntValue (int _value)
 Set the value from an integer.
-void SetDoubleValue (double _value)
 Set the value from a double.
-void SetName (const std::string &_name)
 STL std::string form.
-void SetValue (const std::string &_value)
 STL std::string form.
-const TiXmlAttributeNext () const
 Get the next sibling attribute in the DOM. Returns null at end.
-const TiXmlAttributePrevious () const
 Get the previous sibling attribute in the DOM. Returns null at beginning.
virtual void Print (FILE *cfile, int depth) const
 All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

TiXmlAttribute ()
 Construct an empty attribute.
TiXmlAttribute (const std::string &_name, const std::string &_value)
 std::string constructor.
TiXmlAttribute (const char *_name, const char *_value)
 Construct an attribute with a name and value.
+const char * Name () const
 Return the name of this attribute.
+const char * Value () const
 Return the value of this attribute.
+const std::string & ValueStr () const
 Return the value of this attribute.
+int IntValue () const
 Return the value of this attribute, converted to an integer.
+double DoubleValue () const
 Return the value of this attribute, converted to a double.
int QueryIntValue (int *_value) const
 QueryIntValue examines the value string.
+int QueryDoubleValue (double *_value) const
 QueryDoubleValue examines the value string. See QueryIntValue().
+void SetName (const char *_name)
 Set the name of this attribute.
+void SetValue (const char *_value)
 Set the value.
+void SetIntValue (int _value)
 Set the value from an integer.
+void SetDoubleValue (double _value)
 Set the value from a double.
+void SetName (const std::string &_name)
 STL std::string form.
+void SetValue (const std::string &_value)
 STL std::string form.
+const TiXmlAttributeNext () const
 Get the next sibling attribute in the DOM. Returns null at end.
+const TiXmlAttributePrevious () const
 Get the previous sibling attribute in the DOM. Returns null at beginning.
virtual void Print (FILE *cfile, int depth) const
 All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
-

Detailed Description

-An attribute is a name-value pair. -

-Elements have an arbitrary number of attributes, each with a unique name.

-

Note:
The attributes are not TiXmlNodes, since they are not part of the tinyXML document object model. There are other suggested ways to look at this problem.
- -

-


Member Function Documentation

- +

Detailed Description

+

An attribute is a name-value pair.

+

Elements have an arbitrary number of attributes, each with a unique name.

+
Note:
The attributes are not TiXmlNodes, since they are not part of the tinyXML document object model. There are other suggested ways to look at this problem.
+

Member Function Documentation

+
- + @@ -133,49 +125,49 @@ Elements have an arbitrary number of attributes, each with a unique name.

- +
virtual void TiXmlAttribute::Print virtual void TiXmlAttribute::Print ( FILE *  cfile,
) const [inline, virtual] const [inline, virtual]
-

-All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. -

-) Either or both cfile and str can be null.

-This is a formatted print, and will insert tabs and newlines.

-(For an unformatted stream, use the << operator.) -

-Implements TiXmlBase. +

All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.

+

) Either or both cfile and str can be null.

+

This is a formatted print, and will insert tabs and newlines.

+

(For an unformatted stream, use the << operator.)

+ +

Implements TiXmlBase.

+ +
-

- +

- + - + - +
int TiXmlAttribute::QueryIntValue int TiXmlAttribute::QueryIntValue ( int *  _value _value  )  const const
-

-QueryIntValue examines the value string. -

-It is an alternative to the IntValue() method with richer error checking. If the value is an integer, it is stored in 'value' and the call returns TIXML_SUCCESS. If it is not an integer, it returns TIXML_WRONG_TYPE.

-A specialized but useful call. Note that for success it returns 0, which is the opposite of almost all other TinyXml calls. +

QueryIntValue examines the value string.

+

It is an alternative to the IntValue() method with richer error checking. If the value is an integer, it is stored in 'value' and the call returns TIXML_SUCCESS. If it is not an integer, it returns TIXML_WRONG_TYPE.

+

A specialized but useful call. Note that for success it returns 0, which is the opposite of almost all other TinyXml calls.

+ +
+
+
The documentation for this class was generated from the following file:
-

-


The documentation for this class was generated from the following file: -
Generated on Sun May 6 15:41:23 2007 for TinyXml by  +
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlAttribute.png b/shared/tinyxml/docs/classTiXmlAttribute.png index ebac5ca9..0f8e5931 100644 Binary files a/shared/tinyxml/docs/classTiXmlAttribute.png and b/shared/tinyxml/docs/classTiXmlAttribute.png differ diff --git a/shared/tinyxml/docs/classTiXmlBase-members.html b/shared/tinyxml/docs/classTiXmlBase-members.html index 352900e8..fe1aeb8c 100644 --- a/shared/tinyxml/docs/classTiXmlBase-members.html +++ b/shared/tinyxml/docs/classTiXmlBase-members.html @@ -1,36 +1,45 @@ - - + + + + TinyXml: Member List - - - - - - -

TiXmlBase Member List

This is the complete list of members for TiXmlBase, including all inherited members.

- - - - - - - - - - -
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
Print(FILE *cfile, int depth) const =0TiXmlBase [pure virtual]
Row() const TiXmlBase [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetUserData(void *user)TiXmlBase [inline]
userDataTiXmlBase [protected]


Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
+

TiXmlBase Member List

This is the complete list of members for TiXmlBase, including all inherited members. + + + + + + + + + + +
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
Print(FILE *cfile, int depth) const =0TiXmlBase [pure virtual]
Row() const TiXmlBase [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetUserData(void *user)TiXmlBase [inline]
userDataTiXmlBase [protected]
+
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlBase.html b/shared/tinyxml/docs/classTiXmlBase.html index bdb63893..4d1ba67e 100644 --- a/shared/tinyxml/docs/classTiXmlBase.html +++ b/shared/tinyxml/docs/classTiXmlBase.html @@ -1,98 +1,99 @@ - - + + + + TinyXml: TiXmlBase Class Reference - - - - - - -

TiXmlBase Class Reference

TiXmlBase is a base class for every class in TinyXml. -More... -

-#include <tinyxml.h> -

-

Inheritance diagram for TiXmlBase: -

- -TiXmlAttribute -TiXmlNode -TiXmlComment -TiXmlDeclaration -TiXmlDocument -TiXmlElement -TiXmlText -TiXmlUnknown + + + + + + +
+

TiXmlBase Class Reference

+

TiXmlBase is a base class for every class in TinyXml. +More...

+ +

#include <tinyxml.h>

+
+Inheritance diagram for TiXmlBase:
+
+
+ + +TiXmlAttribute +TiXmlNode +TiXmlComment +TiXmlDeclaration +TiXmlDocument +TiXmlElement +TiXmlText +TiXmlUnknown -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +

List of all members.

+

Public Member Functions

virtual void Print (FILE *cfile, int depth) const =0
 All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
int Row () const
 Return the position, in the original source file, of this node or attribute.
-int Column () const
 See Row().
-void SetUserData (void *user)
 Set a pointer to arbitrary user data.
-void * GetUserData ()
 Get a pointer to arbitrary user data.
-const void * GetUserData () const
 Get a pointer to arbitrary user data.

Static Public Member Functions

static void SetCondenseWhiteSpace (bool condense)
 The world does not agree on whether white space should be kept or not.
-static bool IsWhiteSpaceCondensed ()
 Return the current white space setting.
static void EncodeString (const TIXML_STRING &str, TIXML_STRING *out)
 Expands entities in a string.

Protected Attributes

-void * userData
 Field containing a generic user pointer.

Friends

-class TiXmlNode
-class TiXmlElement
-class TiXmlDocument
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual void Print (FILE *cfile, int depth) const =0
 All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
int Row () const
 Return the position, in the original source file, of this node or attribute.
+int Column () const
 See Row().
+void SetUserData (void *user)
 Set a pointer to arbitrary user data.
+void * GetUserData ()
 Get a pointer to arbitrary user data.
+const void * GetUserData () const
 Get a pointer to arbitrary user data.

Static Public Member Functions

static void SetCondenseWhiteSpace (bool condense)
 The world does not agree on whether white space should be kept or not.
+static bool IsWhiteSpaceCondensed ()
 Return the current white space setting.
static void EncodeString (const TIXML_STRING &str, TIXML_STRING *out)
 Expands entities in a string.

Protected Attributes

+void * userData
 Field containing a generic user pointer.

Friends

+class TiXmlNode
+class TiXmlElement
+class TiXmlDocument
-

Detailed Description

-TiXmlBase is a base class for every class in TinyXml. -

-It does little except to establish that TinyXml classes can be printed and provide some utility functions.

-In XML, the document and elements can contain other elements and other types of nodes.

-

	A Document can contain:	Element	(container or leaf)
+

Detailed Description

+

TiXmlBase is a base class for every class in TinyXml.

+

It does little except to establish that TinyXml classes can be printed and provide some utility functions.

+

In XML, the document and elements can contain other elements and other types of nodes.

+
+	A Document can contain:	Element	(container or leaf)
 							Comment (leaf)
 							Unknown (leaf)
 							Declaration( leaf )
@@ -104,15 +105,13 @@ In XML, the document and elements can contain other elements and other types of
 							Unknown (leaf)
 
 	A Decleration contains: Attributes (not on tree)
-	
-

-


Member Function Documentation

- +

Member Function Documentation

+
- + @@ -126,24 +125,23 @@ In XML, the document and elements can contain other elements and other types of - +
static void TiXmlBase::EncodeString static void TiXmlBase::EncodeString ( const TIXML_STRING &  str,
) [static] [static]
-

-Expands entities in a string. -

-Note this should not contian the tag's '<', '>', etc, or they will be transformed into entities! +

Expands entities in a string.

+

Note this should not contian the tag's '<', '>', etc, or they will be transformed into entities!

+
-

- +

+
- + @@ -157,74 +155,72 @@ Note this should not contian the tag's '<', '>', etc, or they will be tran - +
virtual void TiXmlBase::Print virtual void TiXmlBase::Print ( FILE *  cfile,
) const [pure virtual] const [pure virtual]
-

-All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. -

-) Either or both cfile and str can be null.

-This is a formatted print, and will insert tabs and newlines.

-(For an unformatted stream, use the << operator.) -

-Implemented in TiXmlAttribute, TiXmlElement, TiXmlComment, TiXmlText, TiXmlDeclaration, TiXmlUnknown, and TiXmlDocument. +

All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.

+

) Either or both cfile and str can be null.

+

This is a formatted print, and will insert tabs and newlines.

+

(For an unformatted stream, use the << operator.)

+ +

Implemented in TiXmlAttribute, TiXmlElement, TiXmlComment, TiXmlText, TiXmlDeclaration, TiXmlUnknown, and TiXmlDocument.

+
-

- +

+
- + - + - +
int TiXmlBase::Row int TiXmlBase::Row (  )  const [inline] const [inline]
-

-Return the position, in the original source file, of this node or attribute. -

-The row and column are 1-based. (That is the first row and first column is 1,1). If the returns values are 0 or less, then the parser does not have a row and column value.

-Generally, the row and column value will be set when the TiXmlDocument::Load(), TiXmlDocument::LoadFile(), or any TiXmlNode::Parse() is called. It will NOT be set when the DOM was created from operator>>.

-The values reflect the initial load. Once the DOM is modified programmatically (by adding or changing nodes and attributes) the new values will NOT update to reflect changes in the document.

-There is a minor performance cost to computing the row and column. Computation can be disabled if TiXmlDocument::SetTabSize() is called with 0 as the value.

-

See also:
TiXmlDocument::SetTabSize()
+

Return the position, in the original source file, of this node or attribute.

+

The row and column are 1-based. (That is the first row and first column is 1,1). If the returns values are 0 or less, then the parser does not have a row and column value.

+

Generally, the row and column value will be set when the TiXmlDocument::Load(), TiXmlDocument::LoadFile(), or any TiXmlNode::Parse() is called. It will NOT be set when the DOM was created from operator>>.

+

The values reflect the initial load. Once the DOM is modified programmatically (by adding or changing nodes and attributes) the new values will NOT update to reflect changes in the document.

+

There is a minor performance cost to computing the row and column. Computation can be disabled if TiXmlDocument::SetTabSize() is called with 0 as the value.

+
See also:
TiXmlDocument::SetTabSize()
-

- +

+
- + - + - +
static void TiXmlBase::SetCondenseWhiteSpace static void TiXmlBase::SetCondenseWhiteSpace ( bool  condense condense  )  [inline, static] [inline, static]
-

-The world does not agree on whether white space should be kept or not. -

-In order to make everyone happy, these global, static functions are provided to set whether or not TinyXml will condense all white space into a single space or not. The default is to condense. Note changing this value is not thread safe. +

The world does not agree on whether white space should be kept or not.

+

In order to make everyone happy, these global, static functions are provided to set whether or not TinyXml will condense all white space into a single space or not. The default is to condense. Note changing this value is not thread safe.

+ +
+
+
The documentation for this class was generated from the following file: -

-


The documentation for this class was generated from the following file: -
Generated on Sun May 6 15:41:23 2007 for TinyXml by  +
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlBase.png b/shared/tinyxml/docs/classTiXmlBase.png index 085db6e5..ca9d0dec 100644 Binary files a/shared/tinyxml/docs/classTiXmlBase.png and b/shared/tinyxml/docs/classTiXmlBase.png differ diff --git a/shared/tinyxml/docs/classTiXmlComment-members.html b/shared/tinyxml/docs/classTiXmlComment-members.html index 9b2c4ec0..0d00704f 100644 --- a/shared/tinyxml/docs/classTiXmlComment-members.html +++ b/shared/tinyxml/docs/classTiXmlComment-members.html @@ -1,100 +1,109 @@ - - + + + + TinyXml: Member List - - - - - - -

TiXmlComment Member List

This is the complete list of members for TiXmlComment, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Accept(TiXmlVisitor *visitor) const TiXmlComment [virtual]
Clear()TiXmlNode
Clone() const TiXmlComment [virtual]
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
FirstChild() const TiXmlNode [inline]
FirstChild(const char *value) const TiXmlNode
FirstChild(const char *_value)TiXmlNode [inline]
FirstChild(const std::string &_value) const TiXmlNode [inline]
FirstChild(const std::string &_value)TiXmlNode [inline]
FirstChildElement() const TiXmlNode
FirstChildElement(const char *_value) const TiXmlNode
FirstChildElement(const std::string &_value) const TiXmlNode [inline]
FirstChildElement(const std::string &_value)TiXmlNode [inline]
GetDocument() const TiXmlNode
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
InsertEndChild(const TiXmlNode &addThis)TiXmlNode
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
IterateChildren(const TiXmlNode *previous) const TiXmlNode
IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
LastChild()TiXmlNode [inline]
LastChild(const char *_value)TiXmlNode [inline]
LastChild(const std::string &_value) const TiXmlNode [inline]
LastChild(const std::string &_value)TiXmlNode [inline]
LinkEndChild(TiXmlNode *addThis)TiXmlNode
NextSibling(const std::string &_value) const TiXmlNode [inline]
NextSibling(const std::string &_value)TiXmlNode [inline]
NextSibling() const TiXmlNode [inline]
NextSibling(const char *) const TiXmlNode
NextSiblingElement() const TiXmlNode
NextSiblingElement(const char *) const TiXmlNode
NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
NextSiblingElement(const std::string &_value)TiXmlNode [inline]
NoChildren() const TiXmlNode [inline]
NodeType enum nameTiXmlNode
operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
Parent()TiXmlNode [inline]
PreviousSibling() const TiXmlNode [inline]
PreviousSibling(const char *) const TiXmlNode
PreviousSibling(const std::string &_value) const TiXmlNode [inline]
PreviousSibling(const std::string &_value)TiXmlNode [inline]
Print(FILE *cfile, int depth) const TiXmlComment [virtual]
RemoveChild(TiXmlNode *removeThis)TiXmlNode
ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
Row() const TiXmlBase [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlNode [inline]
SetValue(const std::string &_value)TiXmlNode [inline]
TiXmlComment()TiXmlComment [inline]
TiXmlComment(const char *_value)TiXmlComment [inline]
ToComment() const TiXmlComment [inline, virtual]
ToComment()TiXmlComment [inline, virtual]
ToDeclaration() const TiXmlNode [inline, virtual]
ToDeclaration()TiXmlNode [inline, virtual]
ToDocument() const TiXmlNode [inline, virtual]
ToDocument()TiXmlNode [inline, virtual]
ToElement() const TiXmlNode [inline, virtual]
ToElement()TiXmlNode [inline, virtual]
ToText() const TiXmlNode [inline, virtual]
ToText()TiXmlNode [inline, virtual]
ToUnknown() const TiXmlNode [inline, virtual]
ToUnknown()TiXmlNode [inline, virtual]
Type() const TiXmlNode [inline]
userDataTiXmlBase [protected]
Value() const TiXmlNode [inline]
ValueStr() const TiXmlNode [inline]


Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
+

TiXmlComment Member List

This is the complete list of members for TiXmlComment, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(TiXmlVisitor *visitor) const TiXmlComment [virtual]
Clear()TiXmlNode
Clone() const TiXmlComment [virtual]
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
FirstChild() const TiXmlNode [inline]
FirstChild(const char *value) const TiXmlNode
FirstChild(const char *_value)TiXmlNode [inline]
FirstChild(const std::string &_value) const TiXmlNode [inline]
FirstChild(const std::string &_value)TiXmlNode [inline]
FirstChildElement() const TiXmlNode
FirstChildElement(const char *_value) const TiXmlNode
FirstChildElement(const std::string &_value) const TiXmlNode [inline]
FirstChildElement(const std::string &_value)TiXmlNode [inline]
GetDocument() const TiXmlNode
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
InsertEndChild(const TiXmlNode &addThis)TiXmlNode
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
IterateChildren(const TiXmlNode *previous) const TiXmlNode
IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
LastChild()TiXmlNode [inline]
LastChild(const char *_value)TiXmlNode [inline]
LastChild(const std::string &_value) const TiXmlNode [inline]
LastChild(const std::string &_value)TiXmlNode [inline]
LinkEndChild(TiXmlNode *addThis)TiXmlNode
NextSibling(const std::string &_value) const TiXmlNode [inline]
NextSibling(const std::string &_value)TiXmlNode [inline]
NextSibling() const TiXmlNode [inline]
NextSibling(const char *) const TiXmlNode
NextSiblingElement() const TiXmlNode
NextSiblingElement(const char *) const TiXmlNode
NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
NextSiblingElement(const std::string &_value)TiXmlNode [inline]
NoChildren() const TiXmlNode [inline]
NodeType enum nameTiXmlNode
operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
Parent()TiXmlNode [inline]
PreviousSibling() const TiXmlNode [inline]
PreviousSibling(const char *) const TiXmlNode
PreviousSibling(const std::string &_value) const TiXmlNode [inline]
PreviousSibling(const std::string &_value)TiXmlNode [inline]
Print(FILE *cfile, int depth) const TiXmlComment [virtual]
RemoveChild(TiXmlNode *removeThis)TiXmlNode
ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
Row() const TiXmlBase [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlNode [inline]
SetValue(const std::string &_value)TiXmlNode [inline]
TiXmlComment()TiXmlComment [inline]
TiXmlComment(const char *_value)TiXmlComment [inline]
ToComment() const TiXmlComment [inline, virtual]
ToComment()TiXmlComment [inline, virtual]
ToDeclaration() const TiXmlNode [inline, virtual]
ToDeclaration()TiXmlNode [inline, virtual]
ToDocument() const TiXmlNode [inline, virtual]
ToDocument()TiXmlNode [inline, virtual]
ToElement() const TiXmlNode [inline, virtual]
ToElement()TiXmlNode [inline, virtual]
ToText() const TiXmlNode [inline, virtual]
ToText()TiXmlNode [inline, virtual]
ToUnknown() const TiXmlNode [inline, virtual]
ToUnknown()TiXmlNode [inline, virtual]
Type() const TiXmlNode [inline]
userDataTiXmlBase [protected]
Value() const TiXmlNode [inline]
ValueStr() const TiXmlNode [inline]
+
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlComment.html b/shared/tinyxml/docs/classTiXmlComment.html index 65ea2709..e2024430 100644 --- a/shared/tinyxml/docs/classTiXmlComment.html +++ b/shared/tinyxml/docs/classTiXmlComment.html @@ -1,75 +1,81 @@ - - + + + + TinyXml: TiXmlComment Class Reference - - - - - - -

TiXmlComment Class Reference

An XML comment. -More... -

-#include <tinyxml.h> -

-

Inheritance diagram for TiXmlComment: -

- -TiXmlNode -TiXmlBase - -List of all members. - - - - - - - - - - - - - - - - - - + + + + + + +
+

TiXmlComment Class Reference

+

An XML comment. +More...

-
- +

#include <tinyxml.h>

+
+Inheritance diagram for TiXmlComment:
+
+
+ + +TiXmlNode +TiXmlBase + +
+
- +

List of all members.

+

Public Member Functions

TiXmlComment ()
 Constructs an empty comment.
TiXmlComment (const char *_value)
 Construct a comment from text.
-virtual TiXmlNodeClone () const
 Returns a copy of this Comment.
virtual void Print (FILE *cfile, int depth) const
 All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
-virtual const TiXmlCommentToComment () const
 Cast to a more defined type. Will return null not of the requested type.
-virtual TiXmlCommentToComment ()
 Cast to a more defined type. Will return null not of the requested type.
-virtual bool Accept (TiXmlVisitor *visitor) const
 Walk the XML tree visiting this node and all of its children.
+ + + + + + + + + + + + + + +

Public Member Functions

TiXmlComment ()
 Constructs an empty comment.
TiXmlComment (const char *_value)
 Construct a comment from text.
+virtual TiXmlNodeClone () const
 Returns a copy of this Comment.
virtual void Print (FILE *cfile, int depth) const
 All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
+virtual const TiXmlCommentToComment () const
 Cast to a more defined type. Will return null not of the requested type.
+virtual TiXmlCommentToComment ()
 Cast to a more defined type. Will return null not of the requested type.
+virtual bool Accept (TiXmlVisitor *visitor) const
 Walk the XML tree visiting this node and all of its children.
-

Detailed Description

-An XML comment. -

-


Member Function Documentation

- +

Detailed Description

+

An XML comment.

+

Member Function Documentation

+
- + @@ -83,26 +89,27 @@ An XML comment. - +
virtual void TiXmlComment::Print virtual void TiXmlComment::Print ( FILE *  cfile,
) const [virtual] const [virtual]
-

-All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. -

-) Either or both cfile and str can be null.

-This is a formatted print, and will insert tabs and newlines.

-(For an unformatted stream, use the << operator.) -

-Implements TiXmlBase. +

All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.

+

) Either or both cfile and str can be null.

+

This is a formatted print, and will insert tabs and newlines.

+

(For an unformatted stream, use the << operator.)

+ +

Implements TiXmlBase.

+ +
+
+
The documentation for this class was generated from the following file: -

-


The documentation for this class was generated from the following file: -
Generated on Sun May 6 15:41:23 2007 for TinyXml by  +
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlComment.png b/shared/tinyxml/docs/classTiXmlComment.png index e33d7425..5fb1d1d3 100644 Binary files a/shared/tinyxml/docs/classTiXmlComment.png and b/shared/tinyxml/docs/classTiXmlComment.png differ diff --git a/shared/tinyxml/docs/classTiXmlDeclaration-members.html b/shared/tinyxml/docs/classTiXmlDeclaration-members.html index 147bb966..d6017444 100644 --- a/shared/tinyxml/docs/classTiXmlDeclaration-members.html +++ b/shared/tinyxml/docs/classTiXmlDeclaration-members.html @@ -1,104 +1,113 @@ - - + + + + TinyXml: Member List - - - - - - -

TiXmlDeclaration Member List

This is the complete list of members for TiXmlDeclaration, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Accept(TiXmlVisitor *visitor) const TiXmlDeclaration [virtual]
Clear()TiXmlNode
Clone() const TiXmlDeclaration [virtual]
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
Encoding() const TiXmlDeclaration [inline]
FirstChild() const TiXmlNode [inline]
FirstChild(const char *value) const TiXmlNode
FirstChild(const char *_value)TiXmlNode [inline]
FirstChild(const std::string &_value) const TiXmlNode [inline]
FirstChild(const std::string &_value)TiXmlNode [inline]
FirstChildElement() const TiXmlNode
FirstChildElement(const char *_value) const TiXmlNode
FirstChildElement(const std::string &_value) const TiXmlNode [inline]
FirstChildElement(const std::string &_value)TiXmlNode [inline]
GetDocument() const TiXmlNode
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
InsertEndChild(const TiXmlNode &addThis)TiXmlNode
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
IterateChildren(const TiXmlNode *previous) const TiXmlNode
IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
LastChild()TiXmlNode [inline]
LastChild(const char *_value)TiXmlNode [inline]
LastChild(const std::string &_value) const TiXmlNode [inline]
LastChild(const std::string &_value)TiXmlNode [inline]
LinkEndChild(TiXmlNode *addThis)TiXmlNode
NextSibling(const std::string &_value) const TiXmlNode [inline]
NextSibling(const std::string &_value)TiXmlNode [inline]
NextSibling() const TiXmlNode [inline]
NextSibling(const char *) const TiXmlNode
NextSiblingElement() const TiXmlNode
NextSiblingElement(const char *) const TiXmlNode
NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
NextSiblingElement(const std::string &_value)TiXmlNode [inline]
NoChildren() const TiXmlNode [inline]
NodeType enum nameTiXmlNode
operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
Parent()TiXmlNode [inline]
PreviousSibling() const TiXmlNode [inline]
PreviousSibling(const char *) const TiXmlNode
PreviousSibling(const std::string &_value) const TiXmlNode [inline]
PreviousSibling(const std::string &_value)TiXmlNode [inline]
Print(FILE *cfile, int depth) const TiXmlDeclaration [inline, virtual]
RemoveChild(TiXmlNode *removeThis)TiXmlNode
ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
Row() const TiXmlBase [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlNode [inline]
SetValue(const std::string &_value)TiXmlNode [inline]
Standalone() const TiXmlDeclaration [inline]
TiXmlDeclaration()TiXmlDeclaration [inline]
TiXmlDeclaration(const std::string &_version, const std::string &_encoding, const std::string &_standalone)TiXmlDeclaration
TiXmlDeclaration(const char *_version, const char *_encoding, const char *_standalone)TiXmlDeclaration
ToComment() const TiXmlNode [inline, virtual]
ToComment()TiXmlNode [inline, virtual]
ToDeclaration() const TiXmlDeclaration [inline, virtual]
ToDeclaration()TiXmlDeclaration [inline, virtual]
ToDocument() const TiXmlNode [inline, virtual]
ToDocument()TiXmlNode [inline, virtual]
ToElement() const TiXmlNode [inline, virtual]
ToElement()TiXmlNode [inline, virtual]
ToText() const TiXmlNode [inline, virtual]
ToText()TiXmlNode [inline, virtual]
ToUnknown() const TiXmlNode [inline, virtual]
ToUnknown()TiXmlNode [inline, virtual]
Type() const TiXmlNode [inline]
userDataTiXmlBase [protected]
Value() const TiXmlNode [inline]
ValueStr() const TiXmlNode [inline]
Version() const TiXmlDeclaration [inline]


Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
+

TiXmlDeclaration Member List

This is the complete list of members for TiXmlDeclaration, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(TiXmlVisitor *visitor) const TiXmlDeclaration [virtual]
Clear()TiXmlNode
Clone() const TiXmlDeclaration [virtual]
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
Encoding() const TiXmlDeclaration [inline]
FirstChild() const TiXmlNode [inline]
FirstChild(const char *value) const TiXmlNode
FirstChild(const char *_value)TiXmlNode [inline]
FirstChild(const std::string &_value) const TiXmlNode [inline]
FirstChild(const std::string &_value)TiXmlNode [inline]
FirstChildElement() const TiXmlNode
FirstChildElement(const char *_value) const TiXmlNode
FirstChildElement(const std::string &_value) const TiXmlNode [inline]
FirstChildElement(const std::string &_value)TiXmlNode [inline]
GetDocument() const TiXmlNode
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
InsertEndChild(const TiXmlNode &addThis)TiXmlNode
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
IterateChildren(const TiXmlNode *previous) const TiXmlNode
IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
LastChild()TiXmlNode [inline]
LastChild(const char *_value)TiXmlNode [inline]
LastChild(const std::string &_value) const TiXmlNode [inline]
LastChild(const std::string &_value)TiXmlNode [inline]
LinkEndChild(TiXmlNode *addThis)TiXmlNode
NextSibling(const std::string &_value) const TiXmlNode [inline]
NextSibling(const std::string &_value)TiXmlNode [inline]
NextSibling() const TiXmlNode [inline]
NextSibling(const char *) const TiXmlNode
NextSiblingElement() const TiXmlNode
NextSiblingElement(const char *) const TiXmlNode
NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
NextSiblingElement(const std::string &_value)TiXmlNode [inline]
NoChildren() const TiXmlNode [inline]
NodeType enum nameTiXmlNode
operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
Parent()TiXmlNode [inline]
PreviousSibling() const TiXmlNode [inline]
PreviousSibling(const char *) const TiXmlNode
PreviousSibling(const std::string &_value) const TiXmlNode [inline]
PreviousSibling(const std::string &_value)TiXmlNode [inline]
Print(FILE *cfile, int depth) const TiXmlDeclaration [inline, virtual]
RemoveChild(TiXmlNode *removeThis)TiXmlNode
ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
Row() const TiXmlBase [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlNode [inline]
SetValue(const std::string &_value)TiXmlNode [inline]
Standalone() const TiXmlDeclaration [inline]
TiXmlDeclaration()TiXmlDeclaration [inline]
TiXmlDeclaration(const std::string &_version, const std::string &_encoding, const std::string &_standalone)TiXmlDeclaration
TiXmlDeclaration(const char *_version, const char *_encoding, const char *_standalone)TiXmlDeclaration
ToComment() const TiXmlNode [inline, virtual]
ToComment()TiXmlNode [inline, virtual]
ToDeclaration() const TiXmlDeclaration [inline, virtual]
ToDeclaration()TiXmlDeclaration [inline, virtual]
ToDocument() const TiXmlNode [inline, virtual]
ToDocument()TiXmlNode [inline, virtual]
ToElement() const TiXmlNode [inline, virtual]
ToElement()TiXmlNode [inline, virtual]
ToText() const TiXmlNode [inline, virtual]
ToText()TiXmlNode [inline, virtual]
ToUnknown() const TiXmlNode [inline, virtual]
ToUnknown()TiXmlNode [inline, virtual]
Type() const TiXmlNode [inline]
userDataTiXmlBase [protected]
Value() const TiXmlNode [inline]
ValueStr() const TiXmlNode [inline]
Version() const TiXmlDeclaration [inline]
+
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlDeclaration.html b/shared/tinyxml/docs/classTiXmlDeclaration.html index 5ae9a0f3..e90cbcd2 100644 --- a/shared/tinyxml/docs/classTiXmlDeclaration.html +++ b/shared/tinyxml/docs/classTiXmlDeclaration.html @@ -1,96 +1,97 @@ - - + + + + TinyXml: TiXmlDeclaration Class Reference - - - - - - -

TiXmlDeclaration Class Reference

In correct XML the declaration is the first entry in the file. -More... -

-#include <tinyxml.h> -

-

Inheritance diagram for TiXmlDeclaration: -

- -TiXmlNode -TiXmlBase - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + +
+

TiXmlDeclaration Class Reference

+

In correct XML the declaration is the first entry in the file. +More...

-
- +

#include <tinyxml.h>

+
+Inheritance diagram for TiXmlDeclaration:
+
+
+ + +TiXmlNode +TiXmlBase + +
+
- +

List of all members.

+

Public Member Functions

TiXmlDeclaration ()
 Construct an empty declaration.
TiXmlDeclaration (const std::string &_version, const std::string &_encoding, const std::string &_standalone)
 Constructor.
TiXmlDeclaration (const char *_version, const char *_encoding, const char *_standalone)
 Construct.
-const char * Version () const
 Version. Will return an empty string if none was found.
-const char * Encoding () const
 Encoding. Will return an empty string if none was found.
-const char * Standalone () const
 Is this a standalone document?
-virtual TiXmlNodeClone () const
 Creates a copy of this Declaration and returns it.
virtual void Print (FILE *cfile, int depth) const
 All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
-virtual const TiXmlDeclarationToDeclaration () const
 Cast to a more defined type. Will return null not of the requested type.
-virtual TiXmlDeclarationToDeclaration ()
 Cast to a more defined type. Will return null not of the requested type.
-virtual bool Accept (TiXmlVisitor *visitor) const
 Walk the XML tree visiting this node and all of its children.
+ + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

TiXmlDeclaration ()
 Construct an empty declaration.
TiXmlDeclaration (const std::string &_version, const std::string &_encoding, const std::string &_standalone)
 Constructor.
TiXmlDeclaration (const char *_version, const char *_encoding, const char *_standalone)
 Construct.
+const char * Version () const
 Version. Will return an empty string if none was found.
+const char * Encoding () const
 Encoding. Will return an empty string if none was found.
+const char * Standalone () const
 Is this a standalone document?
+virtual TiXmlNodeClone () const
 Creates a copy of this Declaration and returns it.
virtual void Print (FILE *cfile, int depth) const
 All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
+virtual const TiXmlDeclarationToDeclaration () const
 Cast to a more defined type. Will return null not of the requested type.
+virtual TiXmlDeclarationToDeclaration ()
 Cast to a more defined type. Will return null not of the requested type.
+virtual bool Accept (TiXmlVisitor *visitor) const
 Walk the XML tree visiting this node and all of its children.
-

Detailed Description

-In correct XML the declaration is the first entry in the file. -

-

		<?xml version="1.0" standalone="yes"?>
-	

-TinyXml will happily read or write files without a declaration, however. There are 3 possible attributes to the declaration: version, encoding, and standalone.

-Note: In this version of the code, the attributes are handled as special cases, not generic attributes, simply because there can only be at most 3 and they are always the same. -

-


Member Function Documentation

- +

Detailed Description

+

In correct XML the declaration is the first entry in the file.

+
+		<?xml version="1.0" standalone="yes"?>
+	

TinyXml will happily read or write files without a declaration, however. There are 3 possible attributes to the declaration: version, encoding, and standalone.

+

Note: In this version of the code, the attributes are handled as special cases, not generic attributes, simply because there can only be at most 3 and they are always the same.

+

Member Function Documentation

+
- + @@ -104,26 +105,27 @@ Note: In this version of the code, the attributes are handled as special cases, - +
virtual void TiXmlDeclaration::Print virtual void TiXmlDeclaration::Print ( FILE *  cfile,
) const [inline, virtual] const [inline, virtual]
-

-All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. -

-) Either or both cfile and str can be null.

-This is a formatted print, and will insert tabs and newlines.

-(For an unformatted stream, use the << operator.) -

-Implements TiXmlBase. +

All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.

+

) Either or both cfile and str can be null.

+

This is a formatted print, and will insert tabs and newlines.

+

(For an unformatted stream, use the << operator.)

+ +

Implements TiXmlBase.

+ +
+
+
The documentation for this class was generated from the following file: -

-


The documentation for this class was generated from the following file: -
Generated on Sun May 6 15:41:23 2007 for TinyXml by  +
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlDeclaration.png b/shared/tinyxml/docs/classTiXmlDeclaration.png index c10912b7..c16d71bf 100644 Binary files a/shared/tinyxml/docs/classTiXmlDeclaration.png and b/shared/tinyxml/docs/classTiXmlDeclaration.png differ diff --git a/shared/tinyxml/docs/classTiXmlDocument-members.html b/shared/tinyxml/docs/classTiXmlDocument-members.html index df6132a0..02725730 100644 --- a/shared/tinyxml/docs/classTiXmlDocument-members.html +++ b/shared/tinyxml/docs/classTiXmlDocument-members.html @@ -1,119 +1,128 @@ - - + + + + TinyXml: Member List - - - - - - -

TiXmlDocument Member List

This is the complete list of members for TiXmlDocument, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Accept(TiXmlVisitor *content) const TiXmlDocument [virtual]
Clear()TiXmlNode
ClearError()TiXmlDocument [inline]
Clone() const TiXmlDocument [protected, virtual]
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
Error() const TiXmlDocument [inline]
ErrorCol() const TiXmlDocument [inline]
ErrorDesc() const TiXmlDocument [inline]
ErrorId() const TiXmlDocument [inline]
ErrorRow() const TiXmlDocument [inline]
FirstChild() const TiXmlNode [inline]
FirstChild(const char *value) const TiXmlNode
FirstChild(const char *_value)TiXmlNode [inline]
FirstChild(const std::string &_value) const TiXmlNode [inline]
FirstChild(const std::string &_value)TiXmlNode [inline]
FirstChildElement() const TiXmlNode
FirstChildElement(const char *_value) const TiXmlNode
FirstChildElement(const std::string &_value) const TiXmlNode [inline]
FirstChildElement(const std::string &_value)TiXmlNode [inline]
GetDocument() const TiXmlNode
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
InsertEndChild(const TiXmlNode &addThis)TiXmlNode
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
IterateChildren(const TiXmlNode *previous) const TiXmlNode
IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
LastChild()TiXmlNode [inline]
LastChild(const char *_value)TiXmlNode [inline]
LastChild(const std::string &_value) const TiXmlNode [inline]
LastChild(const std::string &_value)TiXmlNode [inline]
LinkEndChild(TiXmlNode *addThis)TiXmlNode
LoadFile(TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)TiXmlDocument
LoadFile(const char *filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)TiXmlDocument
LoadFile(FILE *, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)TiXmlDocument
LoadFile(const std::string &filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)TiXmlDocument [inline]
NextSibling(const std::string &_value) const TiXmlNode [inline]
NextSibling(const std::string &_value)TiXmlNode [inline]
NextSibling() const TiXmlNode [inline]
NextSibling(const char *) const TiXmlNode
NextSiblingElement() const TiXmlNode
NextSiblingElement(const char *) const TiXmlNode
NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
NextSiblingElement(const std::string &_value)TiXmlNode [inline]
NoChildren() const TiXmlNode [inline]
NodeType enum nameTiXmlNode
operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
Parent()TiXmlNode [inline]
Parse(const char *p, TiXmlParsingData *data=0, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)TiXmlDocument [virtual]
PreviousSibling() const TiXmlNode [inline]
PreviousSibling(const char *) const TiXmlNode
PreviousSibling(const std::string &_value) const TiXmlNode [inline]
PreviousSibling(const std::string &_value)TiXmlNode [inline]
Print() const TiXmlDocument [inline]
Print(FILE *cfile, int depth=0) const TiXmlDocument [virtual]
RemoveChild(TiXmlNode *removeThis)TiXmlNode
ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
RootElement() const TiXmlDocument [inline]
Row() const TiXmlBase [inline]
SaveFile() const TiXmlDocument
SaveFile(const char *filename) const TiXmlDocument
SaveFile(FILE *) const TiXmlDocument
SaveFile(const std::string &filename) const TiXmlDocument [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetTabSize(int _tabsize)TiXmlDocument [inline]
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlNode [inline]
SetValue(const std::string &_value)TiXmlNode [inline]
TiXmlDocument()TiXmlDocument
TiXmlDocument(const char *documentName)TiXmlDocument
TiXmlDocument(const std::string &documentName)TiXmlDocument
ToComment() const TiXmlNode [inline, virtual]
ToComment()TiXmlNode [inline, virtual]
ToDeclaration() const TiXmlNode [inline, virtual]
ToDeclaration()TiXmlNode [inline, virtual]
ToDocument() const TiXmlDocument [inline, virtual]
ToDocument()TiXmlDocument [inline, virtual]
ToElement() const TiXmlNode [inline, virtual]
ToElement()TiXmlNode [inline, virtual]
ToText() const TiXmlNode [inline, virtual]
ToText()TiXmlNode [inline, virtual]
ToUnknown() const TiXmlNode [inline, virtual]
ToUnknown()TiXmlNode [inline, virtual]
Type() const TiXmlNode [inline]
userDataTiXmlBase [protected]
Value() const TiXmlNode [inline]
ValueStr() const TiXmlNode [inline]


Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
+

TiXmlDocument Member List

This is the complete list of members for TiXmlDocument, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(TiXmlVisitor *content) const TiXmlDocument [virtual]
Clear()TiXmlNode
ClearError()TiXmlDocument [inline]
Clone() const TiXmlDocument [protected, virtual]
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
Error() const TiXmlDocument [inline]
ErrorCol() const TiXmlDocument [inline]
ErrorDesc() const TiXmlDocument [inline]
ErrorId() const TiXmlDocument [inline]
ErrorRow() const TiXmlDocument [inline]
FirstChild() const TiXmlNode [inline]
FirstChild(const char *value) const TiXmlNode
FirstChild(const char *_value)TiXmlNode [inline]
FirstChild(const std::string &_value) const TiXmlNode [inline]
FirstChild(const std::string &_value)TiXmlNode [inline]
FirstChildElement() const TiXmlNode
FirstChildElement(const char *_value) const TiXmlNode
FirstChildElement(const std::string &_value) const TiXmlNode [inline]
FirstChildElement(const std::string &_value)TiXmlNode [inline]
GetDocument() const TiXmlNode
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
InsertEndChild(const TiXmlNode &addThis)TiXmlNode
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
IterateChildren(const TiXmlNode *previous) const TiXmlNode
IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
LastChild()TiXmlNode [inline]
LastChild(const char *_value)TiXmlNode [inline]
LastChild(const std::string &_value) const TiXmlNode [inline]
LastChild(const std::string &_value)TiXmlNode [inline]
LinkEndChild(TiXmlNode *addThis)TiXmlNode
LoadFile(TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)TiXmlDocument
LoadFile(const char *filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)TiXmlDocument
LoadFile(FILE *, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)TiXmlDocument
LoadFile(const std::string &filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)TiXmlDocument [inline]
NextSibling(const std::string &_value) const TiXmlNode [inline]
NextSibling(const std::string &_value)TiXmlNode [inline]
NextSibling() const TiXmlNode [inline]
NextSibling(const char *) const TiXmlNode
NextSiblingElement() const TiXmlNode
NextSiblingElement(const char *) const TiXmlNode
NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
NextSiblingElement(const std::string &_value)TiXmlNode [inline]
NoChildren() const TiXmlNode [inline]
NodeType enum nameTiXmlNode
operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
Parent()TiXmlNode [inline]
Parse(const char *p, TiXmlParsingData *data=0, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)TiXmlDocument [virtual]
PreviousSibling() const TiXmlNode [inline]
PreviousSibling(const char *) const TiXmlNode
PreviousSibling(const std::string &_value) const TiXmlNode [inline]
PreviousSibling(const std::string &_value)TiXmlNode [inline]
Print() const TiXmlDocument [inline]
Print(FILE *cfile, int depth=0) const TiXmlDocument [virtual]
RemoveChild(TiXmlNode *removeThis)TiXmlNode
ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
RootElement() const TiXmlDocument [inline]
Row() const TiXmlBase [inline]
SaveFile() const TiXmlDocument
SaveFile(const char *filename) const TiXmlDocument
SaveFile(FILE *) const TiXmlDocument
SaveFile(const std::string &filename) const TiXmlDocument [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetTabSize(int _tabsize)TiXmlDocument [inline]
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlNode [inline]
SetValue(const std::string &_value)TiXmlNode [inline]
TiXmlDocument()TiXmlDocument
TiXmlDocument(const char *documentName)TiXmlDocument
TiXmlDocument(const std::string &documentName)TiXmlDocument
ToComment() const TiXmlNode [inline, virtual]
ToComment()TiXmlNode [inline, virtual]
ToDeclaration() const TiXmlNode [inline, virtual]
ToDeclaration()TiXmlNode [inline, virtual]
ToDocument() const TiXmlDocument [inline, virtual]
ToDocument()TiXmlDocument [inline, virtual]
ToElement() const TiXmlNode [inline, virtual]
ToElement()TiXmlNode [inline, virtual]
ToText() const TiXmlNode [inline, virtual]
ToText()TiXmlNode [inline, virtual]
ToUnknown() const TiXmlNode [inline, virtual]
ToUnknown()TiXmlNode [inline, virtual]
Type() const TiXmlNode [inline]
userDataTiXmlBase [protected]
Value() const TiXmlNode [inline]
ValueStr() const TiXmlNode [inline]
+
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlDocument.html b/shared/tinyxml/docs/classTiXmlDocument.html index 9779d3cc..107101cb 100644 --- a/shared/tinyxml/docs/classTiXmlDocument.html +++ b/shared/tinyxml/docs/classTiXmlDocument.html @@ -1,254 +1,236 @@ - - + + + + TinyXml: TiXmlDocument Class Reference - - - - - - -

TiXmlDocument Class Reference

Always the top level node. -More... -

-#include <tinyxml.h> -

-

Inheritance diagram for TiXmlDocument: -

- -TiXmlNode -TiXmlBase + + + + + + +
+

TiXmlDocument Class Reference

+

Always the top level node. +More...

+ +

#include <tinyxml.h>

+
+Inheritance diagram for TiXmlDocument:
+
+
+ + +TiXmlNode +TiXmlBase -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - +

List of all members.

+

Public Member Functions

TiXmlDocument ()
 Create an empty document, that has no name.
TiXmlDocument (const char *documentName)
 Create a document with a name. The name of the document is also the filename of the xml.
TiXmlDocument (const std::string &documentName)
 Constructor.
bool LoadFile (TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 Load a file using the current document value.
-bool SaveFile () const
 Save a file using the current document value. Returns true if successful.
-bool LoadFile (const char *filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 Load a file using the given filename. Returns true if successful.
-bool SaveFile (const char *filename) const
 Save a file using the given filename. Returns true if successful.
bool LoadFile (FILE *, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 Load a file using the given FILE*.
-bool SaveFile (FILE *) const
 Save a file using the given FILE*. Returns true if successful.
bool LoadFile (const std::string &filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
-bool SaveFile (const std::string &filename) const
 < STL std::string version.
virtual const char * Parse (const char *p, TiXmlParsingData *data=0, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 Parse the given null terminated block of xml data.
const TiXmlElementRootElement () const
 Get the root element -- the only top level element -- of the document.
bool Error () const
 If an error occurs, Error will be set to true.
-const char * ErrorDesc () const
 Contains a textual (english) description of the error if one occurs.
int ErrorId () const
 Generally, you probably want the error string ( ErrorDesc() ).
int ErrorRow () const
 Returns the location (if known) of the error.
-int ErrorCol () const
 The column where the error occured. See ErrorRow().
void SetTabSize (int _tabsize)
 SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to report the correct values for row and column.
void ClearError ()
 If you have handled the error, it can be reset with this call.
-void Print () const
 Write the document to standard out using formatted printing ("pretty print").
-virtual void Print (FILE *cfile, int depth=0) const
 Print this Document to a FILE stream.
-virtual const TiXmlDocumentToDocument () const
 Cast to a more defined type. Will return null not of the requested type.
-virtual TiXmlDocumentToDocument ()
 Cast to a more defined type. Will return null not of the requested type.
-virtual bool Accept (TiXmlVisitor *content) const
 Walk the XML tree visiting this node and all of its children.

Protected Member Functions

virtual TiXmlNodeClone () const
 Create an exact duplicate of this node and return it.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

TiXmlDocument ()
 Create an empty document, that has no name.
TiXmlDocument (const char *documentName)
 Create a document with a name. The name of the document is also the filename of the xml.
TiXmlDocument (const std::string &documentName)
 Constructor.
bool LoadFile (TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 Load a file using the current document value.
+bool SaveFile () const
 Save a file using the current document value. Returns true if successful.
+bool LoadFile (const char *filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 Load a file using the given filename. Returns true if successful.
+bool SaveFile (const char *filename) const
 Save a file using the given filename. Returns true if successful.
bool LoadFile (FILE *, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 Load a file using the given FILE*.
+bool SaveFile (FILE *) const
 Save a file using the given FILE*. Returns true if successful.
bool LoadFile (const std::string &filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
+bool SaveFile (const std::string &filename) const
 < STL std::string version.
virtual const char * Parse (const char *p, TiXmlParsingData *data=0, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 Parse the given null terminated block of xml data.
const TiXmlElementRootElement () const
 Get the root element -- the only top level element -- of the document.
bool Error () const
 If an error occurs, Error will be set to true.
+const char * ErrorDesc () const
 Contains a textual (english) description of the error if one occurs.
int ErrorId () const
 Generally, you probably want the error string ( ErrorDesc() ).
int ErrorRow () const
 Returns the location (if known) of the error.
+int ErrorCol () const
 The column where the error occured. See ErrorRow().
void SetTabSize (int _tabsize)
 SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to report the correct values for row and column.
void ClearError ()
 If you have handled the error, it can be reset with this call.
void Print () const
 Write the document to standard out using formatted printing ("pretty print").
+virtual void Print (FILE *cfile, int depth=0) const
 Print this Document to a FILE stream.
+virtual const TiXmlDocumentToDocument () const
 Cast to a more defined type. Will return null not of the requested type.
+virtual TiXmlDocumentToDocument ()
 Cast to a more defined type. Will return null not of the requested type.
+virtual bool Accept (TiXmlVisitor *content) const
 Walk the XML tree visiting this node and all of its children.

Protected Member Functions

virtual TiXmlNodeClone () const
 Create an exact duplicate of this node and return it.
-

Detailed Description

-Always the top level node. -

-A document binds together all the XML pieces. It can be saved, loaded, and printed to the screen. The 'value' of a document node is the xml file name. -

-


Member Function Documentation

- +

Detailed Description

+

Always the top level node.

+

A document binds together all the XML pieces. It can be saved, loaded, and printed to the screen. The 'value' of a document node is the xml file name.

+

Member Function Documentation

+
- + - + - +
void TiXmlDocument::ClearError void TiXmlDocument::ClearError (  )  [inline] [inline]
-

-If you have handled the error, it can be reset with this call. -

-The error state is automatically cleared if you Parse a new XML block. +

If you have handled the error, it can be reset with this call.

+

The error state is automatically cleared if you Parse a new XML block.

+ +
-

- +

- + - + - +
virtual TiXmlNode* TiXmlDocument::Clone virtual TiXmlNode* TiXmlDocument::Clone (  )  const [protected, virtual] const [protected, virtual]
-

-Create an exact duplicate of this node and return it. -

-The memory must be deleted by the caller. -

-Implements TiXmlNode. +

Create an exact duplicate of this node and return it.

+

The memory must be deleted by the caller.

+ +

Implements TiXmlNode.

+ +
-

- +

- + - + - +
bool TiXmlDocument::Error bool TiXmlDocument::Error (  )  const [inline] const [inline]
-

-If an error occurs, Error will be set to true. -

-Also,

    -
  • The ErrorId() will contain the integer identifier of the error (not generally useful)
  • The ErrorDesc() method will return the name of the error. (very useful)
  • The ErrorRow() and ErrorCol() will return the location of the error (if known)
+

If an error occurs, Error will be set to true.

+

Also,

+
    +
  • The ErrorId() will contain the integer identifier of the error (not generally useful)
  • +
  • The ErrorDesc() method will return the name of the error. (very useful)
  • +
  • The ErrorRow() and ErrorCol() will return the location of the error (if known)
  • +
-

- +

+
- + - + - +
int TiXmlDocument::ErrorId int TiXmlDocument::ErrorId (  )  const [inline] const [inline]
-

-Generally, you probably want the error string ( ErrorDesc() ). -

-But if you prefer the ErrorId, this function will fetch it. +

Generally, you probably want the error string ( ErrorDesc() ).

+

But if you prefer the ErrorId, this function will fetch it.

+
-

- + +

- + - + - +
int TiXmlDocument::ErrorRow int TiXmlDocument::ErrorRow (  )  const [inline] const [inline]
-

-Returns the location (if known) of the error. -

-The first column is column 1, and the first row is row 1. A value of 0 means the row and column wasn't applicable (memory errors, for example, have no row/column) or the parser lost the error. (An error in the error reporting, in that case.)

-

See also:
SetTabSize, Row, Column
+

Returns the location (if known) of the error.

+

The first column is column 1, and the first row is row 1. A value of 0 means the row and column wasn't applicable (memory errors, for example, have no row/column) or the parser lost the error. (An error in the error reporting, in that case.)

+
See also:
SetTabSize, Row, Column
-

- + +

- + @@ -262,27 +244,28 @@ The first column is column 1, and the first row is row 1. A value of 0 means the - +
bool TiXmlDocument::LoadFile bool TiXmlDocument::LoadFile ( const std::string &  filename,
) [inline] [inline]
- -

-

Parameters:
- - -
encoding  -STL std::string version.
+
Parameters:
+ + +
encoding STL std::string version.
+
+ +

References LoadFile().

+ +
-

- +

- + @@ -296,46 +279,46 @@ STL std::string version. - +
bool TiXmlDocument::LoadFile bool TiXmlDocument::LoadFile ( FILE *  ,
)
-

-Load a file using the given FILE*. -

-Returns true if successful. Note that this method doesn't stream - the entire object pointed at by the FILE* will be interpreted as an XML file. TinyXML doesn't stream in XML from the current file location. Streaming may be added in the future. +

Load a file using the given FILE*.

+

Returns true if successful. Note that this method doesn't stream - the entire object pointed at by the FILE* will be interpreted as an XML file. TinyXML doesn't stream in XML from the current file location. Streaming may be added in the future.

+ +
-

- +

- + - + - +
bool TiXmlDocument::LoadFile bool TiXmlDocument::LoadFile ( TiXmlEncoding  encoding = TIXML_DEFAULT_ENCODING encoding = TIXML_DEFAULT_ENCODING  ) 
-

-Load a file using the current document value. -

-Returns true if successful. Will delete any existing document data before loading. +

Load a file using the current document value.

+

Returns true if successful. Will delete any existing document data before loading.

+ +

Referenced by LoadFile().

+ +
-

- +

- + @@ -355,76 +338,100 @@ Returns true if successful. Will delete any existing document data before loadin - +
virtual const char* TiXmlDocument::Parse virtual const char* TiXmlDocument::Parse ( const char *  p,
) [virtual] [virtual]
-

-Parse the given null terminated block of xml data. -

-Passing in an encoding to this method (either TIXML_ENCODING_LEGACY or TIXML_ENCODING_UTF8 will force TinyXml to use that encoding, regardless of what TinyXml might otherwise try to detect. -

-Implements TiXmlBase. +

Parse the given null terminated block of xml data.

+

Passing in an encoding to this method (either TIXML_ENCODING_LEGACY or TIXML_ENCODING_UTF8 will force TinyXml to use that encoding, regardless of what TinyXml might otherwise try to detect.

+ +

Implements TiXmlBase.

+ +
-

- +

- + - + - +
const TiXmlElement* TiXmlDocument::RootElement void TiXmlDocument::Print (  )  const [inline] const [inline]
-

-Get the root element -- the only top level element -- of the document. -

-In well formed XML, there should only be one. TinyXml is tolerant of multiple elements at the document level. +

Write the document to standard out using formatted printing ("pretty print").

+ +

References Print().

+ +

Referenced by Print().

+ +
-

- +

- + + + + + + +
void TiXmlDocument::SetTabSize const TiXmlElement* TiXmlDocument::RootElement ( )  const [inline]
+
+
+ +

Get the root element -- the only top level element -- of the document.

+

In well formed XML, there should only be one. TinyXml is tolerant of multiple elements at the document level.

+ +

References TiXmlNode::FirstChildElement().

+ +
+
+ +
+
+ + + - + - +
void TiXmlDocument::SetTabSize ( int  _tabsize _tabsize  )  [inline] [inline]
-

-SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to report the correct values for row and column. -

-It does not change the output or input in any way.

-By calling this method, with a tab size greater than 0, the row and column of each node and attribute is stored when the file is loaded. Very useful for tracking the DOM back in to the source file.

-The tab size is required for calculating the location of nodes. If not set, the default of 4 is used. The tabsize is set per document. Setting the tabsize to 0 disables row/column tracking.

-Note that row and column tracking is not supported when using operator>>.

-The tab size needs to be enabled before the parse or load. Correct usage:

		TiXmlDocument doc;
+

SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to report the correct values for row and column.

+

It does not change the output or input in any way.

+

By calling this method, with a tab size greater than 0, the row and column of each node and attribute is stored when the file is loaded. Very useful for tracking the DOM back in to the source file.

+

The tab size is required for calculating the location of nodes. If not set, the default of 4 is used. The tabsize is set per document. Setting the tabsize to 0 disables row/column tracking.

+

Note that row and column tracking is not supported when using operator>>.

+

The tab size needs to be enabled before the parse or load. Correct usage:

+
+		TiXmlDocument doc;
 		doc.SetTabSize( 8 );
 		doc.Load( "myfile.xml" );
-		

-

See also:
Row, Column
+
See also:
Row, Column
-

-


The documentation for this class was generated from the following file: -
Generated on Sun May 6 15:41:23 2007 for TinyXml by  + +
The documentation for this class was generated from the following file: + +
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlDocument.png b/shared/tinyxml/docs/classTiXmlDocument.png index 32fd267e..d27aca29 100644 Binary files a/shared/tinyxml/docs/classTiXmlDocument.png and b/shared/tinyxml/docs/classTiXmlDocument.png differ diff --git a/shared/tinyxml/docs/classTiXmlElement-members.html b/shared/tinyxml/docs/classTiXmlElement-members.html index ece5255d..dff303a8 100644 --- a/shared/tinyxml/docs/classTiXmlElement-members.html +++ b/shared/tinyxml/docs/classTiXmlElement-members.html @@ -1,116 +1,127 @@ - - + + + + TinyXml: Member List - - - - - - -

TiXmlElement Member List

This is the complete list of members for TiXmlElement, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Accept(TiXmlVisitor *visitor) const TiXmlElement [virtual]
Attribute(const char *name) const TiXmlElement
Attribute(const char *name, int *i) const TiXmlElement
Attribute(const char *name, double *d) const TiXmlElement
Clear()TiXmlNode
Clone() const TiXmlElement [virtual]
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
FirstAttribute() const TiXmlElement [inline]
FirstChild() const TiXmlNode [inline]
FirstChild(const char *value) const TiXmlNode
FirstChild(const char *_value)TiXmlNode [inline]
FirstChild(const std::string &_value) const TiXmlNode [inline]
FirstChild(const std::string &_value)TiXmlNode [inline]
FirstChildElement() const TiXmlNode
FirstChildElement(const char *_value) const TiXmlNode
FirstChildElement(const std::string &_value) const TiXmlNode [inline]
FirstChildElement(const std::string &_value)TiXmlNode [inline]
GetDocument() const TiXmlNode
GetText() const TiXmlElement
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
InsertEndChild(const TiXmlNode &addThis)TiXmlNode
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
IterateChildren(const TiXmlNode *previous) const TiXmlNode
IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
LastAttribute() const TiXmlElement [inline]
LastChild()TiXmlNode [inline]
LastChild(const char *_value)TiXmlNode [inline]
LastChild(const std::string &_value) const TiXmlNode [inline]
LastChild(const std::string &_value)TiXmlNode [inline]
LinkEndChild(TiXmlNode *addThis)TiXmlNode
NextSibling(const std::string &_value) const TiXmlNode [inline]
NextSibling(const std::string &_value)TiXmlNode [inline]
NextSibling() const TiXmlNode [inline]
NextSibling(const char *) const TiXmlNode
NextSiblingElement() const TiXmlNode
NextSiblingElement(const char *) const TiXmlNode
NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
NextSiblingElement(const std::string &_value)TiXmlNode [inline]
NoChildren() const TiXmlNode [inline]
NodeType enum nameTiXmlNode
operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
Parent()TiXmlNode [inline]
PreviousSibling() const TiXmlNode [inline]
PreviousSibling(const char *) const TiXmlNode
PreviousSibling(const std::string &_value) const TiXmlNode [inline]
PreviousSibling(const std::string &_value)TiXmlNode [inline]
Print(FILE *cfile, int depth) const TiXmlElement [virtual]
QueryDoubleAttribute(const char *name, double *_value) const TiXmlElement
QueryFloatAttribute(const char *name, float *_value) const TiXmlElement [inline]
QueryIntAttribute(const char *name, int *_value) const TiXmlElement
QueryValueAttribute(const std::string &name, T *outValue) const TiXmlElement [inline]
RemoveAttribute(const char *name)TiXmlElement
RemoveAttribute(const std::string &name)TiXmlElement [inline]
RemoveChild(TiXmlNode *removeThis)TiXmlNode
ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
Row() const TiXmlBase [inline]
SetAttribute(const char *name, const char *_value)TiXmlElement
SetAttribute(const std::string &name, const std::string &_value)TiXmlElement
SetAttribute(const char *name, int value)TiXmlElement
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetDoubleAttribute(const char *name, double value)TiXmlElement
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlNode [inline]
SetValue(const std::string &_value)TiXmlNode [inline]
TiXmlElement(const char *in_value)TiXmlElement
TiXmlElement(const std::string &_value)TiXmlElement
ToComment() const TiXmlNode [inline, virtual]
ToComment()TiXmlNode [inline, virtual]
ToDeclaration() const TiXmlNode [inline, virtual]
ToDeclaration()TiXmlNode [inline, virtual]
ToDocument() const TiXmlNode [inline, virtual]
ToDocument()TiXmlNode [inline, virtual]
ToElement() const TiXmlElement [inline, virtual]
ToElement()TiXmlElement [inline, virtual]
ToText() const TiXmlNode [inline, virtual]
ToText()TiXmlNode [inline, virtual]
ToUnknown() const TiXmlNode [inline, virtual]
ToUnknown()TiXmlNode [inline, virtual]
Type() const TiXmlNode [inline]
userDataTiXmlBase [protected]
Value() const TiXmlNode [inline]
ValueStr() const TiXmlNode [inline]


Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
+

TiXmlElement Member List

This is the complete list of members for TiXmlElement, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(TiXmlVisitor *visitor) const TiXmlElement [virtual]
Attribute(const char *name) const TiXmlElement
Attribute(const char *name, int *i) const TiXmlElement
Attribute(const char *name, double *d) const TiXmlElement
Clear()TiXmlNode
Clone() const TiXmlElement [virtual]
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
FirstAttribute() const TiXmlElement [inline]
FirstChild() const TiXmlNode [inline]
FirstChild(const char *value) const TiXmlNode
FirstChild(const char *_value)TiXmlNode [inline]
FirstChild(const std::string &_value) const TiXmlNode [inline]
FirstChild(const std::string &_value)TiXmlNode [inline]
FirstChildElement() const TiXmlNode
FirstChildElement(const char *_value) const TiXmlNode
FirstChildElement(const std::string &_value) const TiXmlNode [inline]
FirstChildElement(const std::string &_value)TiXmlNode [inline]
GetDocument() const TiXmlNode
GetText() const TiXmlElement
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
InsertEndChild(const TiXmlNode &addThis)TiXmlNode
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
IterateChildren(const TiXmlNode *previous) const TiXmlNode
IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
LastAttribute() const TiXmlElement [inline]
LastChild()TiXmlNode [inline]
LastChild(const char *_value)TiXmlNode [inline]
LastChild(const std::string &_value) const TiXmlNode [inline]
LastChild(const std::string &_value)TiXmlNode [inline]
LinkEndChild(TiXmlNode *addThis)TiXmlNode
NextSibling(const std::string &_value) const TiXmlNode [inline]
NextSibling(const std::string &_value)TiXmlNode [inline]
NextSibling() const TiXmlNode [inline]
NextSibling(const char *) const TiXmlNode
NextSiblingElement() const TiXmlNode
NextSiblingElement(const char *) const TiXmlNode
NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
NextSiblingElement(const std::string &_value)TiXmlNode [inline]
NoChildren() const TiXmlNode [inline]
NodeType enum nameTiXmlNode
operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
Parent()TiXmlNode [inline]
PreviousSibling() const TiXmlNode [inline]
PreviousSibling(const char *) const TiXmlNode
PreviousSibling(const std::string &_value) const TiXmlNode [inline]
PreviousSibling(const std::string &_value)TiXmlNode [inline]
Print(FILE *cfile, int depth) const TiXmlElement [virtual]
QueryDoubleAttribute(const char *name, double *_value) const TiXmlElement
QueryFloatAttribute(const char *name, float *_value) const TiXmlElement [inline]
QueryIntAttribute(const char *name, int *_value) const TiXmlElement
QueryStringAttribute(const char *name, std::string *_value) const TiXmlElement [inline]
QueryValueAttribute(const std::string &name, T *outValue) const TiXmlElement [inline]
RemoveAttribute(const char *name)TiXmlElement
RemoveAttribute(const std::string &name)TiXmlElement [inline]
RemoveChild(TiXmlNode *removeThis)TiXmlNode
ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
Row() const TiXmlBase [inline]
SetAttribute(const char *name, const char *_value)TiXmlElement
SetAttribute(const std::string &name, const std::string &_value)TiXmlElement
SetAttribute(const std::string &name, int _value)TiXmlElement
SetAttribute(const char *name, int value)TiXmlElement
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetDoubleAttribute(const char *name, double value)TiXmlElement
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlNode [inline]
SetValue(const std::string &_value)TiXmlNode [inline]
TiXmlElement(const char *in_value)TiXmlElement
TiXmlElement(const std::string &_value)TiXmlElement
ToComment() const TiXmlNode [inline, virtual]
ToComment()TiXmlNode [inline, virtual]
ToDeclaration() const TiXmlNode [inline, virtual]
ToDeclaration()TiXmlNode [inline, virtual]
ToDocument() const TiXmlNode [inline, virtual]
ToDocument()TiXmlNode [inline, virtual]
ToElement() const TiXmlElement [inline, virtual]
ToElement()TiXmlElement [inline, virtual]
ToText() const TiXmlNode [inline, virtual]
ToText()TiXmlNode [inline, virtual]
ToUnknown() const TiXmlNode [inline, virtual]
ToUnknown()TiXmlNode [inline, virtual]
Type() const TiXmlNode [inline]
userDataTiXmlBase [protected]
Value() const TiXmlNode [inline]
ValueStr() const TiXmlNode [inline]
+
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlElement.html b/shared/tinyxml/docs/classTiXmlElement.html index dcbd2515..ac1b3d7a 100644 --- a/shared/tinyxml/docs/classTiXmlElement.html +++ b/shared/tinyxml/docs/classTiXmlElement.html @@ -1,134 +1,127 @@ - - + + + + TinyXml: TiXmlElement Class Reference - - - - - - -

TiXmlElement Class Reference

The element is a container class. -More... -

-#include <tinyxml.h> -

-

Inheritance diagram for TiXmlElement: -

- -TiXmlNode -TiXmlBase + + + + + + +
+

TiXmlElement Class Reference

+

The element is a container class. +More...

+ +

#include <tinyxml.h>

+
+Inheritance diagram for TiXmlElement:
+
+
+ + +TiXmlNode +TiXmlBase -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - +

List of all members.

+

Public Member Functions

TiXmlElement (const char *in_value)
 Construct an element.
TiXmlElement (const std::string &_value)
 std::string constructor.
-const char * Attribute (const char *name) const
 Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.
const char * Attribute (const char *name, int *i) const
 Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.
const char * Attribute (const char *name, double *d) const
 Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.
int QueryIntAttribute (const char *name, int *_value) const
 QueryIntAttribute examines the attribute - it is an alternative to the Attribute() method with richer error checking.
-int QueryDoubleAttribute (const char *name, double *_value) const
 QueryDoubleAttribute examines the attribute - see QueryIntAttribute().
-int QueryFloatAttribute (const char *name, float *_value) const
 QueryFloatAttribute examines the attribute - see QueryIntAttribute().
template<typename T>
int QueryValueAttribute (const std::string &name, T *outValue) const
 Template form of the attribute query which will try to read the attribute into the specified type.
void SetAttribute (const char *name, const char *_value)
 Sets an attribute of name to a given value.
-void SetAttribute (const std::string &name, const std::string &_value)
 STL std::string form. STL std::string form.
void SetAttribute (const char *name, int value)
 Sets an attribute of name to a given value.
void SetDoubleAttribute (const char *name, double value)
 Sets an attribute of name to a given value.
-void RemoveAttribute (const char *name)
 Deletes an attribute with the given name.
-void RemoveAttribute (const std::string &name)
 STL std::string form.
-const TiXmlAttributeFirstAttribute () const
 Access the first attribute in this element.
-const TiXmlAttributeLastAttribute () const
 Access the last attribute in this element.
const char * GetText () const
 Convenience function for easy access to the text inside an element.
-virtual TiXmlNodeClone () const
 Creates a new Element and returns it - the returned element is a copy.
virtual void Print (FILE *cfile, int depth) const
 All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
-virtual const TiXmlElementToElement () const
 Cast to a more defined type. Will return null not of the requested type.
-virtual TiXmlElementToElement ()
 Cast to a more defined type. Will return null not of the requested type.
-virtual bool Accept (TiXmlVisitor *visitor) const
 Walk the XML tree visiting this node and all of its children.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

TiXmlElement (const char *in_value)
 Construct an element.
TiXmlElement (const std::string &_value)
 std::string constructor.
+const char * Attribute (const char *name) const
 Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.
const char * Attribute (const char *name, int *i) const
 Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.
const char * Attribute (const char *name, double *d) const
 Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.
int QueryIntAttribute (const char *name, int *_value) const
 QueryIntAttribute examines the attribute - it is an alternative to the Attribute() method with richer error checking.
+int QueryDoubleAttribute (const char *name, double *_value) const
 QueryDoubleAttribute examines the attribute - see QueryIntAttribute().
+int QueryFloatAttribute (const char *name, float *_value) const
 QueryFloatAttribute examines the attribute - see QueryIntAttribute().
+int QueryStringAttribute (const char *name, std::string *_value) const
 QueryStringAttribute examines the attribute - see QueryIntAttribute().
template<typename T >
int QueryValueAttribute (const std::string &name, T *outValue) const
 Template form of the attribute query which will try to read the attribute into the specified type.
void SetAttribute (const char *name, const char *_value)
 Sets an attribute of name to a given value.
void SetAttribute (const std::string &name, const std::string &_value)
+void SetAttribute (const std::string &name, int _value)
 STL std::string form.
void SetAttribute (const char *name, int value)
 Sets an attribute of name to a given value.
void SetDoubleAttribute (const char *name, double value)
 Sets an attribute of name to a given value.
+void RemoveAttribute (const char *name)
 Deletes an attribute with the given name.
+void RemoveAttribute (const std::string &name)
 STL std::string form.
+const TiXmlAttributeFirstAttribute () const
 Access the first attribute in this element.
+const TiXmlAttributeLastAttribute () const
 Access the last attribute in this element.
const char * GetText () const
 Convenience function for easy access to the text inside an element.
+virtual TiXmlNodeClone () const
 Creates a new Element and returns it - the returned element is a copy.
virtual void Print (FILE *cfile, int depth) const
 All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
+virtual const TiXmlElementToElement () const
 Cast to a more defined type. Will return null not of the requested type.
+virtual TiXmlElementToElement ()
 Cast to a more defined type. Will return null not of the requested type.
+virtual bool Accept (TiXmlVisitor *visitor) const
 Walk the XML tree visiting this node and all of its children.
-

Detailed Description

-The element is a container class. -

-It has a value, the element name, and can contain other elements, text, comments, and unknowns. Elements also contain an arbitrary number of attributes. -

-


Member Function Documentation

- +

Detailed Description

+

The element is a container class.

+

It has a value, the element name, and can contain other elements, text, comments, and unknowns. Elements also contain an arbitrary number of attributes.

+

Member Function Documentation

+
- + @@ -142,24 +135,23 @@ It has a value, the element name, and can contain other elements, text, comments - +
const char* TiXmlElement::Attribute const char* TiXmlElement::Attribute ( const char *  name,
) const const
-

-Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists. -

-If the attribute exists and can be converted to an double, the double value will be put in the return 'd', if 'd' is non-null. +

Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.

+

If the attribute exists and can be converted to an double, the double value will be put in the return 'd', if 'd' is non-null.

+
-

- +

+
- + @@ -173,55 +165,57 @@ If the attribute exists and can be converted to an double, the double value will - +
const char* TiXmlElement::Attribute const char* TiXmlElement::Attribute ( const char *  name,
) const const
-

-Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists. -

-If the attribute exists and can be converted to an integer, the integer value will be put in the return 'i', if 'i' is non-null. +

Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.

+

If the attribute exists and can be converted to an integer, the integer value will be put in the return 'i', if 'i' is non-null.

+
-

- +

+
- + - + - +
const char* TiXmlElement::GetText const char* TiXmlElement::GetText (  )  const const
-

-Convenience function for easy access to the text inside an element. -

-Although easy and concise, GetText() is limited compared to getting the TiXmlText child and accessing it directly.

-If the first child of 'this' is a TiXmlText, the GetText() returns the character string of the Text node, else null is returned.

-This is a convenient method for getting the text of simple contained text:

		<foo>This is text</foo>
+

Convenience function for easy access to the text inside an element.

+

Although easy and concise, GetText() is limited compared to getting the TiXmlText child and accessing it directly.

+

If the first child of 'this' is a TiXmlText, the GetText() returns the character string of the Text node, else null is returned.

+

This is a convenient method for getting the text of simple contained text:

+
+		<foo>This is text</foo>
 		const char* str = fooElement->GetText();
-		

-'str' will be a pointer to "This is text".

-Note that this function can be misleading. If the element foo was created from this XML:

		<foo><b>This is text</b></foo> 
-		

-then the value of str would be null. The first child node isn't a text node, it is another element. From this XML:

		<foo>This is <b>text</b></foo> 
-		
GetText() will return "This is ".

-WARNING: GetText() accesses a child node - don't become confused with the similarly named TiXmlHandle::Text() and TiXmlNode::ToText() which are safe type casts on the referenced node. -

-

- +

'str' will be a pointer to "This is text".

+

Note that this function can be misleading. If the element foo was created from this XML:

+
+		<foo><b>This is text</b></foo> 
+		

then the value of str would be null. The first child node isn't a text node, it is another element. From this XML:

+
+		<foo>This is <b>text</b></foo> 
+		

GetText() will return "This is ".

+

WARNING: GetText() accesses a child node - don't become confused with the similarly named TiXmlHandle::Text() and TiXmlNode::ToText() which are safe type casts on the referenced node.

+ +
+ +

- +

All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.

+

) Either or both cfile and str can be null.

+

This is a formatted print, and will insert tabs and newlines.

+

(For an unformatted stream, use the << operator.)

+ +

Implements TiXmlBase.

+ + + +
- + @@ -270,26 +263,25 @@ Implements const +
int TiXmlElement::QueryIntAttribute int TiXmlElement::QueryIntAttribute ( const char *  name, const
-

-QueryIntAttribute examines the attribute - it is an alternative to the Attribute() method with richer error checking. -

-If the attribute is an integer, it is stored in 'value' and the call returns TIXML_SUCCESS. If it is not an integer, it returns TIXML_WRONG_TYPE. If the attribute does not exist, then TIXML_NO_ATTRIBUTE is returned. +

QueryIntAttribute examines the attribute - it is an alternative to the Attribute() method with richer error checking.

+

If the attribute is an integer, it is stored in 'value' and the call returns TIXML_SUCCESS. If it is not an integer, it returns TIXML_WRONG_TYPE. If the attribute does not exist, then TIXML_NO_ATTRIBUTE is returned.

+
-

- + +

-template<typename T>
+template<typename T >
- + @@ -303,27 +295,27 @@ template<typename T> - +
int TiXmlElement::QueryValueAttribute int TiXmlElement::QueryValueAttribute ( const std::string &  name,
) const [inline] const [inline]
-

-Template form of the attribute query which will try to read the attribute into the specified type. -

-Very easy, very powerful, but be careful to make sure to call this with the correct type.

-NOTE: This method doesn't work correctly for 'string' types.

-

Returns:
TIXML_SUCCESS, TIXML_WRONG_TYPE, or TIXML_NO_ATTRIBUTE
+

Template form of the attribute query which will try to read the attribute into the specified type.

+

Very easy, very powerful, but be careful to make sure to call this with the correct type.

+

NOTE: This method doesn't work correctly for 'string' types that contain spaces.

+
Returns:
TIXML_SUCCESS, TIXML_WRONG_TYPE, or TIXML_NO_ATTRIBUTE
+ +

References TiXmlAttribute::ValueStr().

-

- + +

- + @@ -337,24 +329,51 @@ NOTE: This method doesn't work correctly for 'string' types.

- +
void TiXmlElement::SetAttribute void TiXmlElement::SetAttribute ( const char *  name,
)
-

-Sets an attribute of name to a given value. -

-The attribute will be created if it does not exist, or changed if it does. +

Sets an attribute of name to a given value.

+

The attribute will be created if it does not exist, or changed if it does.

+ +
-

- +

- + + + + + + + + + + + + + + + + +
void TiXmlElement::SetAttribute void TiXmlElement::SetAttribute (const std::string &  name,
const std::string &  _value 
)
+
+
+

STL std::string form.

+ +
+
+ +
+
+ + + @@ -368,24 +387,23 @@ The attribute will be created if it does not exist, or changed if it does. - +
void TiXmlElement::SetAttribute ( const char *  name,
)
-

-Sets an attribute of name to a given value. -

-The attribute will be created if it does not exist, or changed if it does. +

Sets an attribute of name to a given value.

+

The attribute will be created if it does not exist, or changed if it does.

+ +
-

- +

- + @@ -399,22 +417,23 @@ The attribute will be created if it does not exist, or changed if it does. - +
void TiXmlElement::SetDoubleAttribute void TiXmlElement::SetDoubleAttribute ( const char *  name,
)
-

-Sets an attribute of name to a given value. -

-The attribute will be created if it does not exist, or changed if it does. -

-

-


The documentation for this class was generated from the following file: -
Generated on Sun May 6 15:41:23 2007 for TinyXml by  +

Sets an attribute of name to a given value.

+

The attribute will be created if it does not exist, or changed if it does.

+ + + +
The documentation for this class was generated from the following file: + +
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlElement.png b/shared/tinyxml/docs/classTiXmlElement.png index 5acc21bd..21e8c8f9 100644 Binary files a/shared/tinyxml/docs/classTiXmlElement.png and b/shared/tinyxml/docs/classTiXmlElement.png differ diff --git a/shared/tinyxml/docs/classTiXmlHandle-members.html b/shared/tinyxml/docs/classTiXmlHandle-members.html index 77ed5bab..91fd69c3 100644 --- a/shared/tinyxml/docs/classTiXmlHandle-members.html +++ b/shared/tinyxml/docs/classTiXmlHandle-members.html @@ -1,44 +1,53 @@ - - + + + + TinyXml: Member List - - - - - - -

TiXmlHandle Member List

This is the complete list of members for TiXmlHandle, including all inherited members.

- - - - - - - - - - - - - - - - - - -
Child(const char *value, int index) const TiXmlHandle
Child(int index) const TiXmlHandle
ChildElement(const char *value, int index) const TiXmlHandle
ChildElement(int index) const TiXmlHandle
Element() const TiXmlHandle [inline]
FirstChild() const TiXmlHandle
FirstChild(const char *value) const TiXmlHandle
FirstChildElement() const TiXmlHandle
FirstChildElement(const char *value) const TiXmlHandle
Node() const TiXmlHandle [inline]
Text() const TiXmlHandle [inline]
TiXmlHandle(TiXmlNode *_node)TiXmlHandle [inline]
TiXmlHandle(const TiXmlHandle &ref)TiXmlHandle [inline]
ToElement() const TiXmlHandle [inline]
ToNode() const TiXmlHandle [inline]
ToText() const TiXmlHandle [inline]
ToUnknown() const TiXmlHandle [inline]
Unknown() const TiXmlHandle [inline]


Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
+

TiXmlHandle Member List

This is the complete list of members for TiXmlHandle, including all inherited members. + + + + + + + + + + + + + + + + + + +
Child(const char *value, int index) const TiXmlHandle
Child(int index) const TiXmlHandle
ChildElement(const char *value, int index) const TiXmlHandle
ChildElement(int index) const TiXmlHandle
Element() const TiXmlHandle [inline]
FirstChild() const TiXmlHandle
FirstChild(const char *value) const TiXmlHandle
FirstChildElement() const TiXmlHandle
FirstChildElement(const char *value) const TiXmlHandle
Node() const TiXmlHandle [inline]
Text() const TiXmlHandle [inline]
TiXmlHandle(TiXmlNode *_node)TiXmlHandle [inline]
TiXmlHandle(const TiXmlHandle &ref)TiXmlHandle [inline]
ToElement() const TiXmlHandle [inline]
ToNode() const TiXmlHandle [inline]
ToText() const TiXmlHandle [inline]
ToUnknown() const TiXmlHandle [inline]
Unknown() const TiXmlHandle [inline]
+
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlHandle.html b/shared/tinyxml/docs/classTiXmlHandle.html index 3808e66f..0e0d45e3 100644 --- a/shared/tinyxml/docs/classTiXmlHandle.html +++ b/shared/tinyxml/docs/classTiXmlHandle.html @@ -1,101 +1,93 @@ - - + + + + TinyXml: TiXmlHandle Class Reference - - - - - - -

TiXmlHandle Class Reference

A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly useful thing. -More... -

-#include <tinyxml.h> -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + +
+

TiXmlHandle Class Reference

+

A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly useful thing. +More...

+ +

#include <tinyxml.h>

+ +

List of all members.

+

Public Member Functions

TiXmlHandle (TiXmlNode *_node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer.
TiXmlHandle (const TiXmlHandle &ref)
 Copy constructor.
-TiXmlHandle FirstChild () const
 Return a handle to the first child node.
-TiXmlHandle FirstChild (const char *value) const
 Return a handle to the first child node with the given name.
-TiXmlHandle FirstChildElement () const
 Return a handle to the first child element.
-TiXmlHandle FirstChildElement (const char *value) const
 Return a handle to the first child element with the given name.
TiXmlHandle Child (const char *value, int index) const
 Return a handle to the "index" child with the given name.
TiXmlHandle Child (int index) const
 Return a handle to the "index" child.
TiXmlHandle ChildElement (const char *value, int index) const
 Return a handle to the "index" child element with the given name.
TiXmlHandle ChildElement (int index) const
 Return a handle to the "index" child element.
TiXmlNodeToNode () const
 Return the handle as a TiXmlNode.
TiXmlElementToElement () const
 Return the handle as a TiXmlElement.
TiXmlTextToText () const
 Return the handle as a TiXmlText.
TiXmlUnknownToUnknown () const
 Return the handle as a TiXmlUnknown.
TiXmlNodeNode () const
TiXmlElementElement () const
TiXmlTextText () const
TiXmlUnknownUnknown () const
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

TiXmlHandle (TiXmlNode *_node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer.
TiXmlHandle (const TiXmlHandle &ref)
 Copy constructor.
+TiXmlHandle FirstChild () const
 Return a handle to the first child node.
+TiXmlHandle FirstChild (const char *value) const
 Return a handle to the first child node with the given name.
+TiXmlHandle FirstChildElement () const
 Return a handle to the first child element.
+TiXmlHandle FirstChildElement (const char *value) const
 Return a handle to the first child element with the given name.
TiXmlHandle Child (const char *value, int index) const
 Return a handle to the "index" child with the given name.
TiXmlHandle Child (int index) const
 Return a handle to the "index" child.
TiXmlHandle ChildElement (const char *value, int index) const
 Return a handle to the "index" child element with the given name.
TiXmlHandle ChildElement (int index) const
 Return a handle to the "index" child element.
TiXmlNodeToNode () const
 Return the handle as a TiXmlNode.
TiXmlElementToElement () const
 Return the handle as a TiXmlElement.
TiXmlTextToText () const
 Return the handle as a TiXmlText.
TiXmlUnknownToUnknown () const
 Return the handle as a TiXmlUnknown.
TiXmlNodeNode () const
TiXmlElementElement () const
TiXmlTextText () const
TiXmlUnknownUnknown () const
-


Detailed Description

-A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly useful thing. -

-Note that TiXmlHandle is not part of the TinyXml DOM structure. It is a separate utility class.

-Take an example:

	<Document>
+

Detailed Description

+

A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly useful thing.

+

Note that TiXmlHandle is not part of the TinyXml DOM structure. It is a separate utility class.

+

Take an example:

+
+	<Document>
 		<Element attributeA = "valueA">
 			<Child attributeB = "value1" />
 			<Child attributeB = "value2" />
 		</Element>
 	<Document>
-	

-Assuming you want the value of "attributeB" in the 2nd "Child" element, it's very easy to write a *lot* of code that looks like:

-

	TiXmlElement* root = document.FirstChildElement( "Document" );
+	

Assuming you want the value of "attributeB" in the 2nd "Child" element, it's very easy to write a *lot* of code that looks like:

+
+	TiXmlElement* root = document.FirstChildElement( "Document" );
 	if ( root )
 	{
 		TiXmlElement* element = root->FirstChildElement( "Element" );
@@ -108,19 +100,20 @@ Assuming you want the value of "attributeB" in the 2nd "Child" element, it's ver
 				if ( child2 )
 				{
 					// Finally do something useful.
-	

-And that doesn't even cover "else" cases. TiXmlHandle addresses the verbosity of such code. A TiXmlHandle checks for null pointers so it is perfectly safe and correct to use:

-

	TiXmlHandle docHandle( &document );
+	

And that doesn't even cover "else" cases. TiXmlHandle addresses the verbosity of such code. A TiXmlHandle checks for null pointers so it is perfectly safe and correct to use:

+
+	TiXmlHandle docHandle( &document );
 	TiXmlElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", 1 ).ToElement();
 	if ( child2 )
 	{
 		// do something useful
-	

-Which is MUCH more concise and useful.

-It is also safe to copy handles - internally they are nothing more than node pointers.

	TiXmlHandle handleCopy = handle;
-	

-What they should not be used for is iteration:

-

	int i=0; 
+	

Which is MUCH more concise and useful.

+

It is also safe to copy handles - internally they are nothing more than node pointers.

+
+	TiXmlHandle handleCopy = handle;
+	

What they should not be used for is iteration:

+
+	int i=0; 
 	while ( true )
 	{
 		TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", i ).ToElement();
@@ -129,45 +122,42 @@ What they should not be used for is iteration:

// do something ++i; } -

-It seems reasonable, but it is in fact two embedded while loops. The Child method is a linear walk to find the element, so this code would iterate much more than it needs to. Instead, prefer:

-

	TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).FirstChild( "Child" ).ToElement();
+	

It seems reasonable, but it is in fact two embedded while loops. The Child method is a linear walk to find the element, so this code would iterate much more than it needs to. Instead, prefer:

+
+	TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).FirstChild( "Child" ).ToElement();
 
 	for( child; child; child=child->NextSiblingElement() )
 	{
 		// do something
 	}
-	
-

-


Member Function Documentation

- +

Member Function Documentation

+
- + - + - +
TiXmlHandle TiXmlHandle::Child TiXmlHandle TiXmlHandle::Child ( int  index index  )  const const
-

-Return a handle to the "index" child. -

-The first child is 0, the second 1, etc. +

Return a handle to the "index" child.

+

The first child is 0, the second 1, etc.

+
-

- + +

- + @@ -181,46 +171,44 @@ The first child is 0, the second 1, etc. - +
TiXmlHandle TiXmlHandle::Child TiXmlHandle TiXmlHandle::Child ( const char *  value,
) const const
-

-Return a handle to the "index" child with the given name. -

-The first child is 0, the second 1, etc. +

Return a handle to the "index" child with the given name.

+

The first child is 0, the second 1, etc.

+
-

- + +

- + - + - +
TiXmlHandle TiXmlHandle::ChildElement TiXmlHandle TiXmlHandle::ChildElement ( int  index index  )  const const
-

-Return a handle to the "index" child element. -

-The first child element is 0, the second 1, etc. Note that only TiXmlElements are indexed: other types are not counted. +

Return a handle to the "index" child element.

+

The first child element is 0, the second 1, etc. Note that only TiXmlElements are indexed: other types are not counted.

+ +
-

- +

- + @@ -234,186 +222,191 @@ The first child element is 0, the second 1, etc. Note that only TiXmlElements ar - +
TiXmlHandle TiXmlHandle::ChildElement TiXmlHandle TiXmlHandle::ChildElement ( const char *  value,
) const const
-

-Return a handle to the "index" child element with the given name. -

-The first child element is 0, the second 1, etc. Note that only TiXmlElements are indexed: other types are not counted. +

Return a handle to the "index" child element with the given name.

+

The first child element is 0, the second 1, etc. Note that only TiXmlElements are indexed: other types are not counted.

+ +
-

- +

- + - + - +
TiXmlElement* TiXmlHandle::Element TiXmlElement* TiXmlHandle::Element (  )  const [inline] const [inline]
+
Deprecated:
use ToElement. Return the handle as a TiXmlElement. This may return null.
-

-

Deprecated:
use ToElement. Return the handle as a TiXmlElement. This may return null.
+

References ToElement().

-

- + +

- + - + - +
TiXmlNode* TiXmlHandle::Node TiXmlNode* TiXmlHandle::Node (  )  const [inline] const [inline]
+
Deprecated:
use ToNode. Return the handle as a TiXmlNode. This may return null.
-

-

Deprecated:
use ToNode. Return the handle as a TiXmlNode. This may return null.
+

References ToNode().

-

- + +

- + - + - +
TiXmlText* TiXmlHandle::Text TiXmlText* TiXmlHandle::Text (  )  const [inline] const [inline]
+
Deprecated:
use ToText() Return the handle as a TiXmlText. This may return null.
-

-

Deprecated:
use ToText() Return the handle as a TiXmlText. This may return null.
+

References ToText().

-

- + +

- + - + - +
TiXmlElement* TiXmlHandle::ToElement TiXmlElement* TiXmlHandle::ToElement (  )  const [inline] const [inline]
-

-Return the handle as a TiXmlElement. -

-This may return null. +

Return the handle as a TiXmlElement.

+

This may return null.

+ +

Referenced by Element().

+ +
-

- +

- + - + - +
TiXmlNode* TiXmlHandle::ToNode TiXmlNode* TiXmlHandle::ToNode (  )  const [inline] const [inline]
-

-Return the handle as a TiXmlNode. -

-This may return null. +

Return the handle as a TiXmlNode.

+

This may return null.

+ +

Referenced by Node().

+ +
-

- +

- + - + - +
TiXmlText* TiXmlHandle::ToText TiXmlText* TiXmlHandle::ToText (  )  const [inline] const [inline]
-

-Return the handle as a TiXmlText. -

-This may return null. +

Return the handle as a TiXmlText.

+

This may return null.

+ +

Referenced by Text().

+ +
-

- +

- + - + - +
TiXmlUnknown* TiXmlHandle::ToUnknown TiXmlUnknown* TiXmlHandle::ToUnknown (  )  const [inline] const [inline]
-

-Return the handle as a TiXmlUnknown. -

-This may return null. +

Return the handle as a TiXmlUnknown.

+

This may return null.

+ +

Referenced by Unknown().

+ +
-

- +

- + - + - +
TiXmlUnknown* TiXmlHandle::Unknown TiXmlUnknown* TiXmlHandle::Unknown (  )  const [inline] const [inline]
+
Deprecated:
use ToUnknown() Return the handle as a TiXmlUnknown. This may return null.
-

-

Deprecated:
use ToUnknown() Return the handle as a TiXmlUnknown. This may return null.
+

References ToUnknown().

-

-


The documentation for this class was generated from the following file: -
Generated on Sun May 6 15:41:23 2007 for TinyXml by  + +
The documentation for this class was generated from the following file: + +
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlNode-members.html b/shared/tinyxml/docs/classTiXmlNode-members.html index b7c9ecf5..3151b699 100644 --- a/shared/tinyxml/docs/classTiXmlNode-members.html +++ b/shared/tinyxml/docs/classTiXmlNode-members.html @@ -1,98 +1,107 @@ - - + + + + TinyXml: Member List - - - - - - -

TiXmlNode Member List

This is the complete list of members for TiXmlNode, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Accept(TiXmlVisitor *visitor) const =0TiXmlNode [pure virtual]
Clear()TiXmlNode
Clone() const =0TiXmlNode [pure virtual]
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
FirstChild() const TiXmlNode [inline]
FirstChild(const char *value) const TiXmlNode
FirstChild(const char *_value)TiXmlNode [inline]
FirstChild(const std::string &_value) const TiXmlNode [inline]
FirstChild(const std::string &_value)TiXmlNode [inline]
FirstChildElement() const TiXmlNode
FirstChildElement(const char *_value) const TiXmlNode
FirstChildElement(const std::string &_value) const TiXmlNode [inline]
FirstChildElement(const std::string &_value)TiXmlNode [inline]
GetDocument() const TiXmlNode
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
InsertEndChild(const TiXmlNode &addThis)TiXmlNode
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
IterateChildren(const TiXmlNode *previous) const TiXmlNode
IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
LastChild()TiXmlNode [inline]
LastChild(const char *_value)TiXmlNode [inline]
LastChild(const std::string &_value) const TiXmlNode [inline]
LastChild(const std::string &_value)TiXmlNode [inline]
LinkEndChild(TiXmlNode *addThis)TiXmlNode
NextSibling(const std::string &_value) const TiXmlNode [inline]
NextSibling(const std::string &_value)TiXmlNode [inline]
NextSibling() const TiXmlNode [inline]
NextSibling(const char *) const TiXmlNode
NextSiblingElement() const TiXmlNode
NextSiblingElement(const char *) const TiXmlNode
NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
NextSiblingElement(const std::string &_value)TiXmlNode [inline]
NoChildren() const TiXmlNode [inline]
NodeType enum nameTiXmlNode
operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
Parent()TiXmlNode [inline]
PreviousSibling() const TiXmlNode [inline]
PreviousSibling(const char *) const TiXmlNode
PreviousSibling(const std::string &_value) const TiXmlNode [inline]
PreviousSibling(const std::string &_value)TiXmlNode [inline]
Print(FILE *cfile, int depth) const =0TiXmlBase [pure virtual]
RemoveChild(TiXmlNode *removeThis)TiXmlNode
ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
Row() const TiXmlBase [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlNode [inline]
SetValue(const std::string &_value)TiXmlNode [inline]
ToComment() const TiXmlNode [inline, virtual]
ToComment()TiXmlNode [inline, virtual]
ToDeclaration() const TiXmlNode [inline, virtual]
ToDeclaration()TiXmlNode [inline, virtual]
ToDocument() const TiXmlNode [inline, virtual]
ToDocument()TiXmlNode [inline, virtual]
ToElement() const TiXmlNode [inline, virtual]
ToElement()TiXmlNode [inline, virtual]
ToText() const TiXmlNode [inline, virtual]
ToText()TiXmlNode [inline, virtual]
ToUnknown() const TiXmlNode [inline, virtual]
ToUnknown()TiXmlNode [inline, virtual]
Type() const TiXmlNode [inline]
userDataTiXmlBase [protected]
Value() const TiXmlNode [inline]
ValueStr() const TiXmlNode [inline]


Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
+

TiXmlNode Member List

This is the complete list of members for TiXmlNode, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Accept(TiXmlVisitor *visitor) const =0TiXmlNode [pure virtual]
Clear()TiXmlNode
Clone() const =0TiXmlNode [pure virtual]
Column() const TiXmlBase [inline]
EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
FirstChild() const TiXmlNode [inline]
FirstChild(const char *value) const TiXmlNode
FirstChild(const char *_value)TiXmlNode [inline]
FirstChild(const std::string &_value) const TiXmlNode [inline]
FirstChild(const std::string &_value)TiXmlNode [inline]
FirstChildElement() const TiXmlNode
FirstChildElement(const char *_value) const TiXmlNode
FirstChildElement(const std::string &_value) const TiXmlNode [inline]
FirstChildElement(const std::string &_value)TiXmlNode [inline]
GetDocument() const TiXmlNode
GetUserData()TiXmlBase [inline]
GetUserData() const TiXmlBase [inline]
InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
InsertEndChild(const TiXmlNode &addThis)TiXmlNode
IsWhiteSpaceCondensed()TiXmlBase [inline, static]
IterateChildren(const TiXmlNode *previous) const TiXmlNode
IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
LastChild()TiXmlNode [inline]
LastChild(const char *_value)TiXmlNode [inline]
LastChild(const std::string &_value) const TiXmlNode [inline]
LastChild(const std::string &_value)TiXmlNode [inline]
LinkEndChild(TiXmlNode *addThis)TiXmlNode
NextSibling(const std::string &_value) const TiXmlNode [inline]
NextSibling(const std::string &_value)TiXmlNode [inline]
NextSibling() const TiXmlNode [inline]
NextSibling(const char *) const TiXmlNode
NextSiblingElement() const TiXmlNode
NextSiblingElement(const char *) const TiXmlNode
NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
NextSiblingElement(const std::string &_value)TiXmlNode [inline]
NoChildren() const TiXmlNode [inline]
NodeType enum nameTiXmlNode
operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
Parent()TiXmlNode [inline]
PreviousSibling() const TiXmlNode [inline]
PreviousSibling(const char *) const TiXmlNode
PreviousSibling(const std::string &_value) const TiXmlNode [inline]
PreviousSibling(const std::string &_value)TiXmlNode [inline]
Print(FILE *cfile, int depth) const =0TiXmlBase [pure virtual]
RemoveChild(TiXmlNode *removeThis)TiXmlNode
ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
Row() const TiXmlBase [inline]
SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
SetUserData(void *user)TiXmlBase [inline]
SetValue(const char *_value)TiXmlNode [inline]
SetValue(const std::string &_value)TiXmlNode [inline]
ToComment() const TiXmlNode [inline, virtual]
ToComment()TiXmlNode [inline, virtual]
ToDeclaration() const TiXmlNode [inline, virtual]
ToDeclaration()TiXmlNode [inline, virtual]
ToDocument() const TiXmlNode [inline, virtual]
ToDocument()TiXmlNode [inline, virtual]
ToElement() const TiXmlNode [inline, virtual]
ToElement()TiXmlNode [inline, virtual]
ToText() const TiXmlNode [inline, virtual]
ToText()TiXmlNode [inline, virtual]
ToUnknown() const TiXmlNode [inline, virtual]
ToUnknown()TiXmlNode [inline, virtual]
Type() const TiXmlNode [inline]
userDataTiXmlBase [protected]
Value() const TiXmlNode [inline]
ValueStr() const TiXmlNode [inline]
+
Generated by  -doxygen 1.4.7
+doxygen 1.6.2
diff --git a/shared/tinyxml/docs/classTiXmlNode.html b/shared/tinyxml/docs/classTiXmlNode.html index b64a0d60..50b3464a 100644 --- a/shared/tinyxml/docs/classTiXmlNode.html +++ b/shared/tinyxml/docs/classTiXmlNode.html @@ -1,410 +1,356 @@ - - + + + + TinyXml: TiXmlNode Class Reference - - - - - - -

TiXmlNode Class Reference

The parent class for everything in the Document Object Model. -More... -

-#include <tinyxml.h> -

-

Inheritance diagram for TiXmlNode: -

- -TiXmlBase -TiXmlComment -TiXmlDeclaration -TiXmlDocument -TiXmlElement -TiXmlText -TiXmlUnknown + + + + + + +
+

TiXmlNode Class Reference

+

The parent class for everything in the Document Object Model. +More...

+ +

#include <tinyxml.h>

+
+Inheritance diagram for TiXmlNode:
+
+
+ + +TiXmlBase +TiXmlComment +TiXmlDeclaration +TiXmlDocument +TiXmlElement +TiXmlText +TiXmlUnknown -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +

List of all members.

+

Public Types

enum  NodeType
 The types of XML nodes supported by TinyXml. More...

Public Member Functions

const char * Value () const
 The meaning of 'value' changes for the specific type of TiXmlNode.
const std::string & ValueStr () const
 Return Value() as a std::string.
void SetValue (const char *_value)
 Changes the value of the node.
-void SetValue (const std::string &_value)
 STL std::string form.
-void Clear ()
 Delete all the children of this node. Does not affect 'this'.
-TiXmlNodeParent ()
 One step up the DOM.
-const TiXmlNodeFirstChild () const
 The first child of this node. Will be null if there are no children.
const TiXmlNodeFirstChild (const char *value) const
 The first child of this node with the matching 'value'.
-TiXmlNodeFirstChild (const char *_value)
 The first child of this node with the matching 'value'. Will be null if none found.
-TiXmlNodeLastChild ()
 The last child of this node. Will be null if there are no children.
-TiXmlNodeLastChild (const char *_value)
 The last child of this node matching 'value'. Will be null if there are no children.
-const TiXmlNodeFirstChild (const std::string &_value) const
 STL std::string form.
-TiXmlNodeFirstChild (const std::string &_value)
 STL std::string form.
-const TiXmlNodeLastChild (const std::string &_value) const
 STL std::string form.
-TiXmlNodeLastChild (const std::string &_value)
 STL std::string form.
const TiXmlNodeIterateChildren (const TiXmlNode *previous) const
 An alternate way to walk the children of a node.
-const TiXmlNodeIterateChildren (const char *value, const TiXmlNode *previous) const
 This flavor of IterateChildren searches for children with a particular 'value'.
-const TiXmlNodeIterateChildren (const std::string &_value, const TiXmlNode *previous) const
 STL std::string form.
-TiXmlNodeIterateChildren (const std::string &_value, const TiXmlNode *previous)
 STL std::string form.
TiXmlNodeInsertEndChild (const TiXmlNode &addThis)
 Add a new node related to this.
TiXmlNodeLinkEndChild (TiXmlNode *addThis)
 Add a new node related to this.
TiXmlNodeInsertBeforeChild (TiXmlNode *beforeThis, const TiXmlNode &addThis)
 Add a new node related to this.
TiXmlNodeInsertAfterChild (TiXmlNode *afterThis, const TiXmlNode &addThis)
 Add a new node related to this.
TiXmlNodeReplaceChild (TiXmlNode *replaceThis, const TiXmlNode &withThis)
 Replace a child of this node.
-bool RemoveChild (TiXmlNode *removeThis)
 Delete a child of this node.
-const TiXmlNodePreviousSibling () const
 Navigate to a sibling node.
-const TiXmlNodePreviousSibling (const char *) const
 Navigate to a sibling node.
-const TiXmlNodePreviousSibling (const std::string &_value) const
 STL std::string form.
-TiXmlNodePreviousSibling (const std::string &_value)
 STL std::string form.
-const TiXmlNodeNextSibling (const std::string &_value) const
 STL std::string form.
-TiXmlNodeNextSibling (const std::string &_value)
 STL std::string form.
-const TiXmlNodeNextSibling () const
 Navigate to a sibling node.
-const TiXmlNodeNextSibling (const char *) const
 Navigate to a sibling node with the given 'value'.
const TiXmlElementNextSiblingElement () const
 Convenience function to get through elements.
const TiXmlElementNextSiblingElement (const char *) const
 Convenience function to get through elements.
-const TiXmlElementNextSiblingElement (const std::string &_value) const
 STL std::string form.
-TiXmlElementNextSiblingElement (const std::string &_value)
 STL std::string form.
-const TiXmlElementFirstChildElement () const
 Convenience function to get through elements.
-const TiXmlElementFirstChildElement (const char *_value) const
 Convenience function to get through elements.
-const TiXmlElementFirstChildElement (const std::string &_value) const
 STL std::string form.
-TiXmlElementFirstChildElement (const std::string &_value)
 STL std::string form.
int Type () const
 Query the type (as an enumerated value, above) of this node.
const TiXmlDocumentGetDocument () const
 Return a pointer to the Document this node lives in.
-bool NoChildren () const
 Returns true if this node has no children.
-virtual const TiXmlDocumentToDocument () const
 Cast to a more defined type. Will return null if not of the requested type.
-virtual const TiXmlElementToElement () const
 Cast to a more defined type. Will return null if not of the requested type.
-virtual const TiXmlCommentToComment () const
 Cast to a more defined type. Will return null if not of the requested type.
-virtual const TiXmlUnknownToUnknown () const
 Cast to a more defined type. Will return null if not of the requested type.
-virtual const TiXmlTextToText () const
 Cast to a more defined type. Will return null if not of the requested type.
-virtual const TiXmlDeclarationToDeclaration () const
 Cast to a more defined type. Will return null if not of the requested type.
-virtual TiXmlDocumentToDocument ()
 Cast to a more defined type. Will return null if not of the requested type.
-virtual TiXmlElementToElement ()
 Cast to a more defined type. Will return null if not of the requested type.
-virtual TiXmlCommentToComment ()
 Cast to a more defined type. Will return null if not of the requested type.
-virtual TiXmlUnknownToUnknown ()
 Cast to a more defined type. Will return null if not of the requested type.
-virtual TiXmlTextToText ()
 Cast to a more defined type. Will return null if not of the requested type.
-virtual TiXmlDeclarationToDeclaration ()
 Cast to a more defined type. Will return null if not of the requested type.
virtual TiXmlNodeClone () const =0
 Create an exact duplicate of this node and return it.
virtual bool Accept (TiXmlVisitor *visitor) const =0
 Accept a hierchical visit the nodes in the TinyXML DOM.

Friends

-class TiXmlDocument
-class TiXmlElement
std::istream & operator>> (std::istream &in, TiXmlNode &base)
 An input stream operator, for every class.
std::ostream & operator<< (std::ostream &out, const TiXmlNode &base)
 An output stream operator, for every class.
-std::string & operator<< (std::string &out, const TiXmlNode &base)
 Appends the XML node or attribute to a std::string.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Types

enum  NodeType
 

The types of XML nodes supported by TinyXml.

+ More...

Public Member Functions

const char * Value () const
 The meaning of 'value' changes for the specific type of TiXmlNode.
const std::string & ValueStr () const
 Return Value() as a std::string.
void SetValue (const char *_value)
 Changes the value of the node.
+void SetValue (const std::string &_value)
 STL std::string form.
+void Clear ()
 Delete all the children of this node. Does not affect 'this'.
+TiXmlNodeParent ()
 One step up the DOM.
+const TiXmlNodeFirstChild () const
 The first child of this node. Will be null if there are no children.
const TiXmlNodeFirstChild (const char *value) const
 The first child of this node with the matching 'value'.
+TiXmlNodeFirstChild (const char *_value)
 The first child of this node with the matching 'value'. Will be null if none found.
+TiXmlNodeLastChild ()
 The last child of this node. Will be null if there are no children.
+TiXmlNodeLastChild (const char *_value)
 The last child of this node matching 'value'. Will be null if there are no children.
+const TiXmlNodeFirstChild (const std::string &_value) const
 STL std::string form.
+TiXmlNodeFirstChild (const std::string &_value)
 STL std::string form.
+const TiXmlNodeLastChild (const std::string &_value) const
 STL std::string form.
+TiXmlNodeLastChild (const std::string &_value)
 STL std::string form.
const TiXmlNodeIterateChildren (const TiXmlNode *previous) const
 An alternate way to walk the children of a node.
+const TiXmlNodeIterateChildren (const char *value, const TiXmlNode *previous) const
 This flavor of IterateChildren searches for children with a particular 'value'.
+const TiXmlNodeIterateChildren (const std::string &_value, const TiXmlNode *previous) const
 STL std::string form.
+TiXmlNodeIterateChildren (const std::string &_value, const TiXmlNode *previous)
 STL std::string form.
TiXmlNodeInsertEndChild (const TiXmlNode &addThis)
 Add a new node related to this.
TiXmlNodeLinkEndChild (TiXmlNode *addThis)
 Add a new node related to this.
TiXmlNodeInsertBeforeChild (TiXmlNode *beforeThis, const TiXmlNode &addThis)
 Add a new node related to this.
TiXmlNodeInsertAfterChild (TiXmlNode *afterThis, const TiXmlNode &addThis)
 Add a new node related to this.
TiXmlNodeReplaceChild (TiXmlNode *replaceThis, const TiXmlNode &withThis)
 Replace a child of this node.
+bool RemoveChild (TiXmlNode *removeThis)
 Delete a child of this node.
+const TiXmlNodePreviousSibling () const
 Navigate to a sibling node.
+const TiXmlNodePreviousSibling (const char *) const
 Navigate to a sibling node.
+const TiXmlNodePreviousSibling (const std::string &_value) const
 STL std::string form.
+TiXmlNodePreviousSibling (const std::string &_value)
 STL std::string form.
+const TiXmlNodeNextSibling (const std::string &_value) const
 STL std::string form.
+TiXmlNodeNextSibling (const std::string &_value)
 STL std::string form.
+const TiXmlNodeNextSibling () const
 Navigate to a sibling node.
+const TiXmlNodeNextSibling (const char *) const
 Navigate to a sibling node with the given 'value'.
const TiXmlElementNextSiblingElement () const
 Convenience function to get through elements.
const TiXmlElementNextSiblingElement (const char *) const
 Convenience function to get through elements.
+const TiXmlElementNextSiblingElement (const std::string &_value) const
 STL std::string form.
+TiXmlElementNextSiblingElement (const std::string &_value)
 STL std::string form.
+const TiXmlElementFirstChildElement () const
 Convenience function to get through elements.
+const TiXmlElementFirstChildElement (const char *_value) const
 Convenience function to get through elements.
+const TiXmlElementFirstChildElement (const std::string &_value) const
 STL std::string form.
+TiXmlElementFirstChildElement (const std::string &_value)
 STL std::string form.
int Type () const
 Query the type (as an enumerated value, above) of this node.
const TiXmlDocumentGetDocument () const
 Return a pointer to the Document this node lives in.
+bool NoChildren () const
 Returns true if this node has no children.
+virtual const TiXmlDocumentToDocument () const
 Cast to a more defined type. Will return null if not of the requested type.
+virtual const TiXmlElementToElement () const
 Cast to a more defined type. Will return null if not of the requested type.
+virtual const TiXmlCommentToComment () const
 Cast to a more defined type. Will return null if not of the requested type.
+virtual const TiXmlUnknownToUnknown () const
 Cast to a more defined type. Will return null if not of the requested type.
+virtual const TiXmlTextToText () const
 Cast to a more defined type. Will return null if not of the requested type.
+virtual const TiXmlDeclarationToDeclaration () const
 Cast to a more defined type. Will return null if not of the requested type.
+virtual TiXmlDocumentToDocument ()
 Cast to a more defined type. Will return null if not of the requested type.
+virtual TiXmlElementToElement ()
 Cast to a more defined type. Will return null if not of the requested type.
+virtual TiXmlCommentToComment ()
 Cast to a more defined type. Will return null if not of the requested type.
+virtual TiXmlUnknownToUnknown ()
 Cast to a more defined type. Will return null if not of the requested type.
+virtual TiXmlTextToText ()
 Cast to a more defined type. Will return null if not of the requested type.
+virtual TiXmlDeclarationToDeclaration ()
 Cast to a more defined type. Will return null if not of the requested type.
virtual TiXmlNodeClone () const =0
 Create an exact duplicate of this node and return it.
virtual bool Accept (TiXmlVisitor *visitor) const =0
 Accept a hierchical visit the nodes in the TinyXML DOM.

Friends

+class TiXmlDocument
+class TiXmlElement
std::istream & operator>> (std::istream &in, TiXmlNode &base)
 An input stream operator, for every class.
std::ostream & operator<< (std::ostream &out, const TiXmlNode &base)
 An output stream operator, for every class.
+std::string & operator<< (std::string &out, const TiXmlNode &base)
 Appends the XML node or attribute to a std::string.
-

Detailed Description

-The parent class for everything in the Document Object Model. -

-(Except for attributes). Nodes have siblings, a parent, and children. A node can be in a document, or stand on its own. The type of a TiXmlNode can be queried, and it can be cast to its more defined type. -

-


Member Enumeration Documentation

- +

Detailed Description

+

The parent class for everything in the Document Object Model.

+

(Except for attributes). Nodes have siblings, a parent, and children. A node can be in a document, or stand on its own. The type of a TiXmlNode can be queried, and it can be cast to its more defined type.

+

Member Enumeration Documentation

+
-

-The types of XML nodes supported by TinyXml. -

-(All the unsupported types are picked up by UNKNOWN.) +

The types of XML nodes supported by TinyXml.

+

(All the unsupported types are picked up by UNKNOWN.)

+ +
-

-


Member Function Documentation

- +

Member Function Documentation

+
- + - + - +
virtual bool TiXmlNode::Accept virtual bool TiXmlNode::Accept ( TiXmlVisitor visitor visitor  )  const [pure virtual] const [pure virtual]
-

-Accept a hierchical visit the nodes in the TinyXML DOM. -

-Every node in the XML tree will be conditionally visited and the host will be called back via the TiXmlVisitor interface.

-This is essentially a SAX interface for TinyXML. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML is unchanged by using this interface versus any other.)

-The interface has been based on ideas from:

+

Accept a hierchical visit the nodes in the TinyXML DOM.

+

Every node in the XML tree will be conditionally visited and the host will be called back via the TiXmlVisitor interface.

+

This is essentially a SAX interface for TinyXML. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML is unchanged by using this interface versus any other.)

+

The interface has been based on ideas from:

-

-Which are both good references for "visiting".

-An example of using Accept():

		TiXmlPrinter printer;
+
  • http://www.saxproject.org/
  • +
  • http://c2.com/cgi/wiki?HierarchicalVisitorPattern
  • + +

    Which are both good references for "visiting".

    +

    An example of using Accept():

    +
    +		TiXmlPrinter printer;
     		tinyxmlDoc.Accept( &printer );
     		const char* xmlcstr = printer.CStr();
     		
    -

    -Implemented in TiXmlElement, TiXmlComment, TiXmlText, TiXmlDeclaration, TiXmlUnknown, and TiXmlDocument. +

    Implemented in TiXmlElement, TiXmlComment, TiXmlText, TiXmlDeclaration, TiXmlUnknown, and TiXmlDocument.

    + +
    -

    - +

    - + - + - +
    virtual TiXmlNode* TiXmlNode::Clone virtual TiXmlNode* TiXmlNode::Clone (  )  const [pure virtual] const [pure virtual]
    -

    -Create an exact duplicate of this node and return it. -

    -The memory must be deleted by the caller. -

    -Implemented in TiXmlElement, TiXmlComment, TiXmlText, TiXmlDeclaration, TiXmlUnknown, and TiXmlDocument. +

    Create an exact duplicate of this node and return it.

    +

    The memory must be deleted by the caller.

    + +

    Implemented in TiXmlElement, TiXmlComment, TiXmlText, TiXmlDeclaration, TiXmlUnknown, and TiXmlDocument.

    +
    -

    - +

    +
    - + - + - +
    const TiXmlNode* TiXmlNode::FirstChild const TiXmlNode* TiXmlNode::FirstChild ( const char *  value value  )  const const
    -

    -The first child of this node with the matching 'value'. -

    -Will be null if none found. +

    The first child of this node with the matching 'value'.

    +

    Will be null if none found.

    + +
    -

    - +

    - + - + - +
    const TiXmlDocument* TiXmlNode::GetDocument const TiXmlDocument* TiXmlNode::GetDocument (  )  const const
    -

    -Return a pointer to the Document this node lives in. -

    -Returns null if not in a document. +

    Return a pointer to the Document this node lives in.

    +

    Returns null if not in a document.

    + +
    -

    - +

    - + @@ -418,24 +364,23 @@ Returns null if not in a document. - +
    TiXmlNode* TiXmlNode::InsertAfterChild TiXmlNode* TiXmlNode::InsertAfterChild ( TiXmlNode afterThis,
    )
    -

    -Add a new node related to this. -

    -Adds a child after the specified child. Returns a pointer to the new object or NULL if an error occured. +

    Add a new node related to this.

    +

    Adds a child after the specified child. Returns a pointer to the new object or NULL if an error occured.

    +
    -

    - + +

    - + @@ -449,141 +394,136 @@ Adds a child after the specified child. Returns a pointer to the new object or N - +
    TiXmlNode* TiXmlNode::InsertBeforeChild TiXmlNode* TiXmlNode::InsertBeforeChild ( TiXmlNode beforeThis,
    )
    -

    -Add a new node related to this. -

    -Adds a child before the specified child. Returns a pointer to the new object or NULL if an error occured. +

    Add a new node related to this.

    +

    Adds a child before the specified child. Returns a pointer to the new object or NULL if an error occured.

    + +
    -

    - +

    - + - + - +
    TiXmlNode* TiXmlNode::InsertEndChild TiXmlNode* TiXmlNode::InsertEndChild ( const TiXmlNode addThis addThis  ) 
    -

    -Add a new node related to this. -

    -Adds a child past the LastChild. Returns a pointer to the new object or NULL if an error occured. +

    Add a new node related to this.

    +

    Adds a child past the LastChild. Returns a pointer to the new object or NULL if an error occured.

    +
    -

    - + +

    - + - + - +
    const TiXmlNode* TiXmlNode::IterateChildren const TiXmlNode* TiXmlNode::IterateChildren ( const TiXmlNode previous previous  )  const const
    -

    -An alternate way to walk the children of a node. -

    -One way to iterate over nodes is:

    			for( child = parent->FirstChild(); child; child = child->NextSibling() )
    -		

    -IterateChildren does the same thing with the syntax:

    			child = 0;
    +

    An alternate way to walk the children of a node.

    +

    One way to iterate over nodes is:

    +
    +			for( child = parent->FirstChild(); child; child = child->NextSibling() )
    +		

    IterateChildren does the same thing with the syntax:

    +
    +			child = 0;
     			while( child = parent->IterateChildren( child ) )
    -		

    -IterateChildren takes the previous child as input and finds the next one. If the previous child is null, it returns the first. IterateChildren will return null when done. +

    IterateChildren takes the previous child as input and finds the next one. If the previous child is null, it returns the first. IterateChildren will return null when done.

    +
    -

    - + +

    - + - + - +
    TiXmlNode* TiXmlNode::LinkEndChild TiXmlNode* TiXmlNode::LinkEndChild ( TiXmlNode addThis addThis  ) 
    -

    -Add a new node related to this. -

    -Adds a child past the LastChild.

    -NOTE: the node to be added is passed by pointer, and will be henceforth owned (and deleted) by tinyXml. This method is efficient and avoids an extra copy, but should be used with care as it uses a different memory model than the other insert functions.

    -

    See also:
    InsertEndChild
    +

    Add a new node related to this.

    +

    Adds a child past the LastChild.

    +

    NOTE: the node to be added is passed by pointer, and will be henceforth owned (and deleted) by tinyXml. This method is efficient and avoids an extra copy, but should be used with care as it uses a different memory model than the other insert functions.

    +
    See also:
    InsertEndChild
    -

    - + +

    - + - + - +
    const TiXmlElement* TiXmlNode::NextSiblingElement const TiXmlElement* TiXmlNode::NextSiblingElement ( const char *   )  const const
    -

    -Convenience function to get through elements. -

    -Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element. +

    Convenience function to get through elements.

    +

    Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element.

    + +
    -

    - +

    - + - + - +
    const TiXmlElement* TiXmlNode::NextSiblingElement const TiXmlElement* TiXmlNode::NextSiblingElement (  )  const const
    -

    -Convenience function to get through elements. -

    -Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element. +

    Convenience function to get through elements.

    +

    Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element.

    +
    -

    - + +

    - + @@ -597,121 +537,119 @@ Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if t - +
    TiXmlNode* TiXmlNode::ReplaceChild TiXmlNode* TiXmlNode::ReplaceChild ( TiXmlNode replaceThis,
    )
    -

    -Replace a child of this node. -

    -Returns a pointer to the new object or NULL if an error occured. +

    Replace a child of this node.

    +

    Returns a pointer to the new object or NULL if an error occured.

    + +
    -

    - +

    - + - + - +
    void TiXmlNode::SetValue void TiXmlNode::SetValue ( const char *  _value _value  )  [inline] [inline]
    -

    -Changes the value of the node. -

    -Defined as:

    		Document:	filename of the xml file
    +

    Changes the value of the node.

    +

    Defined as:

    +
    +		Document:	filename of the xml file
     		Element:	name of the element
     		Comment:	the comment text
     		Unknown:	the tag contents
     		Text:		the text string
     		
    +

    Referenced by TiXmlComment::TiXmlComment(), and TiXmlText::TiXmlText().

    + +
    -

    - +

    - + - + - +
    int TiXmlNode::Type int TiXmlNode::Type (  )  const [inline] const [inline]
    -

    -Query the type (as an enumerated value, above) of this node. -

    -The possible types are: DOCUMENT, ELEMENT, COMMENT, UNKNOWN, TEXT, and DECLARATION. +

    Query the type (as an enumerated value, above) of this node.

    +

    The possible types are: DOCUMENT, ELEMENT, COMMENT, UNKNOWN, TEXT, and DECLARATION.

    + +
    -

    - +

    - + - + - +
    const char* TiXmlNode::Value const char* TiXmlNode::Value (  )  const [inline] const [inline]
    -

    -The meaning of 'value' changes for the specific type of TiXmlNode. -

    -

    		Document:	filename of the xml file
    +

    The meaning of 'value' changes for the specific type of TiXmlNode.

    +
    +		Document:	filename of the xml file
     		Element:	name of the element
     		Comment:	the comment text
     		Unknown:	the tag contents
     		Text:		the text string
    -		

    -The subclasses will wrap this function. +

    The subclasses will wrap this function.

    + +
    -

    - +

    - + - + - +
    const std::string& TiXmlNode::ValueStr const std::string& TiXmlNode::ValueStr (  )  const [inline] const [inline]
    -

    -Return Value() as a std::string. -

    -If you only use STL, this is more efficient than calling Value(). Only available in STL mode. +

    Return Value() as a std::string.

    +

    If you only use STL, this is more efficient than calling Value(). Only available in STL mode.

    +
    -

    -


    Friends And Related Function Documentation

    - + +

    Friends And Related Function Documentation

    +
    - + @@ -725,27 +663,26 @@ If you only use STL, this is more efficient than calling [friend] +
    std::ostream& operator<< std::ostream& operator<< ( std::ostream &  out, [friend]
    -

    -An output stream operator, for every class. -

    -Note that this outputs without any newlines or formatting, as opposed to Print(), which includes tabs and new lines.

    -The operator<< and operator>> are not completely symmetric. Writing a node to a stream is very well defined. You'll get a nice stream of output, without any extra whitespace or newlines.

    -But reading is not as well defined. (As it always is.) If you create a TiXmlElement (for example) and read that from an input stream, the text needs to define an element or junk will result. This is true of all input streams, but it's worth keeping in mind.

    -A TiXmlDocument will read nodes until it reads a root element, and all the children of that root element. +

    An output stream operator, for every class.

    +

    Note that this outputs without any newlines or formatting, as opposed to Print(), which includes tabs and new lines.

    +

    The operator<< and operator>> are not completely symmetric. Writing a node to a stream is very well defined. You'll get a nice stream of output, without any extra whitespace or newlines.

    +

    But reading is not as well defined. (As it always is.) If you create a TiXmlElement (for example) and read that from an input stream, the text needs to define an element or junk will result. This is true of all input streams, but it's worth keeping in mind.

    +

    A TiXmlDocument will read nodes until it reads a root element, and all the children of that root element.

    + +
    -

    - +

    - + @@ -759,22 +696,23 @@ A TiXmlDocument will read nodes - +
    std::istream& operator>> std::istream& operator>> ( std::istream &  in,
    ) [friend] [friend]
    -

    -An input stream operator, for every class. -

    -Tolerant of newlines and formatting, but doesn't expect them. +

    An input stream operator, for every class.

    +

    Tolerant of newlines and formatting, but doesn't expect them.

    + +
    +
    +
    The documentation for this class was generated from the following file: -

    -


    The documentation for this class was generated from the following file: -
    Generated on Sun May 6 15:41:23 2007 for TinyXml by  +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/classTiXmlNode.png b/shared/tinyxml/docs/classTiXmlNode.png index 6a663cf6..77ef876b 100644 Binary files a/shared/tinyxml/docs/classTiXmlNode.png and b/shared/tinyxml/docs/classTiXmlNode.png differ diff --git a/shared/tinyxml/docs/classTiXmlPrinter-members.html b/shared/tinyxml/docs/classTiXmlPrinter-members.html index bd011fe3..b1e6f75d 100644 --- a/shared/tinyxml/docs/classTiXmlPrinter-members.html +++ b/shared/tinyxml/docs/classTiXmlPrinter-members.html @@ -1,42 +1,51 @@ - - + + + + TinyXml: Member List - - - - - - -

    TiXmlPrinter Member List

    This is the complete list of members for TiXmlPrinter, including all inherited members.

    - - - - - - - - - - - - - - - - -
    CStr()TiXmlPrinter [inline]
    Indent()TiXmlPrinter [inline]
    LineBreak()TiXmlPrinter [inline]
    SetIndent(const char *_indent)TiXmlPrinter [inline]
    SetLineBreak(const char *_lineBreak)TiXmlPrinter [inline]
    SetStreamPrinting()TiXmlPrinter [inline]
    Size()TiXmlPrinter [inline]
    Str()TiXmlPrinter [inline]
    Visit(const TiXmlDeclaration &declaration)TiXmlPrinter [virtual]
    Visit(const TiXmlText &text)TiXmlPrinter [virtual]
    Visit(const TiXmlComment &comment)TiXmlPrinter [virtual]
    Visit(const TiXmlUnknown &unknown)TiXmlPrinter [virtual]
    VisitEnter(const TiXmlDocument &doc)TiXmlPrinter [virtual]
    VisitEnter(const TiXmlElement &element, const TiXmlAttribute *firstAttribute)TiXmlPrinter [virtual]
    VisitExit(const TiXmlDocument &doc)TiXmlPrinter [virtual]
    VisitExit(const TiXmlElement &element)TiXmlPrinter [virtual]


    Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
    +

    TiXmlPrinter Member List

    This is the complete list of members for TiXmlPrinter, including all inherited members. + + + + + + + + + + + + + + + + +
    CStr()TiXmlPrinter [inline]
    Indent()TiXmlPrinter [inline]
    LineBreak()TiXmlPrinter [inline]
    SetIndent(const char *_indent)TiXmlPrinter [inline]
    SetLineBreak(const char *_lineBreak)TiXmlPrinter [inline]
    SetStreamPrinting()TiXmlPrinter [inline]
    Size()TiXmlPrinter [inline]
    Str()TiXmlPrinter [inline]
    Visit(const TiXmlDeclaration &declaration)TiXmlPrinter [virtual]
    Visit(const TiXmlText &text)TiXmlPrinter [virtual]
    Visit(const TiXmlComment &comment)TiXmlPrinter [virtual]
    Visit(const TiXmlUnknown &unknown)TiXmlPrinter [virtual]
    VisitEnter(const TiXmlDocument &doc)TiXmlPrinter [virtual]
    VisitEnter(const TiXmlElement &element, const TiXmlAttribute *firstAttribute)TiXmlPrinter [virtual]
    VisitExit(const TiXmlDocument &doc)TiXmlPrinter [virtual]
    VisitExit(const TiXmlElement &element)TiXmlPrinter [virtual]
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/classTiXmlPrinter.html b/shared/tinyxml/docs/classTiXmlPrinter.html index c33fdfb3..bfbf4187 100644 --- a/shared/tinyxml/docs/classTiXmlPrinter.html +++ b/shared/tinyxml/docs/classTiXmlPrinter.html @@ -1,184 +1,181 @@ - - + + + + TinyXml: TiXmlPrinter Class Reference - - - - - - -

    TiXmlPrinter Class Reference

    Print to memory functionality. -More... -

    -#include <tinyxml.h> -

    -

    Inheritance diagram for TiXmlPrinter: -

    - -TiXmlVisitor + + + + + + +
    +

    TiXmlPrinter Class Reference

    +

    Print to memory functionality. +More...

    + +

    #include <tinyxml.h>

    +
    +Inheritance diagram for TiXmlPrinter:
    +
    +
    + + +TiXmlVisitor -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - +

    List of all members.

    +

    Public Member Functions

    -virtual bool VisitEnter (const TiXmlDocument &doc)
     Visit a document.
    -virtual bool VisitExit (const TiXmlDocument &doc)
     Visit a document.
    -virtual bool VisitEnter (const TiXmlElement &element, const TiXmlAttribute *firstAttribute)
     Visit an element.
    -virtual bool VisitExit (const TiXmlElement &element)
     Visit an element.
    -virtual bool Visit (const TiXmlDeclaration &declaration)
     Visit a declaration.
    -virtual bool Visit (const TiXmlText &text)
     Visit a text node.
    -virtual bool Visit (const TiXmlComment &comment)
     Visit a comment node.
    -virtual bool Visit (const TiXmlUnknown &unknown)
     Visit an unknow node.
    void SetIndent (const char *_indent)
     Set the indent characters for printing.
    -const char * Indent ()
     Query the indention string.
    void SetLineBreak (const char *_lineBreak)
     Set the line breaking string.
    -const char * LineBreak ()
     Query the current line breaking string.
    void SetStreamPrinting ()
     Switch over to "stream printing" which is the most dense formatting without linebreaks.
    -const char * CStr ()
     Return the result.
    -size_t Size ()
     Return the length of the result string.
    -const std::string & Str ()
     Return the result.
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Public Member Functions

    +virtual bool VisitEnter (const TiXmlDocument &doc)
     Visit a document.
    +virtual bool VisitExit (const TiXmlDocument &doc)
     Visit a document.
    +virtual bool VisitEnter (const TiXmlElement &element, const TiXmlAttribute *firstAttribute)
     Visit an element.
    +virtual bool VisitExit (const TiXmlElement &element)
     Visit an element.
    +virtual bool Visit (const TiXmlDeclaration &declaration)
     Visit a declaration.
    +virtual bool Visit (const TiXmlText &text)
     Visit a text node.
    +virtual bool Visit (const TiXmlComment &comment)
     Visit a comment node.
    +virtual bool Visit (const TiXmlUnknown &unknown)
     Visit an unknow node.
    void SetIndent (const char *_indent)
     Set the indent characters for printing.
    +const char * Indent ()
     Query the indention string.
    void SetLineBreak (const char *_lineBreak)
     Set the line breaking string.
    +const char * LineBreak ()
     Query the current line breaking string.
    void SetStreamPrinting ()
     Switch over to "stream printing" which is the most dense formatting without linebreaks.
    +const char * CStr ()
     Return the result.
    +size_t Size ()
     Return the length of the result string.
    +const std::string & Str ()
     Return the result.
    -

    Detailed Description

    -Print to memory functionality. -

    -The TiXmlPrinter is useful when you need to:

    -

      -
    1. Print to memory (especially in non-STL mode)
    2. Control formatting (line endings, etc.)
    -

    -When constructed, the TiXmlPrinter is in its default "pretty printing" mode. Before calling Accept() you can call methods to control the printing of the XML document. After TiXmlNode::Accept() is called, the printed document can be accessed via the CStr(), Str(), and Size() methods.

    -TiXmlPrinter uses the Visitor API.

    	TiXmlPrinter printer;
    +

    Detailed Description

    +

    Print to memory functionality.

    +

    The TiXmlPrinter is useful when you need to:

    +
      +
    1. Print to memory (especially in non-STL mode)
    2. +
    3. Control formatting (line endings, etc.)
    4. +
    +

    When constructed, the TiXmlPrinter is in its default "pretty printing" mode. Before calling Accept() you can call methods to control the printing of the XML document. After TiXmlNode::Accept() is called, the printed document can be accessed via the CStr(), Str(), and Size() methods.

    +

    TiXmlPrinter uses the Visitor API.

    +
    +	TiXmlPrinter printer;
     	printer.SetIndent( "\t" );
     
     	doc.Accept( &printer );
     	fprintf( stdout, "%s", printer.CStr() );
    -	
    -

    -


    Member Function Documentation

    - +

    Member Function Documentation

    +
    - + - + - +
    void TiXmlPrinter::SetIndent void TiXmlPrinter::SetIndent ( const char *  _indent _indent  )  [inline] [inline]
    -

    -Set the indent characters for printing. -

    -By default 4 spaces but tab () is also useful, or null/empty string for no indentation. +

    Set the indent characters for printing.

    +

    By default 4 spaces but tab () is also useful, or null/empty string for no indentation.

    +
    -

    - +

    +
    - + - + - +
    void TiXmlPrinter::SetLineBreak void TiXmlPrinter::SetLineBreak ( const char *  _lineBreak _lineBreak  )  [inline] [inline]
    -

    -Set the line breaking string. -

    -By default set to newline (
    -). Some operating systems prefer other characters, or can be set to the null/empty string for no indenation. +

    Set the line breaking string.

    +

    By default set to newline (
    +). Some operating systems prefer other characters, or can be set to the null/empty string for no indenation.

    + +
    -

    - +

    - + - + - +
    void TiXmlPrinter::SetStreamPrinting void TiXmlPrinter::SetStreamPrinting (  )  [inline] [inline]
    -

    -Switch over to "stream printing" which is the most dense formatting without linebreaks. -

    -Common when the XML is needed for network transmission. +

    Switch over to "stream printing" which is the most dense formatting without linebreaks.

    +

    Common when the XML is needed for network transmission.

    + +
    +
    +
    The documentation for this class was generated from the following file:
    -

    -


    The documentation for this class was generated from the following file: -
    Generated on Sun May 6 15:41:23 2007 for TinyXml by  +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/classTiXmlPrinter.png b/shared/tinyxml/docs/classTiXmlPrinter.png index 20887826..6a5ff8e5 100644 Binary files a/shared/tinyxml/docs/classTiXmlPrinter.png and b/shared/tinyxml/docs/classTiXmlPrinter.png differ diff --git a/shared/tinyxml/docs/classTiXmlText-members.html b/shared/tinyxml/docs/classTiXmlText-members.html index 93a3b98f..11f7ef66 100644 --- a/shared/tinyxml/docs/classTiXmlText-members.html +++ b/shared/tinyxml/docs/classTiXmlText-members.html @@ -1,102 +1,111 @@ - - + + + + TinyXml: Member List - - - - - - -

    TiXmlText Member List

    This is the complete list of members for TiXmlText, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Accept(TiXmlVisitor *content) const TiXmlText [virtual]
    CDATA() const TiXmlText [inline]
    Clear()TiXmlNode
    Clone() const TiXmlText [protected, virtual]
    Column() const TiXmlBase [inline]
    EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
    FirstChild() const TiXmlNode [inline]
    FirstChild(const char *value) const TiXmlNode
    FirstChild(const char *_value)TiXmlNode [inline]
    FirstChild(const std::string &_value) const TiXmlNode [inline]
    FirstChild(const std::string &_value)TiXmlNode [inline]
    FirstChildElement() const TiXmlNode
    FirstChildElement(const char *_value) const TiXmlNode
    FirstChildElement(const std::string &_value) const TiXmlNode [inline]
    FirstChildElement(const std::string &_value)TiXmlNode [inline]
    GetDocument() const TiXmlNode
    GetUserData()TiXmlBase [inline]
    GetUserData() const TiXmlBase [inline]
    InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
    InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
    InsertEndChild(const TiXmlNode &addThis)TiXmlNode
    IsWhiteSpaceCondensed()TiXmlBase [inline, static]
    IterateChildren(const TiXmlNode *previous) const TiXmlNode
    IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
    IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
    IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
    LastChild()TiXmlNode [inline]
    LastChild(const char *_value)TiXmlNode [inline]
    LastChild(const std::string &_value) const TiXmlNode [inline]
    LastChild(const std::string &_value)TiXmlNode [inline]
    LinkEndChild(TiXmlNode *addThis)TiXmlNode
    NextSibling(const std::string &_value) const TiXmlNode [inline]
    NextSibling(const std::string &_value)TiXmlNode [inline]
    NextSibling() const TiXmlNode [inline]
    NextSibling(const char *) const TiXmlNode
    NextSiblingElement() const TiXmlNode
    NextSiblingElement(const char *) const TiXmlNode
    NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
    NextSiblingElement(const std::string &_value)TiXmlNode [inline]
    NoChildren() const TiXmlNode [inline]
    NodeType enum nameTiXmlNode
    operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
    operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
    operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
    Parent()TiXmlNode [inline]
    PreviousSibling() const TiXmlNode [inline]
    PreviousSibling(const char *) const TiXmlNode
    PreviousSibling(const std::string &_value) const TiXmlNode [inline]
    PreviousSibling(const std::string &_value)TiXmlNode [inline]
    Print(FILE *cfile, int depth) const TiXmlText [virtual]
    RemoveChild(TiXmlNode *removeThis)TiXmlNode
    ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
    Row() const TiXmlBase [inline]
    SetCDATA(bool _cdata)TiXmlText [inline]
    SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
    SetUserData(void *user)TiXmlBase [inline]
    SetValue(const char *_value)TiXmlNode [inline]
    SetValue(const std::string &_value)TiXmlNode [inline]
    TiXmlText(const char *initValue)TiXmlText [inline]
    TiXmlText(const std::string &initValue)TiXmlText [inline]
    ToComment() const TiXmlNode [inline, virtual]
    ToComment()TiXmlNode [inline, virtual]
    ToDeclaration() const TiXmlNode [inline, virtual]
    ToDeclaration()TiXmlNode [inline, virtual]
    ToDocument() const TiXmlNode [inline, virtual]
    ToDocument()TiXmlNode [inline, virtual]
    ToElement() const TiXmlNode [inline, virtual]
    ToElement()TiXmlNode [inline, virtual]
    ToText() const TiXmlText [inline, virtual]
    ToText()TiXmlText [inline, virtual]
    ToUnknown() const TiXmlNode [inline, virtual]
    ToUnknown()TiXmlNode [inline, virtual]
    Type() const TiXmlNode [inline]
    userDataTiXmlBase [protected]
    Value() const TiXmlNode [inline]
    ValueStr() const TiXmlNode [inline]


    Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
    +

    TiXmlText Member List

    This is the complete list of members for TiXmlText, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Accept(TiXmlVisitor *content) const TiXmlText [virtual]
    CDATA() const TiXmlText [inline]
    Clear()TiXmlNode
    Clone() const TiXmlText [protected, virtual]
    Column() const TiXmlBase [inline]
    EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
    FirstChild() const TiXmlNode [inline]
    FirstChild(const char *value) const TiXmlNode
    FirstChild(const char *_value)TiXmlNode [inline]
    FirstChild(const std::string &_value) const TiXmlNode [inline]
    FirstChild(const std::string &_value)TiXmlNode [inline]
    FirstChildElement() const TiXmlNode
    FirstChildElement(const char *_value) const TiXmlNode
    FirstChildElement(const std::string &_value) const TiXmlNode [inline]
    FirstChildElement(const std::string &_value)TiXmlNode [inline]
    GetDocument() const TiXmlNode
    GetUserData()TiXmlBase [inline]
    GetUserData() const TiXmlBase [inline]
    InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
    InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
    InsertEndChild(const TiXmlNode &addThis)TiXmlNode
    IsWhiteSpaceCondensed()TiXmlBase [inline, static]
    IterateChildren(const TiXmlNode *previous) const TiXmlNode
    IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
    IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
    IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
    LastChild()TiXmlNode [inline]
    LastChild(const char *_value)TiXmlNode [inline]
    LastChild(const std::string &_value) const TiXmlNode [inline]
    LastChild(const std::string &_value)TiXmlNode [inline]
    LinkEndChild(TiXmlNode *addThis)TiXmlNode
    NextSibling(const std::string &_value) const TiXmlNode [inline]
    NextSibling(const std::string &_value)TiXmlNode [inline]
    NextSibling() const TiXmlNode [inline]
    NextSibling(const char *) const TiXmlNode
    NextSiblingElement() const TiXmlNode
    NextSiblingElement(const char *) const TiXmlNode
    NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
    NextSiblingElement(const std::string &_value)TiXmlNode [inline]
    NoChildren() const TiXmlNode [inline]
    NodeType enum nameTiXmlNode
    operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
    operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
    operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
    Parent()TiXmlNode [inline]
    PreviousSibling() const TiXmlNode [inline]
    PreviousSibling(const char *) const TiXmlNode
    PreviousSibling(const std::string &_value) const TiXmlNode [inline]
    PreviousSibling(const std::string &_value)TiXmlNode [inline]
    Print(FILE *cfile, int depth) const TiXmlText [virtual]
    RemoveChild(TiXmlNode *removeThis)TiXmlNode
    ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
    Row() const TiXmlBase [inline]
    SetCDATA(bool _cdata)TiXmlText [inline]
    SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
    SetUserData(void *user)TiXmlBase [inline]
    SetValue(const char *_value)TiXmlNode [inline]
    SetValue(const std::string &_value)TiXmlNode [inline]
    TiXmlText(const char *initValue)TiXmlText [inline]
    TiXmlText(const std::string &initValue)TiXmlText [inline]
    ToComment() const TiXmlNode [inline, virtual]
    ToComment()TiXmlNode [inline, virtual]
    ToDeclaration() const TiXmlNode [inline, virtual]
    ToDeclaration()TiXmlNode [inline, virtual]
    ToDocument() const TiXmlNode [inline, virtual]
    ToDocument()TiXmlNode [inline, virtual]
    ToElement() const TiXmlNode [inline, virtual]
    ToElement()TiXmlNode [inline, virtual]
    ToText() const TiXmlText [inline, virtual]
    ToText()TiXmlText [inline, virtual]
    ToUnknown() const TiXmlNode [inline, virtual]
    ToUnknown()TiXmlNode [inline, virtual]
    Type() const TiXmlNode [inline]
    userDataTiXmlBase [protected]
    Value() const TiXmlNode [inline]
    ValueStr() const TiXmlNode [inline]
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/classTiXmlText.html b/shared/tinyxml/docs/classTiXmlText.html index 0dadfa95..fe311540 100644 --- a/shared/tinyxml/docs/classTiXmlText.html +++ b/shared/tinyxml/docs/classTiXmlText.html @@ -1,112 +1,115 @@ - - + + + + TinyXml: TiXmlText Class Reference - - - - - - -

    TiXmlText Class Reference

    XML text. -More... -

    -#include <tinyxml.h> -

    -

    Inheritance diagram for TiXmlText: -

    - -TiXmlNode -TiXmlBase - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + +
    +

    TiXmlText Class Reference

    +

    XML text. +More...

    -
    - - +

    #include <tinyxml.h>

    +
    +Inheritance diagram for TiXmlText:
    +
    +
    + + +TiXmlNode +TiXmlBase + +
    +
    +

    List of all members.

    +

    Public Member Functions

     TiXmlText (const char *initValue)
     Constructor for text element.
    TiXmlText (const std::string &initValue)
     Constructor.
    virtual void Print (FILE *cfile, int depth) const
     All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
    -bool CDATA () const
     Queries whether this represents text using a CDATA section.
    -void SetCDATA (bool _cdata)
     Turns on or off a CDATA representation of text.
    -virtual const TiXmlTextToText () const
     Cast to a more defined type. Will return null not of the requested type.
    -virtual TiXmlTextToText ()
     Cast to a more defined type. Will return null not of the requested type.
    -virtual bool Accept (TiXmlVisitor *content) const
     Walk the XML tree visiting this node and all of its children.

    Protected Member Functions

    -virtual TiXmlNodeClone () const
     [internal use] Creates a new Element and returns it.

    Friends

    -class TiXmlElement
    + + + + + + + + + + + + + + + + + + + + + +

    Public Member Functions

     TiXmlText (const char *initValue)
     Constructor for text element.
    TiXmlText (const std::string &initValue)
     Constructor.
    virtual void Print (FILE *cfile, int depth) const
     All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
    +bool CDATA () const
     Queries whether this represents text using a CDATA section.
    +void SetCDATA (bool _cdata)
     Turns on or off a CDATA representation of text.
    +virtual const TiXmlTextToText () const
     Cast to a more defined type. Will return null not of the requested type.
    +virtual TiXmlTextToText ()
     Cast to a more defined type. Will return null not of the requested type.
    +virtual bool Accept (TiXmlVisitor *content) const
     Walk the XML tree visiting this node and all of its children.

    Protected Member Functions

    +virtual TiXmlNodeClone () const
     [internal use] Creates a new Element and returns it.

    Friends

    +class TiXmlElement
    -

    Detailed Description

    -XML text. -

    -A text node can have 2 ways to output the next. "normal" output and CDATA. It will default to the mode it was parsed from the XML file and you generally want to leave it alone, but you can change the output mode with SetCDATA() and query it with CDATA(). -

    -


    Constructor & Destructor Documentation

    - +

    Detailed Description

    +

    XML text.

    +

    A text node can have 2 ways to output the next. "normal" output and CDATA. It will default to the mode it was parsed from the XML file and you generally want to leave it alone, but you can change the output mode with SetCDATA() and query it with CDATA().

    +

    Constructor & Destructor Documentation

    +
    - + - + - +
    TiXmlText::TiXmlText TiXmlText::TiXmlText ( const char *  initValue initValue  )  [inline] [inline]
    -

    -Constructor for text element. -

    -By default, it is treated as normal, encoded text. If you want it be output as a CDATA text element, set the parameter _cdata to 'true' +

    Constructor for text element.

    +

    By default, it is treated as normal, encoded text. If you want it be output as a CDATA text element, set the parameter _cdata to 'true'

    + +

    References TiXmlNode::SetValue().

    + +
    -

    -


    Member Function Documentation

    - +

    Member Function Documentation

    +
    - + @@ -120,26 +123,27 @@ By default, it is treated as normal, encoded text. If you want it be output as a - +
    virtual void TiXmlText::Print virtual void TiXmlText::Print ( FILE *  cfile,
    ) const [virtual] const [virtual]
    -

    -All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. -

    -) Either or both cfile and str can be null.

    -This is a formatted print, and will insert tabs and newlines.

    -(For an unformatted stream, use the << operator.) -

    -Implements TiXmlBase. +

    All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.

    +

    ) Either or both cfile and str can be null.

    +

    This is a formatted print, and will insert tabs and newlines.

    +

    (For an unformatted stream, use the << operator.)

    + +

    Implements TiXmlBase.

    + +
    +
    +
    The documentation for this class was generated from the following file: -

    -


    The documentation for this class was generated from the following file: -
    Generated on Sun May 6 15:41:23 2007 for TinyXml by  +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/classTiXmlText.png b/shared/tinyxml/docs/classTiXmlText.png index c9e71d43..ccd1c343 100644 Binary files a/shared/tinyxml/docs/classTiXmlText.png and b/shared/tinyxml/docs/classTiXmlText.png differ diff --git a/shared/tinyxml/docs/classTiXmlUnknown-members.html b/shared/tinyxml/docs/classTiXmlUnknown-members.html index 31e24973..512d4ae5 100644 --- a/shared/tinyxml/docs/classTiXmlUnknown-members.html +++ b/shared/tinyxml/docs/classTiXmlUnknown-members.html @@ -1,98 +1,107 @@ - - + + + + TinyXml: Member List - - - - - - -

    TiXmlUnknown Member List

    This is the complete list of members for TiXmlUnknown, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Accept(TiXmlVisitor *content) const TiXmlUnknown [virtual]
    Clear()TiXmlNode
    Clone() const TiXmlUnknown [virtual]
    Column() const TiXmlBase [inline]
    EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
    FirstChild() const TiXmlNode [inline]
    FirstChild(const char *value) const TiXmlNode
    FirstChild(const char *_value)TiXmlNode [inline]
    FirstChild(const std::string &_value) const TiXmlNode [inline]
    FirstChild(const std::string &_value)TiXmlNode [inline]
    FirstChildElement() const TiXmlNode
    FirstChildElement(const char *_value) const TiXmlNode
    FirstChildElement(const std::string &_value) const TiXmlNode [inline]
    FirstChildElement(const std::string &_value)TiXmlNode [inline]
    GetDocument() const TiXmlNode
    GetUserData()TiXmlBase [inline]
    GetUserData() const TiXmlBase [inline]
    InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
    InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
    InsertEndChild(const TiXmlNode &addThis)TiXmlNode
    IsWhiteSpaceCondensed()TiXmlBase [inline, static]
    IterateChildren(const TiXmlNode *previous) const TiXmlNode
    IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
    IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
    IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
    LastChild()TiXmlNode [inline]
    LastChild(const char *_value)TiXmlNode [inline]
    LastChild(const std::string &_value) const TiXmlNode [inline]
    LastChild(const std::string &_value)TiXmlNode [inline]
    LinkEndChild(TiXmlNode *addThis)TiXmlNode
    NextSibling(const std::string &_value) const TiXmlNode [inline]
    NextSibling(const std::string &_value)TiXmlNode [inline]
    NextSibling() const TiXmlNode [inline]
    NextSibling(const char *) const TiXmlNode
    NextSiblingElement() const TiXmlNode
    NextSiblingElement(const char *) const TiXmlNode
    NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
    NextSiblingElement(const std::string &_value)TiXmlNode [inline]
    NoChildren() const TiXmlNode [inline]
    NodeType enum nameTiXmlNode
    operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
    operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
    operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
    Parent()TiXmlNode [inline]
    PreviousSibling() const TiXmlNode [inline]
    PreviousSibling(const char *) const TiXmlNode
    PreviousSibling(const std::string &_value) const TiXmlNode [inline]
    PreviousSibling(const std::string &_value)TiXmlNode [inline]
    Print(FILE *cfile, int depth) const TiXmlUnknown [virtual]
    RemoveChild(TiXmlNode *removeThis)TiXmlNode
    ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
    Row() const TiXmlBase [inline]
    SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
    SetUserData(void *user)TiXmlBase [inline]
    SetValue(const char *_value)TiXmlNode [inline]
    SetValue(const std::string &_value)TiXmlNode [inline]
    ToComment() const TiXmlNode [inline, virtual]
    ToComment()TiXmlNode [inline, virtual]
    ToDeclaration() const TiXmlNode [inline, virtual]
    ToDeclaration()TiXmlNode [inline, virtual]
    ToDocument() const TiXmlNode [inline, virtual]
    ToDocument()TiXmlNode [inline, virtual]
    ToElement() const TiXmlNode [inline, virtual]
    ToElement()TiXmlNode [inline, virtual]
    ToText() const TiXmlNode [inline, virtual]
    ToText()TiXmlNode [inline, virtual]
    ToUnknown() const TiXmlUnknown [inline, virtual]
    ToUnknown()TiXmlUnknown [inline, virtual]
    Type() const TiXmlNode [inline]
    userDataTiXmlBase [protected]
    Value() const TiXmlNode [inline]
    ValueStr() const TiXmlNode [inline]


    Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
    +

    TiXmlUnknown Member List

    This is the complete list of members for TiXmlUnknown, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Accept(TiXmlVisitor *content) const TiXmlUnknown [virtual]
    Clear()TiXmlNode
    Clone() const TiXmlUnknown [virtual]
    Column() const TiXmlBase [inline]
    EncodeString(const TIXML_STRING &str, TIXML_STRING *out)TiXmlBase [static]
    FirstChild() const TiXmlNode [inline]
    FirstChild(const char *value) const TiXmlNode
    FirstChild(const char *_value)TiXmlNode [inline]
    FirstChild(const std::string &_value) const TiXmlNode [inline]
    FirstChild(const std::string &_value)TiXmlNode [inline]
    FirstChildElement() const TiXmlNode
    FirstChildElement(const char *_value) const TiXmlNode
    FirstChildElement(const std::string &_value) const TiXmlNode [inline]
    FirstChildElement(const std::string &_value)TiXmlNode [inline]
    GetDocument() const TiXmlNode
    GetUserData()TiXmlBase [inline]
    GetUserData() const TiXmlBase [inline]
    InsertAfterChild(TiXmlNode *afterThis, const TiXmlNode &addThis)TiXmlNode
    InsertBeforeChild(TiXmlNode *beforeThis, const TiXmlNode &addThis)TiXmlNode
    InsertEndChild(const TiXmlNode &addThis)TiXmlNode
    IsWhiteSpaceCondensed()TiXmlBase [inline, static]
    IterateChildren(const TiXmlNode *previous) const TiXmlNode
    IterateChildren(const char *value, const TiXmlNode *previous) const TiXmlNode
    IterateChildren(const std::string &_value, const TiXmlNode *previous) const TiXmlNode [inline]
    IterateChildren(const std::string &_value, const TiXmlNode *previous)TiXmlNode [inline]
    LastChild()TiXmlNode [inline]
    LastChild(const char *_value)TiXmlNode [inline]
    LastChild(const std::string &_value) const TiXmlNode [inline]
    LastChild(const std::string &_value)TiXmlNode [inline]
    LinkEndChild(TiXmlNode *addThis)TiXmlNode
    NextSibling(const std::string &_value) const TiXmlNode [inline]
    NextSibling(const std::string &_value)TiXmlNode [inline]
    NextSibling() const TiXmlNode [inline]
    NextSibling(const char *) const TiXmlNode
    NextSiblingElement() const TiXmlNode
    NextSiblingElement(const char *) const TiXmlNode
    NextSiblingElement(const std::string &_value) const TiXmlNode [inline]
    NextSiblingElement(const std::string &_value)TiXmlNode [inline]
    NoChildren() const TiXmlNode [inline]
    NodeType enum nameTiXmlNode
    operator<<(std::ostream &out, const TiXmlNode &base)TiXmlNode [friend]
    operator<<(std::string &out, const TiXmlNode &base)TiXmlNode [friend]
    operator>>(std::istream &in, TiXmlNode &base)TiXmlNode [friend]
    Parent()TiXmlNode [inline]
    PreviousSibling() const TiXmlNode [inline]
    PreviousSibling(const char *) const TiXmlNode
    PreviousSibling(const std::string &_value) const TiXmlNode [inline]
    PreviousSibling(const std::string &_value)TiXmlNode [inline]
    Print(FILE *cfile, int depth) const TiXmlUnknown [virtual]
    RemoveChild(TiXmlNode *removeThis)TiXmlNode
    ReplaceChild(TiXmlNode *replaceThis, const TiXmlNode &withThis)TiXmlNode
    Row() const TiXmlBase [inline]
    SetCondenseWhiteSpace(bool condense)TiXmlBase [inline, static]
    SetUserData(void *user)TiXmlBase [inline]
    SetValue(const char *_value)TiXmlNode [inline]
    SetValue(const std::string &_value)TiXmlNode [inline]
    ToComment() const TiXmlNode [inline, virtual]
    ToComment()TiXmlNode [inline, virtual]
    ToDeclaration() const TiXmlNode [inline, virtual]
    ToDeclaration()TiXmlNode [inline, virtual]
    ToDocument() const TiXmlNode [inline, virtual]
    ToDocument()TiXmlNode [inline, virtual]
    ToElement() const TiXmlNode [inline, virtual]
    ToElement()TiXmlNode [inline, virtual]
    ToText() const TiXmlNode [inline, virtual]
    ToText()TiXmlNode [inline, virtual]
    ToUnknown() const TiXmlUnknown [inline, virtual]
    ToUnknown()TiXmlUnknown [inline, virtual]
    Type() const TiXmlNode [inline]
    userDataTiXmlBase [protected]
    Value() const TiXmlNode [inline]
    ValueStr() const TiXmlNode [inline]
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/classTiXmlUnknown.html b/shared/tinyxml/docs/classTiXmlUnknown.html index b1fa2187..17b3870b 100644 --- a/shared/tinyxml/docs/classTiXmlUnknown.html +++ b/shared/tinyxml/docs/classTiXmlUnknown.html @@ -1,70 +1,77 @@ - - + + + + TinyXml: TiXmlUnknown Class Reference - - - - - - -

    TiXmlUnknown Class Reference

    Any tag that tinyXml doesn't recognize is saved as an unknown. -More... -

    -#include <tinyxml.h> -

    -

    Inheritance diagram for TiXmlUnknown: -

    - -TiXmlNode -TiXmlBase - -List of all members. - - - - - - - - - - - - + + + + + + +
    +

    TiXmlUnknown Class Reference

    +

    Any tag that tinyXml doesn't recognize is saved as an unknown. +More...

    -
    - +

    #include <tinyxml.h>

    +
    +Inheritance diagram for TiXmlUnknown:
    +
    +
    + + +TiXmlNode +TiXmlBase + +
    +
    - +

    List of all members.

    +

    Public Member Functions

    -virtual TiXmlNodeClone () const
     Creates a copy of this Unknown and returns it.
    virtual void Print (FILE *cfile, int depth) const
     All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
    -virtual const TiXmlUnknownToUnknown () const
     Cast to a more defined type. Will return null not of the requested type.
    -virtual TiXmlUnknownToUnknown ()
     Cast to a more defined type. Will return null not of the requested type.
    -virtual bool Accept (TiXmlVisitor *content) const
     Walk the XML tree visiting this node and all of its children.
    + + + + + + + + + + +

    Public Member Functions

    +virtual TiXmlNodeClone () const
     Creates a copy of this Unknown and returns it.
    virtual void Print (FILE *cfile, int depth) const
     All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
    +virtual const TiXmlUnknownToUnknown () const
     Cast to a more defined type. Will return null not of the requested type.
    +virtual TiXmlUnknownToUnknown ()
     Cast to a more defined type. Will return null not of the requested type.
    +virtual bool Accept (TiXmlVisitor *content) const
     Walk the XML tree visiting this node and all of its children.
    -

    Detailed Description

    -Any tag that tinyXml doesn't recognize is saved as an unknown. -

    -It is a tag of text, but should not be modified. It will be written back to the XML, unchanged, when the file is saved.

    -DTD tags get thrown into TiXmlUnknowns. -

    -


    Member Function Documentation

    - +

    Detailed Description

    +

    Any tag that tinyXml doesn't recognize is saved as an unknown.

    +

    It is a tag of text, but should not be modified. It will be written back to the XML, unchanged, when the file is saved.

    +

    DTD tags get thrown into TiXmlUnknowns.

    +

    Member Function Documentation

    +
    - + @@ -78,26 +85,27 @@ DTD tags get thrown into TiXmlUnknowns. - +
    virtual void TiXmlUnknown::Print virtual void TiXmlUnknown::Print ( FILE *  cfile,
    ) const [virtual] const [virtual]
    -

    -All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. -

    -) Either or both cfile and str can be null.

    -This is a formatted print, and will insert tabs and newlines.

    -(For an unformatted stream, use the << operator.) -

    -Implements TiXmlBase. +

    All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.

    +

    ) Either or both cfile and str can be null.

    +

    This is a formatted print, and will insert tabs and newlines.

    +

    (For an unformatted stream, use the << operator.)

    + +

    Implements TiXmlBase.

    + +
    +
    +
    The documentation for this class was generated from the following file: -

    -


    The documentation for this class was generated from the following file: -
    Generated on Sun May 6 15:41:23 2007 for TinyXml by  +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/classTiXmlUnknown.png b/shared/tinyxml/docs/classTiXmlUnknown.png index 338bfab7..caa0c235 100644 Binary files a/shared/tinyxml/docs/classTiXmlUnknown.png and b/shared/tinyxml/docs/classTiXmlUnknown.png differ diff --git a/shared/tinyxml/docs/classTiXmlVisitor-members.html b/shared/tinyxml/docs/classTiXmlVisitor-members.html index f6cf1749..78f0439f 100644 --- a/shared/tinyxml/docs/classTiXmlVisitor-members.html +++ b/shared/tinyxml/docs/classTiXmlVisitor-members.html @@ -1,34 +1,43 @@ - - + + + + TinyXml: Member List - - - - - - -

    TiXmlVisitor Member List

    This is the complete list of members for TiXmlVisitor, including all inherited members.

    - - - - - - - - -
    Visit(const TiXmlDeclaration &)TiXmlVisitor [inline, virtual]
    Visit(const TiXmlText &)TiXmlVisitor [inline, virtual]
    Visit(const TiXmlComment &)TiXmlVisitor [inline, virtual]
    Visit(const TiXmlUnknown &)TiXmlVisitor [inline, virtual]
    VisitEnter(const TiXmlDocument &)TiXmlVisitor [inline, virtual]
    VisitEnter(const TiXmlElement &, const TiXmlAttribute *)TiXmlVisitor [inline, virtual]
    VisitExit(const TiXmlDocument &)TiXmlVisitor [inline, virtual]
    VisitExit(const TiXmlElement &)TiXmlVisitor [inline, virtual]


    Generated on Sun May 6 15:41:23 2007 for TinyXml by  + + + + + + +
    +

    TiXmlVisitor Member List

    This is the complete list of members for TiXmlVisitor, including all inherited members. + + + + + + + + +
    Visit(const TiXmlDeclaration &)TiXmlVisitor [inline, virtual]
    Visit(const TiXmlText &)TiXmlVisitor [inline, virtual]
    Visit(const TiXmlComment &)TiXmlVisitor [inline, virtual]
    Visit(const TiXmlUnknown &)TiXmlVisitor [inline, virtual]
    VisitEnter(const TiXmlDocument &)TiXmlVisitor [inline, virtual]
    VisitEnter(const TiXmlElement &, const TiXmlAttribute *)TiXmlVisitor [inline, virtual]
    VisitExit(const TiXmlDocument &)TiXmlVisitor [inline, virtual]
    VisitExit(const TiXmlElement &)TiXmlVisitor [inline, virtual]
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/classTiXmlVisitor.html b/shared/tinyxml/docs/classTiXmlVisitor.html index 4698b85a..404ae0dc 100644 --- a/shared/tinyxml/docs/classTiXmlVisitor.html +++ b/shared/tinyxml/docs/classTiXmlVisitor.html @@ -1,84 +1,89 @@ - - + + + + TinyXml: TiXmlVisitor Class Reference - - - - - - -

    TiXmlVisitor Class Reference

    If you call the Accept() method, it requires being passed a TiXmlVisitor class to handle callbacks. -More... -

    -#include <tinyxml.h> -

    -

    Inheritance diagram for TiXmlVisitor: -

    - -TiXmlPrinter - -List of all members. - - - - - - - - - - - - - - - + + + + + + +
    +

    TiXmlVisitor Class Reference

    +

    Implements the interface to the "Visitor pattern" (see the Accept() method. +More...

    -
    - - - - - - - +

    #include <tinyxml.h>

    +
    +Inheritance diagram for TiXmlVisitor:
    +
    +
    + + +TiXmlPrinter + +
    +
    - +

    List of all members.

    +

    Public Member Functions

    -virtual bool VisitEnter (const TiXmlDocument &)
     Visit a document.
    -virtual bool VisitExit (const TiXmlDocument &)
     Visit a document.
    -virtual bool VisitEnter (const TiXmlElement &, const TiXmlAttribute *)
     Visit an element.
    -virtual bool VisitExit (const TiXmlElement &)
     Visit an element.
    -virtual bool Visit (const TiXmlDeclaration &)
     Visit a declaration.
    -virtual bool Visit (const TiXmlText &)
     Visit a text node.
    -virtual bool Visit (const TiXmlComment &)
     Visit a comment node.
    -virtual bool Visit (const TiXmlUnknown &)
     Visit an unknow node.
    + + + + + + + + + + + + + + + + +

    Public Member Functions

    +virtual bool VisitEnter (const TiXmlDocument &)
     Visit a document.
    +virtual bool VisitExit (const TiXmlDocument &)
     Visit a document.
    +virtual bool VisitEnter (const TiXmlElement &, const TiXmlAttribute *)
     Visit an element.
    +virtual bool VisitExit (const TiXmlElement &)
     Visit an element.
    +virtual bool Visit (const TiXmlDeclaration &)
     Visit a declaration.
    +virtual bool Visit (const TiXmlText &)
     Visit a text node.
    +virtual bool Visit (const TiXmlComment &)
     Visit a comment node.
    +virtual bool Visit (const TiXmlUnknown &)
     Visit an unknow node.
    -

    Detailed Description

    -If you call the Accept() method, it requires being passed a TiXmlVisitor class to handle callbacks. -

    -For nodes that contain other nodes (Document, Element) you will get called with a VisitEnter/VisitExit pair. Nodes that are always leaves are simple called with Visit().

    -If you return 'true' from a Visit method, recursive parsing will continue. If you return false, no children of this node or its sibilings will be Visited.

    -All flavors of Visit methods have a default implementation that returns 'true' (continue visiting). You need to only override methods that are interesting to you.

    -Generally Accept() is called on the TiXmlDocument, although all nodes suppert Visiting.

    -You should never change the document from a callback.

    -

    See also:
    TiXmlNode::Accept()
    - -

    -


    The documentation for this class was generated from the following file: -
    Generated on Sun May 6 15:41:23 2007 for TinyXml by  +

    Detailed Description

    +

    Implements the interface to the "Visitor pattern" (see the Accept() method.

    +

    ) If you call the Accept() method, it requires being passed a TiXmlVisitor class to handle callbacks. For nodes that contain other nodes (Document, Element) you will get called with a VisitEnter/VisitExit pair. Nodes that are always leaves are simply called with Visit().

    +

    If you return 'true' from a Visit method, recursive parsing will continue. If you return false, no children of this node or its sibilings will be Visited.

    +

    All flavors of Visit methods have a default implementation that returns 'true' (continue visiting). You need to only override methods that are interesting to you.

    +

    Generally Accept() is called on the TiXmlDocument, although all nodes suppert Visiting.

    +

    You should never change the document from a callback.

    +
    See also:
    TiXmlNode::Accept()
    +
    The documentation for this class was generated from the following file: + +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/classTiXmlVisitor.png b/shared/tinyxml/docs/classTiXmlVisitor.png index 3e7daece..b47e145d 100644 Binary files a/shared/tinyxml/docs/classTiXmlVisitor.png and b/shared/tinyxml/docs/classTiXmlVisitor.png differ diff --git a/shared/tinyxml/docs/classes.html b/shared/tinyxml/docs/classes.html new file mode 100644 index 00000000..8e24e1bf --- /dev/null +++ b/shared/tinyxml/docs/classes.html @@ -0,0 +1,38 @@ + + + + +TinyXml: Alphabetical List + + + + + + +
    +

    Class Index

    + +
      T  
    +
    TiXmlComment   TiXmlElement   TiXmlPrinter   TiXmlUnknown   
    TiXmlAttribute   TiXmlDeclaration   TiXmlHandle   TiXmlText   TiXmlVisitor   
    TiXmlBase   TiXmlDocument   TiXmlNode   
    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/deprecated.html b/shared/tinyxml/docs/deprecated.html index ccfb3f69..2104c126 100644 --- a/shared/tinyxml/docs/deprecated.html +++ b/shared/tinyxml/docs/deprecated.html @@ -1,38 +1,49 @@ - - + + + + TinyXml: Deprecated List - - - - - -

    Deprecated List

    -
    Member TiXmlHandle::Element () const
    -
    use ToElement. Return the handle as a TiXmlElement. This may return null.
    + + + + + + +
    + + +

    Deprecated List

    +
    +
    Member TiXmlHandle::Element () const
    +
    use ToElement. Return the handle as a TiXmlElement. This may return null.
    -

    -

    -
    Member TiXmlHandle::Node () const
    -
    use ToNode. Return the handle as a TiXmlNode. This may return null.
    +

    +
    +
    Member TiXmlHandle::Node () const
    +
    use ToNode. Return the handle as a TiXmlNode. This may return null.
    -

    -

    -
    Member TiXmlHandle::Text () const
    -
    use ToText() Return the handle as a TiXmlText. This may return null.
    +

    +
    +
    Member TiXmlHandle::Text () const
    +
    use ToText() Return the handle as a TiXmlText. This may return null.
    -

    -

    -
    Member TiXmlHandle::Unknown () const
    -
    use ToUnknown() Return the handle as a TiXmlUnknown. This may return null.
    +

    +
    +
    Member TiXmlHandle::Unknown () const
    +
    use ToUnknown() Return the handle as a TiXmlUnknown. This may return null.
    -
    Generated on Sun May 6 15:41:23 2007 for TinyXml by  +
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/doxygen.css b/shared/tinyxml/docs/doxygen.css index 5d583694..b057a928 100644 --- a/shared/tinyxml/docs/doxygen.css +++ b/shared/tinyxml/docs/doxygen.css @@ -1,358 +1,532 @@ -BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { - font-family: Geneva, Arial, Helvetica, sans-serif; -} -BODY,TD { - font-size: 90%; +/* The standard CSS for doxygen */ + +body, table, div, p, dl { + font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; + font-size: 12px; } -H1 { + +/* @group Heading Levels */ + +h1 { text-align: center; - font-size: 160%; + font-size: 150%; } -H2 { - font-size: 120%; + +h2 { + font-size: 120%; } -H3 { - font-size: 100%; + +h3 { + font-size: 100%; } -CAPTION { font-weight: bold } -DIV.qindex { - width: 100%; + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd, p.starttd { + margin-top: 2px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ background-color: #e8eef2; border: 1px solid #84b0c7; text-align: center; margin: 2px; padding: 2px; - line-height: 140%; } -DIV.nav { + +div.qindex, div.navpath { width: 100%; - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - padding: 2px; line-height: 140%; } -DIV.navtab { - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; + +div.navtab { + margin-right: 15px; } -TD.navtab { - font-size: 70%; + +/* @group Link Styling */ + +a { + color: #153788; + font-weight: normal; + text-decoration: none; } -A.qindex { - text-decoration: none; - font-weight: bold; - color: #1A419D; + +.contents a:visited { + color: #1b77c5; } -A.qindex:visited { - text-decoration: none; - font-weight: bold; - color: #1A419D + +a:hover { + text-decoration: underline; } -A.qindex:hover { - text-decoration: none; - background-color: #ddddff; + +a.qindex { + font-weight: bold; } -A.qindexHL { - text-decoration: none; + +a.qindexHL { font-weight: bold; background-color: #6666cc; color: #ffffff; border: 1px double #9295C2; } -A.qindexHL:hover { - text-decoration: none; - background-color: #6666cc; - color: #ffffff; + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code { + color: #3030f0; } -A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code:link { text-decoration: none; font-weight: normal; color: #0000FF} -A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} -A.codeRef:link { font-weight: normal; color: #0000FF} -A.codeRef:visited { font-weight: normal; color: #0000FF} -A:hover { text-decoration: none; background-color: #f2f2ff } -DL.el { margin-left: -1cm } + +a.codeRef { + color: #3030f0; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + .fragment { - font-family: monospace, fixed; - font-size: 95%; + font-family: monospace, fixed; + font-size: 105%; } -PRE.fragment { + +pre.fragment { border: 1px solid #CCCCCC; background-color: #f5f5f5; - margin-top: 4px; - margin-bottom: 4px; - margin-left: 2px; - margin-right: 8px; - padding-left: 6px; - padding-right: 6px; - padding-top: 4px; - padding-bottom: 4px; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; } -DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } -DIV.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold; +div.groupText { + margin-left: 16px; + font-style: italic; } -DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } -BODY { + +body { background: white; color: black; margin-right: 20px; margin-left: 20px; } -TD.indexkey { + +td.indexkey { background-color: #e8eef2; font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; border: 1px solid #CCCCCC; + margin: 2px 0px 2px 0; + padding: 2px 10px; } -TD.indexvalue { + +td.indexvalue { background-color: #e8eef2; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; border: 1px solid #CCCCCC; + padding: 2px 10px; + margin: 2px 0px; } -TR.memlist { - background-color: #f0f0f0; -} -P.formulaDsp { text-align: center; } -IMG.formulaDsp { } -IMG.formulaInl { vertical-align: middle; } -SPAN.keyword { color: #008000 } -SPAN.keywordtype { color: #604020 } -SPAN.keywordflow { color: #e08000 } -SPAN.comment { color: #800000 } -SPAN.preprocessor { color: #806020 } -SPAN.stringliteral { color: #002080 } -SPAN.charliteral { color: #008080 } -.mdescLeft { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; + +tr.memlist { + background-color: #f0f0f0; } -.mdescRight { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; + +p.formulaDsp { + text-align: center; } -.memItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; + +img.formulaDsp { + } -.memItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; + +img.formulaInl { + vertical-align: middle; } -.memTemplItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; } -.memTemplItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; + +div.center img { + border: 0px; } -.memTemplParams { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - color: #606060; - background-color: #FAFAFA; - font-size: 80%; + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 } -.search { color: #003399; - font-weight: bold; + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 } -FORM.search { - margin-bottom: 0px; - margin-top: 0px; + +span.preprocessor { + color: #806020 } -INPUT.search { font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; + +span.stringliteral { + color: #002080 } -TD.tiny { font-size: 75%; + +span.charliteral { + color: #008080 } -a { - color: #1A41A8; + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +/* @end */ + +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #84b0c7; +} + +th.dirtab { + background: #e8eef2; + font-weight: bold; } -a:visited { - color: #2A3798; + +hr { + height: 0; + border: none; + border-top: 1px solid #666; } -.dirtab { padding: 4px; - border-collapse: collapse; - border: 1px solid #84b0c7; + +/* @group Member Descriptions */ + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #FAFAFA; + border: none; + margin: 4px; + padding: 1px 0 0 8px; } -TH.dirtab { background: #e8eef2; - font-weight: bold; + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; } -HR { height: 1px; - border: none; - border-top: 1px solid black; + +.memItemLeft, .memItemRight, .memTemplParams { + border-top: 1px solid #ccc; } -/* Style for detailed member documentation */ +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memTemplParams { + color: #606060; + white-space: nowrap; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + .memtemplate { - font-size: 80%; - color: #606060; - font-weight: normal; -} -.memnav { - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; + font-size: 80%; + color: #606060; + font-weight: normal; + margin-left: 3px; } + +.memnav { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + .memitem { - padding: 4px; - background-color: #eef3f5; - border-width: 1px; - border-style: solid; - border-color: #dedeee; - -moz-border-radius: 8px 8px 8px 8px; + padding: 0; + margin-bottom: 10px; } + .memname { - white-space: nowrap; - font-weight: bold; + white-space: nowrap; + font-weight: bold; } -.memdoc{ - padding-left: 10px; + +.memproto, .memdoc { + border: 1px solid #84b0c7; } + .memproto { - background-color: #d5e1e8; - width: 100%; - border-width: 1px; - border-style: solid; - border-color: #84b0c7; - font-weight: bold; - -moz-border-radius: 8px 8px 8px 8px; + padding: 0; + background-color: #d5e1e8; + font-weight: bold; + -webkit-border-top-left-radius: 8px; + -webkit-border-top-right-radius: 8px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -moz-border-radius-topleft: 8px; + -moz-border-radius-topright: 8px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + +} + +.memdoc { + padding: 2px 5px; + background-color: #eef3f5; + border-top-width: 0; + -webkit-border-bottom-left-radius: 8px; + -webkit-border-bottom-right-radius: 8px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -moz-border-radius-bottomleft: 8px; + -moz-border-radius-bottomright: 8px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; } + .paramkey { - text-align: right; + text-align: right; } + .paramtype { - white-space: nowrap; + white-space: nowrap; } + .paramname { - color: #602020; - font-style: italic; + color: #602020; + white-space: nowrap; } -/* End Styling for detailed member documentation */ +.paramname em { + font-style: normal; +} + +/* @end */ + +/* @group Directory (tree) */ /* for the tree view */ + .ftvtree { font-family: sans-serif; - margin:0.5em; -} -.directory { font-size: 9pt; font-weight: bold; } -.directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } -.directory > h3 { margin-top: 0; } -.directory p { margin: 0px; white-space: nowrap; } -.directory div { display: none; margin: 0px; } -.directory img { vertical-align: -30%; } + margin: 0.5em; +} + +/* these are for tree view when used as main index */ + +.directory { + font-size: 9pt; + font-weight: bold; +} + +.directory h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +/* +The following two styles can be used to replace the root node title +with an image of your choice. Simply uncomment the next two styles, +specify the name of your image and be sure to set 'height' to the +proper pixel height of your image. +*/ + +/* +.directory h3.swap { + height: 61px; + background-repeat: no-repeat; + background-image: url("yourimage.gif"); +} +.directory h3.swap span { + display: none; +} +*/ + +.directory > h3 { + margin-top: 0; +} + +.directory p { + margin: 0px; + white-space: nowrap; +} + +.directory div { + display: none; + margin: 0px; +} + +.directory img { + vertical-align: -30%; +} + +/* these are for tree view when not used as main index */ + +.directory-alt { + font-size: 100%; + font-weight: bold; +} + +.directory-alt h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +.directory-alt > h3 { + margin-top: 0; +} + +.directory-alt p { + margin: 0px; + white-space: nowrap; +} + +.directory-alt div { + display: none; + margin: 0px; +} + +.directory-alt img { + vertical-align: -30%; +} + +/* @end */ + +address { + font-style: normal; + color: #333; +} + +table.doxtable { + border-collapse:collapse; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #153788; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #254798; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; +} diff --git a/shared/tinyxml/docs/files.html b/shared/tinyxml/docs/files.html index 23a447d2..00cc413b 100644 --- a/shared/tinyxml/docs/files.html +++ b/shared/tinyxml/docs/files.html @@ -1,23 +1,36 @@ - - + + + + TinyXml: File Index - - - - - -

    TinyXml File List

    Here is a list of all documented files with brief descriptions: - - + + + + + + +
    +

    File List

    Here is a list of all documented files with brief descriptions:
    tinystr.h [code]
    tinyxml.h [code]
    + +
    tinystr.h [code]
    tinyxml.h [code]
    -
    Generated on Sun May 6 15:41:23 2007 for TinyXml by  + +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/functions.html b/shared/tinyxml/docs/functions.html index e1243226..66d97a61 100644 --- a/shared/tinyxml/docs/functions.html +++ b/shared/tinyxml/docs/functions.html @@ -1,196 +1,80 @@ - - + + + + TinyXml: Class Members - - - - - - -
    - + + + + + + -
    - -
    - -

    +

    Here is a list of all documented class members with links to the class documentation for each member: -

    -

    - a -

    +
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/functions_0x63.html b/shared/tinyxml/docs/functions_0x63.html new file mode 100644 index 00000000..aeeb7e9d --- /dev/null +++ b/shared/tinyxml/docs/functions_0x63.html @@ -0,0 +1,98 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - c -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x64.html b/shared/tinyxml/docs/functions_0x64.html new file mode 100644 index 00000000..d969d855 --- /dev/null +++ b/shared/tinyxml/docs/functions_0x64.html @@ -0,0 +1,71 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - d -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x65.html b/shared/tinyxml/docs/functions_0x65.html new file mode 100644 index 00000000..556f57d8 --- /dev/null +++ b/shared/tinyxml/docs/functions_0x65.html @@ -0,0 +1,92 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - e -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x66.html b/shared/tinyxml/docs/functions_0x66.html new file mode 100644 index 00000000..6c343d00 --- /dev/null +++ b/shared/tinyxml/docs/functions_0x66.html @@ -0,0 +1,82 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - f -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x67.html b/shared/tinyxml/docs/functions_0x67.html new file mode 100644 index 00000000..80308b92 --- /dev/null +++ b/shared/tinyxml/docs/functions_0x67.html @@ -0,0 +1,77 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - g -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x69.html b/shared/tinyxml/docs/functions_0x69.html new file mode 100644 index 00000000..c247d90b --- /dev/null +++ b/shared/tinyxml/docs/functions_0x69.html @@ -0,0 +1,89 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - i -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x6c.html b/shared/tinyxml/docs/functions_0x6c.html new file mode 100644 index 00000000..95e429cf --- /dev/null +++ b/shared/tinyxml/docs/functions_0x6c.html @@ -0,0 +1,83 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - l -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x6e.html b/shared/tinyxml/docs/functions_0x6e.html new file mode 100644 index 00000000..2a501e95 --- /dev/null +++ b/shared/tinyxml/docs/functions_0x6e.html @@ -0,0 +1,89 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - n -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x6f.html b/shared/tinyxml/docs/functions_0x6f.html new file mode 100644 index 00000000..c60a9e9f --- /dev/null +++ b/shared/tinyxml/docs/functions_0x6f.html @@ -0,0 +1,74 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - o -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x70.html b/shared/tinyxml/docs/functions_0x70.html new file mode 100644 index 00000000..88375a93 --- /dev/null +++ b/shared/tinyxml/docs/functions_0x70.html @@ -0,0 +1,91 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - p -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x71.html b/shared/tinyxml/docs/functions_0x71.html new file mode 100644 index 00000000..c7882b83 --- /dev/null +++ b/shared/tinyxml/docs/functions_0x71.html @@ -0,0 +1,89 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - q -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x72.html b/shared/tinyxml/docs/functions_0x72.html new file mode 100644 index 00000000..499cc00e --- /dev/null +++ b/shared/tinyxml/docs/functions_0x72.html @@ -0,0 +1,83 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - r -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x73.html b/shared/tinyxml/docs/functions_0x73.html new file mode 100644 index 00000000..c788c5ad --- /dev/null +++ b/shared/tinyxml/docs/functions_0x73.html @@ -0,0 +1,121 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - s -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x74.html b/shared/tinyxml/docs/functions_0x74.html new file mode 100644 index 00000000..0b28df1f --- /dev/null +++ b/shared/tinyxml/docs/functions_0x74.html @@ -0,0 +1,127 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - t -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x75.html b/shared/tinyxml/docs/functions_0x75.html new file mode 100644 index 00000000..ce91f08b --- /dev/null +++ b/shared/tinyxml/docs/functions_0x75.html @@ -0,0 +1,74 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - u -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_0x76.html b/shared/tinyxml/docs/functions_0x76.html new file mode 100644 index 00000000..bc6b15d8 --- /dev/null +++ b/shared/tinyxml/docs/functions_0x76.html @@ -0,0 +1,97 @@ + + + + +TinyXml: Class Members + + + + + + +
    +Here is a list of all documented class members with links to the class documentation for each member: + +

    - v -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_enum.html b/shared/tinyxml/docs/functions_enum.html index 563709ba..c9a7002b 100644 --- a/shared/tinyxml/docs/functions_enum.html +++ b/shared/tinyxml/docs/functions_enum.html @@ -1,39 +1,48 @@ - - + + + + TinyXml: Class Members - Enumerations - - - - - - -
    - + + + + + + -  -

    -

      +
      -
      Generated on Sun May 6 15:41:23 2007 for TinyXml by  +: TiXmlNode + +
    +
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/functions_func.html b/shared/tinyxml/docs/functions_func.html index 99bdfbd3..85ac2d81 100644 --- a/shared/tinyxml/docs/functions_func.html +++ b/shared/tinyxml/docs/functions_func.html @@ -1,189 +1,79 @@ - - + + + + TinyXml: Class Members - Functions - - - - - - -
    - + + + + + + -
    - -
    - -

    +

      -

    -

    - a -

    +
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/functions_func_0x63.html b/shared/tinyxml/docs/functions_func_0x63.html new file mode 100644 index 00000000..d2eaf207 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x63.html @@ -0,0 +1,97 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - c -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x64.html b/shared/tinyxml/docs/functions_func_0x64.html new file mode 100644 index 00000000..836021f3 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x64.html @@ -0,0 +1,70 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - d -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x65.html b/shared/tinyxml/docs/functions_func_0x65.html new file mode 100644 index 00000000..71a993a2 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x65.html @@ -0,0 +1,91 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - e -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x66.html b/shared/tinyxml/docs/functions_func_0x66.html new file mode 100644 index 00000000..17e35e94 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x66.html @@ -0,0 +1,81 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - f -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x67.html b/shared/tinyxml/docs/functions_func_0x67.html new file mode 100644 index 00000000..4401b4c6 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x67.html @@ -0,0 +1,76 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - g -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x69.html b/shared/tinyxml/docs/functions_func_0x69.html new file mode 100644 index 00000000..c8793bf1 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x69.html @@ -0,0 +1,88 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - i -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x6c.html b/shared/tinyxml/docs/functions_func_0x6c.html new file mode 100644 index 00000000..4f665a53 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x6c.html @@ -0,0 +1,82 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - l -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x6e.html b/shared/tinyxml/docs/functions_func_0x6e.html new file mode 100644 index 00000000..84b2641f --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x6e.html @@ -0,0 +1,85 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - n -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x70.html b/shared/tinyxml/docs/functions_func_0x70.html new file mode 100644 index 00000000..1e8e9da4 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x70.html @@ -0,0 +1,90 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - p -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x71.html b/shared/tinyxml/docs/functions_func_0x71.html new file mode 100644 index 00000000..27402292 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x71.html @@ -0,0 +1,88 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - q -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x72.html b/shared/tinyxml/docs/functions_func_0x72.html new file mode 100644 index 00000000..1500d1e4 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x72.html @@ -0,0 +1,82 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - r -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x73.html b/shared/tinyxml/docs/functions_func_0x73.html new file mode 100644 index 00000000..14064fa0 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x73.html @@ -0,0 +1,120 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - s -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x74.html b/shared/tinyxml/docs/functions_func_0x74.html new file mode 100644 index 00000000..3d934631 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x74.html @@ -0,0 +1,126 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - t -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x75.html b/shared/tinyxml/docs/functions_func_0x75.html new file mode 100644 index 00000000..073ad1bf --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x75.html @@ -0,0 +1,70 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - u -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_func_0x76.html b/shared/tinyxml/docs/functions_func_0x76.html new file mode 100644 index 00000000..84cc2746 --- /dev/null +++ b/shared/tinyxml/docs/functions_func_0x76.html @@ -0,0 +1,96 @@ + + + + +TinyXml: Class Members - Functions + + + + + + +
    +  + +

    - v -

    +
    +
    Generated by  + +doxygen 1.6.2
    + + diff --git a/shared/tinyxml/docs/functions_rela.html b/shared/tinyxml/docs/functions_rela.html index fddd4338..aa909d81 100644 --- a/shared/tinyxml/docs/functions_rela.html +++ b/shared/tinyxml/docs/functions_rela.html @@ -1,40 +1,51 @@ - - + + + + TinyXml: Class Members - Related Functions - - - - - - -
    - + + + + + + -  -

    -

    +
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/functions_vars.html b/shared/tinyxml/docs/functions_vars.html index 52e814cb..1811bc77 100644 --- a/shared/tinyxml/docs/functions_vars.html +++ b/shared/tinyxml/docs/functions_vars.html @@ -1,39 +1,48 @@ - - + + + + TinyXml: Class Members - Variables - - - - - - -
    - + + + + + + -  -

    -

      +
      -
      Generated on Sun May 6 15:41:23 2007 for TinyXml by  +: TiXmlBase + +
    +
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/hierarchy.html b/shared/tinyxml/docs/hierarchy.html index 0eb50b46..367bedd3 100644 --- a/shared/tinyxml/docs/hierarchy.html +++ b/shared/tinyxml/docs/hierarchy.html @@ -1,45 +1,54 @@ - - + + + + TinyXml: Hierarchical Index - - - - - - -

    TinyXml Class Hierarchy

    This inheritance list is sorted roughly, but not completely, alphabetically:
      -
    • TiXmlBase -
        -
      • TiXmlAttribute -
      • TiXmlNode -
          -
        • TiXmlComment -
        • TiXmlDeclaration -
        • TiXmlDocument -
        • TiXmlElement -
        • TiXmlText -
        • TiXmlUnknown + + + + + + +
          +

          Class Hierarchy

          This inheritance list is sorted roughly, but not completely, alphabetically:
          +
          Generated by  -doxygen 1.4.7
          +doxygen 1.6.2
          diff --git a/shared/tinyxml/docs/index.html b/shared/tinyxml/docs/index.html index 01d51e78..1cb925ba 100644 --- a/shared/tinyxml/docs/index.html +++ b/shared/tinyxml/docs/index.html @@ -1,75 +1,71 @@ - - + + + + TinyXml: Main Page - - - - - -

          TinyXml Documentation

          -

          -

          2.5.3

          TinyXML

          -

          -TinyXML is a simple, small, C++ XML parser that can be easily integrated into other programs.

          + + + + + +

          +
          +

          TinyXml Documentation

          2.6.1

          TinyXML

          +

          TinyXML is a simple, small, C++ XML parser that can be easily integrated into other programs.

          What it does.

          -

          -In brief, TinyXML parses an XML document, and builds from that a Document Object Model (DOM) that can be read, modified, and saved.

          -XML stands for "eXtensible Markup Language." It allows you to create your own document markups. Where HTML does a very good job of marking documents for browsers, XML allows you to define any kind of document markup, for example a document that describes a "to do" list for an organizer application. XML is a very structured and convenient format. All those random file formats created to store application data can all be replaced with XML. One parser for everything.

          -The best place for the complete, correct, and quite frankly hard to read spec is at http://www.w3.org/TR/2004/REC-xml-20040204/. An intro to XML (that I really like) can be found at http://skew.org/xml/tutorial.

          -There are different ways to access and interact with XML data. TinyXML uses a Document Object Model (DOM), meaning the XML data is parsed into a C++ objects that can be browsed and manipulated, and then written to disk or another output stream. You can also construct an XML document from scratch with C++ objects and write this to disk or another output stream.

          -TinyXML is designed to be easy and fast to learn. It is two headers and four cpp files. Simply add these to your project and off you go. There is an example file - xmltest.cpp - to get you started.

          -TinyXML is released under the ZLib license, so you can use it in open source or commercial code. The details of the license are at the top of every source file.

          -TinyXML attempts to be a flexible parser, but with truly correct and compliant XML output. TinyXML should compile on any reasonably C++ compliant system. It does not rely on exceptions or RTTI. It can be compiled with or without STL support. TinyXML fully supports the UTF-8 encoding, and the first 64k character entities.

          +

          In brief, TinyXML parses an XML document, and builds from that a Document Object Model (DOM) that can be read, modified, and saved.

          +

          XML stands for "eXtensible Markup Language." It allows you to create your own document markups. Where HTML does a very good job of marking documents for browsers, XML allows you to define any kind of document markup, for example a document that describes a "to do" list for an organizer application. XML is a very structured and convenient format. All those random file formats created to store application data can all be replaced with XML. One parser for everything.

          +

          The best place for the complete, correct, and quite frankly hard to read spec is at http://www.w3.org/TR/2004/REC-xml-20040204/. An intro to XML (that I really like) can be found at http://skew.org/xml/tutorial.

          +

          There are different ways to access and interact with XML data. TinyXML uses a Document Object Model (DOM), meaning the XML data is parsed into a C++ objects that can be browsed and manipulated, and then written to disk or another output stream. You can also construct an XML document from scratch with C++ objects and write this to disk or another output stream.

          +

          TinyXML is designed to be easy and fast to learn. It is two headers and four cpp files. Simply add these to your project and off you go. There is an example file - xmltest.cpp - to get you started.

          +

          TinyXML is released under the ZLib license, so you can use it in open source or commercial code. The details of the license are at the top of every source file.

          +

          TinyXML attempts to be a flexible parser, but with truly correct and compliant XML output. TinyXML should compile on any reasonably C++ compliant system. It does not rely on exceptions or RTTI. It can be compiled with or without STL support. TinyXML fully supports the UTF-8 encoding, and the first 64k character entities.

          What it doesn't do.

          -

          -TinyXML doesn't parse or use DTDs (Document Type Definitions) or XSLs (eXtensible Stylesheet Language.) There are other parsers out there (check out www.sourceforge.org, search for XML) that are much more fully featured. But they are also much bigger, take longer to set up in your project, have a higher learning curve, and often have a more restrictive license. If you are working with browsers or have more complete XML needs, TinyXML is not the parser for you.

          -The following DTD syntax will not parse at this time in TinyXML:

          -

          	<!DOCTYPE Archiv [
          +

          TinyXML doesn't parse or use DTDs (Document Type Definitions) or XSLs (eXtensible Stylesheet Language.) There are other parsers out there (check out www.sourceforge.org, search for XML) that are much more fully featured. But they are also much bigger, take longer to set up in your project, have a higher learning curve, and often have a more restrictive license. If you are working with browsers or have more complete XML needs, TinyXML is not the parser for you.

          +

          The following DTD syntax will not parse at this time in TinyXML:

          +
          +	<!DOCTYPE Archiv [
           	 <!ELEMENT Comment (#PCDATA)>
           	]>
          -

          -because TinyXML sees this as a !DOCTYPE node with an illegally embedded !ELEMENT node. This may be addressed in the future.

          +

          because TinyXML sees this as a !DOCTYPE node with an illegally embedded !ELEMENT node. This may be addressed in the future.

          Tutorials.

          -

          -For the impatient, here is a tutorial to get you going. A great way to get started, but it is worth your time to read this (very short) manual completely.

          +

          For the impatient, here is a tutorial to get you going. A great way to get started, but it is worth your time to read this (very short) manual completely.

          -

          +

        • TinyXML Tutorial
        • +

        Code Status.

        -

        -TinyXML is mature, tested code. It is very stable. If you find bugs, please file a bug report on the sourceforge web site (www.sourceforge.net/projects/tinyxml). We'll get them straightened out as soon as possible.

        -There are some areas of improvement; please check sourceforge if you are interested in working on TinyXML.

        +

        TinyXML is mature, tested code. It is very stable. If you find bugs, please file a bug report on the sourceforge web site (www.sourceforge.net/projects/tinyxml). We'll get them straightened out as soon as possible.

        +

        There are some areas of improvement; please check sourceforge if you are interested in working on TinyXML.

        Related Projects

        -

        -TinyXML projects you may find useful! (Descriptions provided by the projects.)

        +

        TinyXML projects you may find useful! (Descriptions provided by the projects.)

        -

        Features

        -

        Using STL

        -

        -TinyXML can be compiled to use or not use STL. When using STL, TinyXML uses the std::string class, and fully supports std::istream, std::ostream, operator<<, and operator>>. Many API methods have both 'const char*' and 'const std::string&' forms.

        -When STL support is compiled out, no STL files are included whatsoever. All the string classes are implemented by TinyXML itself. API methods all use the 'const char*' form for input.

        -Use the compile time define:

        -TIXML_USE_STL

        -to compile one version or the other. This can be passed by the compiler, or set as the first line of "tinyxml.h".

        -Note: If compiling the test code in Linux, setting the environment variable TINYXML_USE_STL=YES/NO will control STL compilation. In the Windows project file, STL and non STL targets are provided. In your project, It's probably easiest to add the line "#define TIXML_USE_STL" as the first line of tinyxml.h.

        +

        TinyXML can be compiled to use or not use STL. When using STL, TinyXML uses the std::string class, and fully supports std::istream, std::ostream, operator<<, and operator>>. Many API methods have both 'const char*' and 'const std::string&' forms.

        +

        When STL support is compiled out, no STL files are included whatsoever. All the string classes are implemented by TinyXML itself. API methods all use the 'const char*' form for input.

        +

        Use the compile time define:

        +

        TIXML_USE_STL

        +

        to compile one version or the other. This can be passed by the compiler, or set as the first line of "tinyxml.h".

        +

        Note: If compiling the test code in Linux, setting the environment variable TINYXML_USE_STL=YES/NO will control STL compilation. In the Windows project file, STL and non STL targets are provided. In your project, It's probably easiest to add the line "#define TIXML_USE_STL" as the first line of tinyxml.h.

        UTF-8

        -

        -TinyXML supports UTF-8 allowing to manipulate XML files in any language. TinyXML also supports "legacy mode" - the encoding used before UTF-8 support and probably best described as "extended ascii".

        -Normally, TinyXML will try to detect the correct encoding and use it. However, by setting the value of TIXML_DEFAULT_ENCODING in the header file, TinyXML can be forced to always use one encoding.

        -TinyXML will assume Legacy Mode until one of the following occurs:

          +

          TinyXML supports UTF-8 allowing to manipulate XML files in any language. TinyXML also supports "legacy mode" - the encoding used before UTF-8 support and probably best described as "extended ascii".

          +

          Normally, TinyXML will try to detect the correct encoding and use it. However, by setting the value of TIXML_DEFAULT_ENCODING in the header file, TinyXML can be forced to always use one encoding.

          +

          TinyXML will assume Legacy Mode until one of the following occurs:

          +
          1. If the non-standard but common "UTF-8 lead bytes" (0xef 0xbb 0xbf) begin the file or data stream, TinyXML will read it as UTF-8.
          2. @@ -81,75 +77,86 @@ If the declaration tag is read, and it has an encoding="something else", then Ti
          3. Until one of the above criteria is met, TinyXML runs in Legacy Mode.
          -

          -What happens if the encoding is incorrectly set or detected? TinyXML will try to read and pass through text seen as improperly encoded. You may get some strange results or mangled characters. You may want to force TinyXML to the correct mode.

          -You may force TinyXML to Legacy Mode by using LoadFile( TIXML_ENCODING_LEGACY ) or LoadFile( filename, TIXML_ENCODING_LEGACY ). You may force it to use legacy mode all the time by setting TIXML_DEFAULT_ENCODING = TIXML_ENCODING_LEGACY. Likewise, you may force it to TIXML_ENCODING_UTF8 with the same technique.

          -For English users, using English XML, UTF-8 is the same as low-ASCII. You don't need to be aware of UTF-8 or change your code in any way. You can think of UTF-8 as a "superset" of ASCII.

          -UTF-8 is not a double byte format - but it is a standard encoding of Unicode! TinyXML does not use or directly support wchar, TCHAR, or Microsoft's _UNICODE at this time. It is common to see the term "Unicode" improperly refer to UTF-16, a wide byte encoding of unicode. This is a source of confusion.

          -For "high-ascii" languages - everything not English, pretty much - TinyXML can handle all languages, at the same time, as long as the XML is encoded in UTF-8. That can be a little tricky, older programs and operating systems tend to use the "default" or "traditional" code page. Many apps (and almost all modern ones) can output UTF-8, but older or stubborn (or just broken) ones still output text in the default code page.

          -For example, Japanese systems traditionally use SHIFT-JIS encoding. Text encoded as SHIFT-JIS can not be read by TinyXML. A good text editor can import SHIFT-JIS and then save as UTF-8.

          -The Skew.org link does a great job covering the encoding issue.

          -The test file "utf8test.xml" is an XML containing English, Spanish, Russian, and Simplified Chinese. (Hopefully they are translated correctly). The file "utf8test.gif" is a screen capture of the XML file, rendered in IE. Note that if you don't have the correct fonts (Simplified Chinese or Russian) on your system, you won't see output that matches the GIF file even if you can parse it correctly. Also note that (at least on my Windows machine) console output is in a Western code page, so that Print() or printf() cannot correctly display the file. This is not a bug in TinyXML - just an OS issue. No data is lost or destroyed by TinyXML. The console just doesn't render UTF-8.

          +

          What happens if the encoding is incorrectly set or detected? TinyXML will try to read and pass through text seen as improperly encoded. You may get some strange results or mangled characters. You may want to force TinyXML to the correct mode.

          +

          You may force TinyXML to Legacy Mode by using LoadFile( TIXML_ENCODING_LEGACY ) or LoadFile( filename, TIXML_ENCODING_LEGACY ). You may force it to use legacy mode all the time by setting TIXML_DEFAULT_ENCODING = TIXML_ENCODING_LEGACY. Likewise, you may force it to TIXML_ENCODING_UTF8 with the same technique.

          +

          For English users, using English XML, UTF-8 is the same as low-ASCII. You don't need to be aware of UTF-8 or change your code in any way. You can think of UTF-8 as a "superset" of ASCII.

          +

          UTF-8 is not a double byte format - but it is a standard encoding of Unicode! TinyXML does not use or directly support wchar, TCHAR, or Microsoft's _UNICODE at this time. It is common to see the term "Unicode" improperly refer to UTF-16, a wide byte encoding of unicode. This is a source of confusion.

          +

          For "high-ascii" languages - everything not English, pretty much - TinyXML can handle all languages, at the same time, as long as the XML is encoded in UTF-8. That can be a little tricky, older programs and operating systems tend to use the "default" or "traditional" code page. Many apps (and almost all modern ones) can output UTF-8, but older or stubborn (or just broken) ones still output text in the default code page.

          +

          For example, Japanese systems traditionally use SHIFT-JIS encoding. Text encoded as SHIFT-JIS can not be read by TinyXML. A good text editor can import SHIFT-JIS and then save as UTF-8.

          +

          The Skew.org link does a great job covering the encoding issue.

          +

          The test file "utf8test.xml" is an XML containing English, Spanish, Russian, and Simplified Chinese. (Hopefully they are translated correctly). The file "utf8test.gif" is a screen capture of the XML file, rendered in IE. Note that if you don't have the correct fonts (Simplified Chinese or Russian) on your system, you won't see output that matches the GIF file even if you can parse it correctly. Also note that (at least on my Windows machine) console output is in a Western code page, so that Print() or printf() cannot correctly display the file. This is not a bug in TinyXML - just an OS issue. No data is lost or destroyed by TinyXML. The console just doesn't render UTF-8.

          Entities

          -

          -TinyXML recognizes the pre-defined "character entities", meaning special characters. Namely:

          -

          	&amp;	&
          +

          TinyXML recognizes the pre-defined "character entities", meaning special characters. Namely:

          +
          +	&amp;	&
           	&lt;	<
           	&gt;	>
           	&quot;	"
           	&apos;	'
          -

          -These are recognized when the XML document is read, and translated to there UTF-8 equivalents. For instance, text with the XML of:

          -

          	Far &amp; Away
          -

          -will have the Value() of "Far & Away" when queried from the TiXmlText object, and will be written back to the XML stream/file as an ampersand. Older versions of TinyXML "preserved" character entities, but the newer versions will translate them into characters.

          -Additionally, any character can be specified by its Unicode code point: The syntax "&#xA0;" or "&#160;" are both to the non-breaking space characher.

          +

          These are recognized when the XML document is read, and translated to there UTF-8 equivalents. For instance, text with the XML of:

          +
          +	Far &amp; Away
          +

          will have the Value() of "Far & Away" when queried from the TiXmlText object, and will be written back to the XML stream/file as an ampersand. Older versions of TinyXML "preserved" character entities, but the newer versions will translate them into characters.

          +

          Additionally, any character can be specified by its Unicode code point: The syntax "&#xA0;" or "&#160;" are both to the non-breaking space characher.

          Printing

          -

          -TinyXML can print output in several different ways that all have strengths and limitations.

          +

          TinyXML can print output in several different ways that all have strengths and limitations.

          • Print( FILE* ). Output to a std-C stream, which includes all C files as well as stdout.
              -
            • "Pretty prints", but you don't have control over printing options.
            • The output is streamed directly to the FILE object, so there is no memory overhead in the TinyXML code.
            • used by Print() and SaveFile()
            -
          -

          +

        1. "Pretty prints", but you don't have control over printing options.
        2. +
        3. The output is streamed directly to the FILE object, so there is no memory overhead in the TinyXML code.
        4. +
        5. used by Print() and SaveFile()
        6. +
      +
    • +
    • operator<<. Output to a c++ stream.
        -
      • Integrates with standart C++ iostreams.
      • Outputs in "network printing" mode without line breaks. Good for network transmission and moving XML between C++ objects, but hard for a human to read.
      -
    -

    +

  • Integrates with standart C++ iostreams.
  • +
  • Outputs in "network printing" mode without line breaks. Good for network transmission and moving XML between C++ objects, but hard for a human to read.
  • + + +
      -
    • TiXmlPrinter. Output to a std::string or memory buffer.
        -
      • API is less concise
      • Future printing options will be put here.
      • Printing may change slightly in future versions as it is refined and expanded.
      -
    -

    +

  • TiXmlPrinter. Output to a std::string or memory buffer.
      +
    • API is less concise
    • +
    • Future printing options will be put here.
    • +
    • Printing may change slightly in future versions as it is refined and expanded.
    • +
    +
  • +

    Streams

    -

    -With TIXML_USE_STL on TinyXML supports C++ streams (operator <<,>>) streams as well as C (FILE*) streams. There are some differences that you may need to be aware of.

    -C style output:

      -
    • based on FILE*
    • the Print() and SaveFile() methods
    -

    -Generates formatted output, with plenty of white space, intended to be as human-readable as possible. They are very fast, and tolerant of ill formed XML documents. For example, an XML document that contains 2 root elements and 2 declarations, will still print.

    -C style input:

      -
    • based on FILE*
    • the Parse() and LoadFile() methods
    -

    -A fast, tolerant read. Use whenever you don't need the C++ streams.

    -C++ style output:

      -
    • based on std::ostream
    • operator<<
    -

    -Generates condensed output, intended for network transmission rather than readability. Depending on your system's implementation of the ostream class, these may be somewhat slower. (Or may not.) Not tolerant of ill formed XML: a document should contain the correct one root element. Additional root level elements will not be streamed out.

    -C++ style input:

      -
    • based on std::istream
    • operator>>
    -

    -Reads XML from a stream, making it useful for network transmission. The tricky part is knowing when the XML document is complete, since there will almost certainly be other data in the stream. TinyXML will assume the XML data is complete after it reads the root element. Put another way, documents that are ill-constructed with more than one root element will not read correctly. Also note that operator>> is somewhat slower than Parse, due to both implementation of the STL and limitations of TinyXML.

    +

    With TIXML_USE_STL on TinyXML supports C++ streams (operator <<,>>) streams as well as C (FILE*) streams. There are some differences that you may need to be aware of.

    +

    C style output:

    +
      +
    • based on FILE*
    • +
    • the Print() and SaveFile() methods
    • +
    +

    Generates formatted output, with plenty of white space, intended to be as human-readable as possible. They are very fast, and tolerant of ill formed XML documents. For example, an XML document that contains 2 root elements and 2 declarations, will still print.

    +

    C style input:

    +
      +
    • based on FILE*
    • +
    • the Parse() and LoadFile() methods
    • +
    +

    A fast, tolerant read. Use whenever you don't need the C++ streams.

    +

    C++ style output:

    +
      +
    • based on std::ostream
    • +
    • operator<<
    • +
    +

    Generates condensed output, intended for network transmission rather than readability. Depending on your system's implementation of the ostream class, these may be somewhat slower. (Or may not.) Not tolerant of ill formed XML: a document should contain the correct one root element. Additional root level elements will not be streamed out.

    +

    C++ style input:

    +
      +
    • based on std::istream
    • +
    • operator>>
    • +
    +

    Reads XML from a stream, making it useful for network transmission. The tricky part is knowing when the XML document is complete, since there will almost certainly be other data in the stream. TinyXML will assume the XML data is complete after it reads the root element. Put another way, documents that are ill-constructed with more than one root element will not read correctly. Also note that operator>> is somewhat slower than Parse, due to both implementation of the STL and limitations of TinyXML.

    White space

    -

    -The world simply does not agree on whether white space should be kept, or condensed. For example, pretend the '_' is a space, and look at "Hello____world". HTML, and at least some XML parsers, will interpret this as "Hello_world". They condense white space. Some XML parsers do not, and will leave it as "Hello____world". (Remember to keep pretending the _ is a space.) Others suggest that __Hello___world__ should become Hello___world.

    -It's an issue that hasn't been resolved to my satisfaction. TinyXML supports the first 2 approaches. Call TiXmlBase::SetCondenseWhiteSpace( bool ) to set the desired behavior. The default is to condense white space.

    -If you change the default, you should call TiXmlBase::SetCondenseWhiteSpace( bool ) before making any calls to Parse XML data, and I don't recommend changing it after it has been set.

    +

    The world simply does not agree on whether white space should be kept, or condensed. For example, pretend the '_' is a space, and look at "Hello____world". HTML, and at least some XML parsers, will interpret this as "Hello_world". They condense white space. Some XML parsers do not, and will leave it as "Hello____world". (Remember to keep pretending the _ is a space.) Others suggest that __Hello___world__ should become Hello___world.

    +

    It's an issue that hasn't been resolved to my satisfaction. TinyXML supports the first 2 approaches. Call TiXmlBase::SetCondenseWhiteSpace( bool ) to set the desired behavior. The default is to condense white space.

    +

    If you change the default, you should call TiXmlBase::SetCondenseWhiteSpace( bool ) before making any calls to Parse XML data, and I don't recommend changing it after it has been set.

    Handles

    -

    -Where browsing an XML document in a robust way, it is important to check for null returns from method calls. An error safe implementation can generate a lot of code like:

    -

    TiXmlElement* root = document.FirstChildElement( "Document" );
    +

    Where browsing an XML document in a robust way, it is important to check for null returns from method calls. An error safe implementation can generate a lot of code like:

    +
    +TiXmlElement* root = document.FirstChildElement( "Document" );
     if ( root )
     {
     	TiXmlElement* element = root->FirstChildElement( "Element" );
    @@ -162,26 +169,22 @@ if ( root )
     			if ( child2 )
     			{
     				// Finally do something useful.
    -

    -Handles have been introduced to clean this up. Using the TiXmlHandle class, the previous code reduces to:

    -

    TiXmlHandle docHandle( &document );
    +

    Handles have been introduced to clean this up. Using the TiXmlHandle class, the previous code reduces to:

    +
    +TiXmlHandle docHandle( &document );
     TiXmlElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", 1 ).ToElement();
     if ( child2 )
     {
     	// do something useful
    -

    -Which is much easier to deal with. See TiXmlHandle for more information.

    +

    Which is much easier to deal with. See TiXmlHandle for more information.

    Row and Column tracking

    -

    -Being able to track nodes and attributes back to their origin location in source files can be very important for some applications. Additionally, knowing where parsing errors occured in the original source can be very time saving.

    -TinyXML can tracks the row and column origin of all nodes and attributes in a text file. The TiXmlBase::Row() and TiXmlBase::Column() methods return the origin of the node in the source text. The correct tabs can be configured in TiXmlDocument::SetTabSize().

    +

    Being able to track nodes and attributes back to their origin location in source files can be very important for some applications. Additionally, knowing where parsing errors occured in the original source can be very time saving.

    +

    TinyXML can tracks the row and column origin of all nodes and attributes in a text file. The TiXmlBase::Row() and TiXmlBase::Column() methods return the origin of the node in the source text. The correct tabs can be configured in TiXmlDocument::SetTabSize().

    Using and Installing

    -

    -To Compile and Run xmltest:

    -A Linux Makefile and a Windows Visual C++ .dsw file is provided. Simply compile and run. It will write the file demotest.xml to your disk and generate output on the screen. It also tests walking the DOM by printing out the number of nodes found using different techniques.

    -The Linux makefile is very generic and runs on many systems - it is currently tested on mingw and MacOSX. You do not need to run 'make depend'. The dependecies have been hard coded.

    +

    To Compile and Run xmltest:

    +

    A Linux Makefile and a Windows Visual C++ .dsw file is provided. Simply compile and run. It will write the file demotest.xml to your disk and generate output on the screen. It also tests walking the DOM by printing out the number of nodes found using different techniques.

    +

    The Linux makefile is very generic and runs on many systems - it is currently tested on mingw and MacOSX. You do not need to run 'make depend'. The dependecies have been hard coded.

    Windows project file for VC6

    -

    • tinyxml: tinyxml library, non-STL
    • @@ -192,49 +195,49 @@ tinyXmlTest: test app, non-STL
    • tinyXmlTestSTL: test app, STL
    -

    Makefile

    -

    -At the top of the makefile you can set:

    -PROFILE, DEBUG, and TINYXML_USE_STL. Details (such that they are) are in the makefile.

    -In the tinyxml directory, type "make clean" then "make". The executable file 'xmltest' will be created.

    +

    At the top of the makefile you can set:

    +

    PROFILE, DEBUG, and TINYXML_USE_STL. Details (such that they are) are in the makefile.

    +

    In the tinyxml directory, type "make clean" then "make". The executable file 'xmltest' will be created.

    To Use in an Application:

    -

    -Add tinyxml.cpp, tinyxml.h, tinyxmlerror.cpp, tinyxmlparser.cpp, tinystr.cpp, and tinystr.h to your project or make file. That's it! It should compile on any reasonably compliant C++ system. You do not need to enable exceptions or RTTI for TinyXML.

    +

    Add tinyxml.cpp, tinyxml.h, tinyxmlerror.cpp, tinyxmlparser.cpp, tinystr.cpp, and tinystr.h to your project or make file. That's it! It should compile on any reasonably compliant C++ system. You do not need to enable exceptions or RTTI for TinyXML.

    How TinyXML works.

    -

    -An example is probably the best way to go. Take:

    	<?xml version="1.0" standalone=no>
    +

    An example is probably the best way to go. Take:

    +
    +	<?xml version="1.0" standalone=no>
     	<!-- Our to do list data -->
     	<ToDo>
     		<Item priority="1"> Go to the <bold>Toy store!</bold></Item>
     		<Item priority="2"> Do bills</Item>
     	</ToDo>
    -

    -Its not much of a To Do list, but it will do. To read this file (say "demo.xml") you would create a document, and parse it in:

    	TiXmlDocument doc( "demo.xml" );
    +

    Its not much of a To Do list, but it will do. To read this file (say "demo.xml") you would create a document, and parse it in:

    +
    +	TiXmlDocument doc( "demo.xml" );
     	doc.LoadFile();
    -

    -And its ready to go. Now lets look at some lines and how they relate to the DOM.

    -

    <?xml version="1.0" standalone=no>
    -

    -The first line is a declaration, and gets turned into the TiXmlDeclaration class. It will be the first child of the document node.

    -This is the only directive/special tag parsed by by TinyXML. Generally directive tags are stored in TiXmlUnknown so the commands wont be lost when it is saved back to disk.

    -

    <!-- Our to do list data -->
    -

    -A comment. Will become a TiXmlComment object.

    -

    <ToDo>
    -

    -The "ToDo" tag defines a TiXmlElement object. This one does not have any attributes, but does contain 2 other elements.

    -

    <Item priority="1"> 
    -

    -Creates another TiXmlElement which is a child of the "ToDo" element. This element has 1 attribute, with the name "priority" and the value "1".

    -

    Go to the
    -

    -A TiXmlText. This is a leaf node and cannot contain other nodes. It is a child of the "Item" TiXmlElement.

    -

    <bold>
    -

    -Another TiXmlElement, this one a child of the "Item" element.

    -Etc.

    -Looking at the entire object tree, you end up with:

    TiXmlDocument					"demo.xml"
    +

    And its ready to go. Now lets look at some lines and how they relate to the DOM.

    +
    +<?xml version="1.0" standalone=no>
    +

    The first line is a declaration, and gets turned into the TiXmlDeclaration class. It will be the first child of the document node.

    +

    This is the only directive/special tag parsed by TinyXML. Generally directive tags are stored in TiXmlUnknown so the commands wont be lost when it is saved back to disk.

    +
    +<!-- Our to do list data -->
    +

    A comment. Will become a TiXmlComment object.

    +
    +<ToDo>
    +

    The "ToDo" tag defines a TiXmlElement object. This one does not have any attributes, but does contain 2 other elements.

    +
    +<Item priority="1"> 
    +

    Creates another TiXmlElement which is a child of the "ToDo" element. This element has 1 attribute, with the name "priority" and the value "1".

    +
    +Go to the
    +

    A TiXmlText. This is a leaf node and cannot contain other nodes. It is a child of the "Item" TiXmlElement.

    +
    +<bold>
    +

    Another TiXmlElement, this one a child of the "Item" element.

    +

    Etc.

    +

    Looking at the entire object tree, you end up with:

    +
    +TiXmlDocument					"demo.xml"
     	TiXmlDeclaration			"version='1.0'" "standalone=no"
     	TiXmlComment				" Our to do list data"
     	TiXmlElement				"ToDo"
    @@ -244,32 +247,29 @@ Looking at the entire object tree, you end up with: 

    -

    Documentation

    -

    -The documentation is build with Doxygen, using the 'dox' configuration file.

    +

    Documentation

    +

    The documentation is build with Doxygen, using the 'dox' configuration file.

    License

    -

    -TinyXML is released under the zlib license:

    -This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

    -Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

    -1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.

    -2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

    -3. This notice may not be removed or altered from any source distribution.

    +

    TinyXML is released under the zlib license:

    +

    This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

    +

    Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

    +

    1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.

    +

    2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

    +

    3. This notice may not be removed or altered from any source distribution.

    References

    -

    -The World Wide Web Consortium is the definitive standard body for XML, and there web pages contain huge amounts of information.

    -The definitive spec: http://www.w3.org/TR/2004/REC-xml-20040204/

    -I also recommend "XML Pocket Reference" by Robert Eckstein and published by OReilly...the book that got the whole thing started.

    +

    The World Wide Web Consortium is the definitive standard body for XML, and their web pages contain huge amounts of information.

    +

    The definitive spec: http://www.w3.org/TR/2004/REC-xml-20040204/

    +

    I also recommend "XML Pocket Reference" by Robert Eckstein and published by OReilly...the book that got the whole thing started.

    Contributors, Contacts, and a Brief History

    -

    -Thanks very much to everyone who sends suggestions, bugs, ideas, and encouragement. It all helps, and makes this project fun. A special thanks to the contributors on the web pages that keep it lively.

    -So many people have sent in bugs and ideas, that rather than list here we try to give credit due in the "changes.txt" file.

    -TinyXML was originally written by Lee Thomason. (Often the "I" still in the documentation.) Lee reviews changes and releases new versions, with the help of Yves Berquin, Andrew Ellerton, and the tinyXml community.

    -We appreciate your suggestions, and would love to know if you use TinyXML. Hopefully you will enjoy it and find it useful. Please post questions, comments, file bugs, or contact us at:

    -www.sourceforge.net/projects/tinyxml

    -Lee Thomason, Yves Berquin, Andrew Ellerton


    Generated on Sun May 6 15:41:22 2007 for TinyXml by  +

    Thanks very much to everyone who sends suggestions, bugs, ideas, and encouragement. It all helps, and makes this project fun. A special thanks to the contributors on the web pages that keep it lively.

    +

    So many people have sent in bugs and ideas, that rather than list here we try to give credit due in the "changes.txt" file.

    +

    TinyXML was originally written by Lee Thomason. (Often the "I" still in the documentation.) Lee reviews changes and releases new versions, with the help of Yves Berquin, Andrew Ellerton, and the tinyXml community.

    +

    We appreciate your suggestions, and would love to know if you use TinyXML. Hopefully you will enjoy it and find it useful. Please post questions, comments, file bugs, or contact us at:

    +

    www.sourceforge.net/projects/tinyxml

    +

    Lee Thomason, Yves Berquin, Andrew Ellerton

    +
    +
    Generated by  -doxygen 1.4.7
    +doxygen 1.6.2
    diff --git a/shared/tinyxml/docs/pages.html b/shared/tinyxml/docs/pages.html index b23a328b..14a96596 100644 --- a/shared/tinyxml/docs/pages.html +++ b/shared/tinyxml/docs/pages.html @@ -1,23 +1,31 @@ - - + + + + TinyXml: Page Index - - - - - -

    TinyXml Related Pages

    Here is a list of all related documentation pages:
      + + + + + + +
      +

      Related Pages

      Here is a list of all related documentation pages: -
      Generated on Sun May 6 15:41:23 2007 for TinyXml by  +
      +
      Generated by  -doxygen 1.4.7
      +doxygen 1.6.2
      diff --git a/shared/tinyxml/docs/tabs.css b/shared/tinyxml/docs/tabs.css index a61552a6..a4441634 100644 --- a/shared/tinyxml/docs/tabs.css +++ b/shared/tinyxml/docs/tabs.css @@ -32,7 +32,7 @@ DIV.tabs A float : left; background : url("tab_r.gif") no-repeat right top; border-bottom : 1px solid #84B0C7; - font-size : x-small; + font-size : 80%; font-weight : bold; text-decoration : none; } @@ -57,7 +57,7 @@ DIV.tabs SPAN white-space : nowrap; } -DIV.tabs INPUT +DIV.tabs #MSearchBox { float : right; display : inline; @@ -66,7 +66,7 @@ DIV.tabs INPUT DIV.tabs TD { - font-size : x-small; + font-size : 80%; font-weight : bold; text-decoration : none; } @@ -82,21 +82,24 @@ DIV.tabs A:hover SPAN background-position: 0% -150px; } -DIV.tabs LI#current A +DIV.tabs LI.current A { background-position: 100% -150px; border-width : 0px; } -DIV.tabs LI#current SPAN +DIV.tabs LI.current SPAN { background-position: 0% -150px; padding-bottom : 6px; } -DIV.nav +DIV.navpath { background : none; border : none; border-bottom : 1px solid #84B0C7; + text-align : center; + margin : 2px; + padding : 2px; } diff --git a/shared/tinyxml/docs/tinystr_8h-source.html b/shared/tinyxml/docs/tinystr_8h-source.html deleted file mode 100644 index 71408eed..00000000 --- a/shared/tinyxml/docs/tinystr_8h-source.html +++ /dev/null @@ -1,338 +0,0 @@ - - -TinyXml: tinystr.h Source File - - - - - -

      tinystr.h

      00001 /*
      -00002 www.sourceforge.net/projects/tinyxml
      -00003 Original file by Yves Berquin.
      -00004 
      -00005 This software is provided 'as-is', without any express or implied
      -00006 warranty. In no event will the authors be held liable for any
      -00007 damages arising from the use of this software.
      -00008 
      -00009 Permission is granted to anyone to use this software for any
      -00010 purpose, including commercial applications, and to alter it and
      -00011 redistribute it freely, subject to the following restrictions:
      -00012 
      -00013 1. The origin of this software must not be misrepresented; you must
      -00014 not claim that you wrote the original software. If you use this
      -00015 software in a product, an acknowledgment in the product documentation
      -00016 would be appreciated but is not required.
      -00017 
      -00018 2. Altered source versions must be plainly marked as such, and
      -00019 must not be misrepresented as being the original software.
      -00020 
      -00021 3. This notice may not be removed or altered from any source
      -00022 distribution.
      -00023 */
      -00024 
      -00025 /*
      -00026  * THIS FILE WAS ALTERED BY Tyge Lovset, 7. April 2005.
      -00027  *
      -00028  * - completely rewritten. compact, clean, and fast implementation.
      -00029  * - sizeof(TiXmlString) = pointer size (4 bytes on 32-bit systems)
      -00030  * - fixed reserve() to work as per specification.
      -00031  * - fixed buggy compares operator==(), operator<(), and operator>()
      -00032  * - fixed operator+=() to take a const ref argument, following spec.
      -00033  * - added "copy" constructor with length, and most compare operators.
      -00034  * - added swap(), clear(), size(), capacity(), operator+().
      -00035  */
      -00036 
      -00037 #ifndef TIXML_USE_STL
      -00038 
      -00039 #ifndef TIXML_STRING_INCLUDED
      -00040 #define TIXML_STRING_INCLUDED
      -00041 
      -00042 #include <assert.h>
      -00043 #include <string.h>
      -00044 
      -00045 /*  The support for explicit isn't that universal, and it isn't really
      -00046     required - it is used to check that the TiXmlString class isn't incorrectly
      -00047     used. Be nice to old compilers and macro it here:
      -00048 */
      -00049 #if defined(_MSC_VER) && (_MSC_VER >= 1200 )
      -00050     // Microsoft visual studio, version 6 and higher.
      -00051     #define TIXML_EXPLICIT explicit
      -00052 #elif defined(__GNUC__) && (__GNUC__ >= 3 )
      -00053     // GCC version 3 and higher.s
      -00054     #define TIXML_EXPLICIT explicit
      -00055 #else
      -00056     #define TIXML_EXPLICIT
      -00057 #endif
      -00058 
      -00059 
      -00060 /*
      -00061    TiXmlString is an emulation of a subset of the std::string template.
      -00062    Its purpose is to allow compiling TinyXML on compilers with no or poor STL support.
      -00063    Only the member functions relevant to the TinyXML project have been implemented.
      -00064    The buffer allocation is made by a simplistic power of 2 like mechanism : if we increase
      -00065    a string and there's no more room, we allocate a buffer twice as big as we need.
      -00066 */
      -00067 class TiXmlString
      -00068 {
      -00069   public :
      -00070     // The size type used
      -00071     typedef size_t size_type;
      -00072 
      -00073     // Error value for find primitive
      -00074     static const size_type npos; // = -1;
      -00075 
      -00076 
      -00077     // TiXmlString empty constructor
      -00078     TiXmlString () : rep_(&nullrep_)
      -00079     {
      -00080     }
      -00081 
      -00082     // TiXmlString copy constructor
      -00083     TiXmlString ( const TiXmlString & copy) : rep_(0)
      -00084     {
      -00085         init(copy.length());
      -00086         memcpy(start(), copy.data(), length());
      -00087     }
      -00088 
      -00089     // TiXmlString constructor, based on a string
      -00090     TIXML_EXPLICIT TiXmlString ( const char * copy) : rep_(0)
      -00091     {
      -00092         init( static_cast<size_type>( strlen(copy) ));
      -00093         memcpy(start(), copy, length());
      -00094     }
      -00095 
      -00096     // TiXmlString constructor, based on a string
      -00097     TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(0)
      -00098     {
      -00099         init(len);
      -00100         memcpy(start(), str, len);
      -00101     }
      -00102 
      -00103     // TiXmlString destructor
      -00104     ~TiXmlString ()
      -00105     {
      -00106         quit();
      -00107     }
      -00108 
      -00109     // = operator
      -00110     TiXmlString& operator = (const char * copy)
      -00111     {
      -00112         return assign( copy, (size_type)strlen(copy));
      -00113     }
      -00114 
      -00115     // = operator
      -00116     TiXmlString& operator = (const TiXmlString & copy)
      -00117     {
      -00118         return assign(copy.start(), copy.length());
      -00119     }
      -00120 
      -00121 
      -00122     // += operator. Maps to append
      -00123     TiXmlString& operator += (const char * suffix)
      -00124     {
      -00125         return append(suffix, static_cast<size_type>( strlen(suffix) ));
      -00126     }
      -00127 
      -00128     // += operator. Maps to append
      -00129     TiXmlString& operator += (char single)
      -00130     {
      -00131         return append(&single, 1);
      -00132     }
      -00133 
      -00134     // += operator. Maps to append
      -00135     TiXmlString& operator += (const TiXmlString & suffix)
      -00136     {
      -00137         return append(suffix.data(), suffix.length());
      -00138     }
      -00139 
      -00140 
      -00141     // Convert a TiXmlString into a null-terminated char *
      -00142     const char * c_str () const { return rep_->str; }
      -00143 
      -00144     // Convert a TiXmlString into a char * (need not be null terminated).
      -00145     const char * data () const { return rep_->str; }
      -00146 
      -00147     // Return the length of a TiXmlString
      -00148     size_type length () const { return rep_->size; }
      -00149 
      -00150     // Alias for length()
      -00151     size_type size () const { return rep_->size; }
      -00152 
      -00153     // Checks if a TiXmlString is empty
      -00154     bool empty () const { return rep_->size == 0; }
      -00155 
      -00156     // Return capacity of string
      -00157     size_type capacity () const { return rep_->capacity; }
      -00158 
      -00159 
      -00160     // single char extraction
      -00161     const char& at (size_type index) const
      -00162     {
      -00163         assert( index < length() );
      -00164         return rep_->str[ index ];
      -00165     }
      -00166 
      -00167     // [] operator
      -00168     char& operator [] (size_type index) const
      -00169     {
      -00170         assert( index < length() );
      -00171         return rep_->str[ index ];
      -00172     }
      -00173 
      -00174     // find a char in a string. Return TiXmlString::npos if not found
      -00175     size_type find (char lookup) const
      -00176     {
      -00177         return find(lookup, 0);
      -00178     }
      -00179 
      -00180     // find a char in a string from an offset. Return TiXmlString::npos if not found
      -00181     size_type find (char tofind, size_type offset) const
      -00182     {
      -00183         if (offset >= length()) return npos;
      -00184 
      -00185         for (const char* p = c_str() + offset; *p != '\0'; ++p)
      -00186         {
      -00187            if (*p == tofind) return static_cast< size_type >( p - c_str() );
      -00188         }
      -00189         return npos;
      -00190     }
      -00191 
      -00192     void clear ()
      -00193     {
      -00194         //Lee:
      -00195         //The original was just too strange, though correct:
      -00196         //  TiXmlString().swap(*this);
      -00197         //Instead use the quit & re-init:
      -00198         quit();
      -00199         init(0,0);
      -00200     }
      -00201 
      -00202     /*  Function to reserve a big amount of data when we know we'll need it. Be aware that this
      -00203         function DOES NOT clear the content of the TiXmlString if any exists.
      -00204     */
      -00205     void reserve (size_type cap);
      -00206 
      -00207     TiXmlString& assign (const char* str, size_type len);
      -00208 
      -00209     TiXmlString& append (const char* str, size_type len);
      -00210 
      -00211     void swap (TiXmlString& other)
      -00212     {
      -00213         Rep* r = rep_;
      -00214         rep_ = other.rep_;
      -00215         other.rep_ = r;
      -00216     }
      -00217 
      -00218   private:
      -00219 
      -00220     void init(size_type sz) { init(sz, sz); }
      -00221     void set_size(size_type sz) { rep_->str[ rep_->size = sz ] = '\0'; }
      -00222     char* start() const { return rep_->str; }
      -00223     char* finish() const { return rep_->str + rep_->size; }
      -00224 
      -00225     struct Rep
      -00226     {
      -00227         size_type size, capacity;
      -00228         char str[1];
      -00229     };
      -00230 
      -00231     void init(size_type sz, size_type cap)
      -00232     {
      -00233         if (cap)
      -00234         {
      -00235             // Lee: the original form:
      -00236             //  rep_ = static_cast<Rep*>(operator new(sizeof(Rep) + cap));
      -00237             // doesn't work in some cases of new being overloaded. Switching
      -00238             // to the normal allocation, although use an 'int' for systems
      -00239             // that are overly picky about structure alignment.
      -00240             const size_type bytesNeeded = sizeof(Rep) + cap;
      -00241             const size_type intsNeeded = ( bytesNeeded + sizeof(int) - 1 ) / sizeof( int ); 
      -00242             rep_ = reinterpret_cast<Rep*>( new int[ intsNeeded ] );
      -00243 
      -00244             rep_->str[ rep_->size = sz ] = '\0';
      -00245             rep_->capacity = cap;
      -00246         }
      -00247         else
      -00248         {
      -00249             rep_ = &nullrep_;
      -00250         }
      -00251     }
      -00252 
      -00253     void quit()
      -00254     {
      -00255         if (rep_ != &nullrep_)
      -00256         {
      -00257             // The rep_ is really an array of ints. (see the allocator, above).
      -00258             // Cast it back before delete, so the compiler won't incorrectly call destructors.
      -00259             delete [] ( reinterpret_cast<int*>( rep_ ) );
      -00260         }
      -00261     }
      -00262 
      -00263     Rep * rep_;
      -00264     static Rep nullrep_;
      -00265 
      -00266 } ;
      -00267 
      -00268 
      -00269 inline bool operator == (const TiXmlString & a, const TiXmlString & b)
      -00270 {
      -00271     return    ( a.length() == b.length() )              // optimization on some platforms
      -00272            && ( strcmp(a.c_str(), b.c_str()) == 0 );    // actual compare
      -00273 }
      -00274 inline bool operator < (const TiXmlString & a, const TiXmlString & b)
      -00275 {
      -00276     return strcmp(a.c_str(), b.c_str()) < 0;
      -00277 }
      -00278 
      -00279 inline bool operator != (const TiXmlString & a, const TiXmlString & b) { return !(a == b); }
      -00280 inline bool operator >  (const TiXmlString & a, const TiXmlString & b) { return b < a; }
      -00281 inline bool operator <= (const TiXmlString & a, const TiXmlString & b) { return !(b < a); }
      -00282 inline bool operator >= (const TiXmlString & a, const TiXmlString & b) { return !(a < b); }
      -00283 
      -00284 inline bool operator == (const TiXmlString & a, const char* b) { return strcmp(a.c_str(), b) == 0; }
      -00285 inline bool operator == (const char* a, const TiXmlString & b) { return b == a; }
      -00286 inline bool operator != (const TiXmlString & a, const char* b) { return !(a == b); }
      -00287 inline bool operator != (const char* a, const TiXmlString & b) { return !(b == a); }
      -00288 
      -00289 TiXmlString operator + (const TiXmlString & a, const TiXmlString & b);
      -00290 TiXmlString operator + (const TiXmlString & a, const char* b);
      -00291 TiXmlString operator + (const char* a, const TiXmlString & b);
      -00292 
      -00293 
      -00294 /*
      -00295    TiXmlOutStream is an emulation of std::ostream. It is based on TiXmlString.
      -00296    Only the operators that we need for TinyXML have been developped.
      -00297 */
      -00298 class TiXmlOutStream : public TiXmlString
      -00299 {
      -00300 public :
      -00301 
      -00302     // TiXmlOutStream << operator.
      -00303     TiXmlOutStream & operator << (const TiXmlString & in)
      -00304     {
      -00305         *this += in;
      -00306         return *this;
      -00307     }
      -00308 
      -00309     // TiXmlOutStream << operator.
      -00310     TiXmlOutStream & operator << (const char * in)
      -00311     {
      -00312         *this += in;
      -00313         return *this;
      -00314     }
      -00315 
      -00316 } ;
      -00317 
      -00318 #endif  // TIXML_STRING_INCLUDED
      -00319 #endif  // TIXML_USE_STL
      -

      Generated on Sun May 6 15:41:22 2007 for TinyXml by  - -doxygen 1.4.7
      - - diff --git a/shared/tinyxml/docs/tinystr_8h_source.html b/shared/tinyxml/docs/tinystr_8h_source.html new file mode 100644 index 00000000..eddeda87 --- /dev/null +++ b/shared/tinyxml/docs/tinystr_8h_source.html @@ -0,0 +1,349 @@ + + + + +TinyXml: tinystr.h Source File + + + + + + +
      Generated by  + +doxygen 1.6.2
      + + diff --git a/shared/tinyxml/docs/tinyxml_8h-source.html b/shared/tinyxml/docs/tinyxml_8h-source.html deleted file mode 100644 index 135da9ce..00000000 --- a/shared/tinyxml/docs/tinyxml_8h-source.html +++ /dev/null @@ -1,1201 +0,0 @@ - - -TinyXml: tinyxml.h Source File - - - - - -

      tinyxml.h

      00001 /*
      -00002 www.sourceforge.net/projects/tinyxml
      -00003 Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com)
      -00004 
      -00005 This software is provided 'as-is', without any express or implied
      -00006 warranty. In no event will the authors be held liable for any
      -00007 damages arising from the use of this software.
      -00008 
      -00009 Permission is granted to anyone to use this software for any
      -00010 purpose, including commercial applications, and to alter it and
      -00011 redistribute it freely, subject to the following restrictions:
      -00012 
      -00013 1. The origin of this software must not be misrepresented; you must
      -00014 not claim that you wrote the original software. If you use this
      -00015 software in a product, an acknowledgment in the product documentation
      -00016 would be appreciated but is not required.
      -00017 
      -00018 2. Altered source versions must be plainly marked as such, and
      -00019 must not be misrepresented as being the original software.
      -00020 
      -00021 3. This notice may not be removed or altered from any source
      -00022 distribution.
      -00023 */
      -00024 
      -00025 
      -00026 #ifndef TINYXML_INCLUDED
      -00027 #define TINYXML_INCLUDED
      -00028 
      -00029 #ifdef _MSC_VER
      -00030 #pragma warning( push )
      -00031 #pragma warning( disable : 4530 )
      -00032 #pragma warning( disable : 4786 )
      -00033 #endif
      -00034 
      -00035 #include <ctype.h>
      -00036 #include <stdio.h>
      -00037 #include <stdlib.h>
      -00038 #include <string.h>
      -00039 #include <assert.h>
      -00040 
      -00041 // Help out windows:
      -00042 #if defined( _DEBUG ) && !defined( DEBUG )
      -00043 #define DEBUG
      -00044 #endif
      -00045 
      -00046 #ifdef TIXML_USE_STL
      -00047     #include <string>
      -00048     #include <iostream>
      -00049     #include <sstream>
      -00050     #define TIXML_STRING        std::string
      -00051 #else
      -00052     #include "tinystr.h"
      -00053     #define TIXML_STRING        TiXmlString
      -00054 #endif
      -00055 
      -00056 // Deprecated library function hell. Compilers want to use the
      -00057 // new safe versions. This probably doesn't fully address the problem,
      -00058 // but it gets closer. There are too many compilers for me to fully
      -00059 // test. If you get compilation troubles, undefine TIXML_SAFE
      -00060 #define TIXML_SAFE
      -00061 
      -00062 #ifdef TIXML_SAFE
      -00063     #if defined(_MSC_VER) && (_MSC_VER >= 1400 )
      -00064         // Microsoft visual studio, version 2005 and higher.
      -00065         #define TIXML_SNPRINTF _snprintf_s
      -00066         #define TIXML_SNSCANF  _snscanf_s
      -00067         #define TIXML_SSCANF   sscanf_s
      -00068     #elif defined(_MSC_VER) && (_MSC_VER >= 1200 )
      -00069         // Microsoft visual studio, version 6 and higher.
      -00070         //#pragma message( "Using _sn* functions." )
      -00071         #define TIXML_SNPRINTF _snprintf
      -00072         #define TIXML_SNSCANF  _snscanf
      -00073         #define TIXML_SSCANF   sscanf
      -00074     #elif defined(__GNUC__) && (__GNUC__ >= 3 )
      -00075         // GCC version 3 and higher.s
      -00076         //#warning( "Using sn* functions." )
      -00077         #define TIXML_SNPRINTF snprintf
      -00078         #define TIXML_SNSCANF  snscanf
      -00079         #define TIXML_SSCANF   sscanf
      -00080     #else
      -00081         #define TIXML_SSCANF   sscanf
      -00082     #endif
      -00083 #endif  
      -00084 
      -00085 class TiXmlDocument;
      -00086 class TiXmlElement;
      -00087 class TiXmlComment;
      -00088 class TiXmlUnknown;
      -00089 class TiXmlAttribute;
      -00090 class TiXmlText;
      -00091 class TiXmlDeclaration;
      -00092 class TiXmlParsingData;
      -00093 
      -00094 const int TIXML_MAJOR_VERSION = 2;
      -00095 const int TIXML_MINOR_VERSION = 5;
      -00096 const int TIXML_PATCH_VERSION = 3;
      -00097 
      -00098 /*  Internal structure for tracking location of items 
      -00099     in the XML file.
      -00100 */
      -00101 struct TiXmlCursor
      -00102 {
      -00103     TiXmlCursor()       { Clear(); }
      -00104     void Clear()        { row = col = -1; }
      -00105 
      -00106     int row;    // 0 based.
      -00107     int col;    // 0 based.
      -00108 };
      -00109 
      -00110 
      -00129 class TiXmlVisitor
      -00130 {
      -00131 public:
      -00132     virtual ~TiXmlVisitor() {}
      -00133 
      -00135     virtual bool VisitEnter( const TiXmlDocument& /*doc*/ )         { return true; }
      -00137     virtual bool VisitExit( const TiXmlDocument& /*doc*/ )          { return true; }
      -00138 
      -00140     virtual bool VisitEnter( const TiXmlElement& /*element*/, const TiXmlAttribute* /*firstAttribute*/ )    { return true; }
      -00142     virtual bool VisitExit( const TiXmlElement& /*element*/ )       { return true; }
      -00143 
      -00145     virtual bool Visit( const TiXmlDeclaration& /*declaration*/ )   { return true; }
      -00147     virtual bool Visit( const TiXmlText& /*text*/ )                 { return true; }
      -00149     virtual bool Visit( const TiXmlComment& /*comment*/ )           { return true; }
      -00151     virtual bool Visit( const TiXmlUnknown& /*unknown*/ )           { return true; }
      -00152 };
      -00153 
      -00154 // Only used by Attribute::Query functions
      -00155 enum 
      -00156 { 
      -00157     TIXML_SUCCESS,
      -00158     TIXML_NO_ATTRIBUTE,
      -00159     TIXML_WRONG_TYPE
      -00160 };
      -00161 
      -00162 
      -00163 // Used by the parsing routines.
      -00164 enum TiXmlEncoding
      -00165 {
      -00166     TIXML_ENCODING_UNKNOWN,
      -00167     TIXML_ENCODING_UTF8,
      -00168     TIXML_ENCODING_LEGACY
      -00169 };
      -00170 
      -00171 const TiXmlEncoding TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN;
      -00172 
      -00195 class TiXmlBase
      -00196 {
      -00197     friend class TiXmlNode;
      -00198     friend class TiXmlElement;
      -00199     friend class TiXmlDocument;
      -00200 
      -00201 public:
      -00202     TiXmlBase() :   userData(0)     {}
      -00203     virtual ~TiXmlBase()            {}
      -00204 
      -00214     virtual void Print( FILE* cfile, int depth ) const = 0;
      -00215 
      -00222     static void SetCondenseWhiteSpace( bool condense )      { condenseWhiteSpace = condense; }
      -00223 
      -00225     static bool IsWhiteSpaceCondensed()                     { return condenseWhiteSpace; }
      -00226 
      -00245     int Row() const         { return location.row + 1; }
      -00246     int Column() const      { return location.col + 1; }    
      -00247 
      -00248     void  SetUserData( void* user )         { userData = user; }    
      -00249     void* GetUserData()                     { return userData; }    
      -00250     const void* GetUserData() const         { return userData; }    
      -00251 
      -00252     // Table that returs, for a given lead byte, the total number of bytes
      -00253     // in the UTF-8 sequence.
      -00254     static const int utf8ByteTable[256];
      -00255 
      -00256     virtual const char* Parse(  const char* p, 
      -00257                                 TiXmlParsingData* data, 
      -00258                                 TiXmlEncoding encoding /*= TIXML_ENCODING_UNKNOWN */ ) = 0;
      -00259 
      -00263     static void EncodeString( const TIXML_STRING& str, TIXML_STRING* out );
      -00264 
      -00265     enum
      -00266     {
      -00267         TIXML_NO_ERROR = 0,
      -00268         TIXML_ERROR,
      -00269         TIXML_ERROR_OPENING_FILE,
      -00270         TIXML_ERROR_OUT_OF_MEMORY,
      -00271         TIXML_ERROR_PARSING_ELEMENT,
      -00272         TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME,
      -00273         TIXML_ERROR_READING_ELEMENT_VALUE,
      -00274         TIXML_ERROR_READING_ATTRIBUTES,
      -00275         TIXML_ERROR_PARSING_EMPTY,
      -00276         TIXML_ERROR_READING_END_TAG,
      -00277         TIXML_ERROR_PARSING_UNKNOWN,
      -00278         TIXML_ERROR_PARSING_COMMENT,
      -00279         TIXML_ERROR_PARSING_DECLARATION,
      -00280         TIXML_ERROR_DOCUMENT_EMPTY,
      -00281         TIXML_ERROR_EMBEDDED_NULL,
      -00282         TIXML_ERROR_PARSING_CDATA,
      -00283         TIXML_ERROR_DOCUMENT_TOP_ONLY,
      -00284 
      -00285         TIXML_ERROR_STRING_COUNT
      -00286     };
      -00287 
      -00288 protected:
      -00289 
      -00290     static const char* SkipWhiteSpace( const char*, TiXmlEncoding encoding );
      -00291     inline static bool IsWhiteSpace( char c )       
      -00292     { 
      -00293         return ( isspace( (unsigned char) c ) || c == '\n' || c == '\r' ); 
      -00294     }
      -00295     inline static bool IsWhiteSpace( int c )
      -00296     {
      -00297         if ( c < 256 )
      -00298             return IsWhiteSpace( (char) c );
      -00299         return false;   // Again, only truly correct for English/Latin...but usually works.
      -00300     }
      -00301 
      -00302     #ifdef TIXML_USE_STL
      -00303     static bool StreamWhiteSpace( std::istream * in, TIXML_STRING * tag );
      -00304     static bool StreamTo( std::istream * in, int character, TIXML_STRING * tag );
      -00305     #endif
      -00306 
      -00307     /*  Reads an XML name into the string provided. Returns
      -00308         a pointer just past the last character of the name,
      -00309         or 0 if the function has an error.
      -00310     */
      -00311     static const char* ReadName( const char* p, TIXML_STRING* name, TiXmlEncoding encoding );
      -00312 
      -00313     /*  Reads text. Returns a pointer past the given end tag.
      -00314         Wickedly complex options, but it keeps the (sensitive) code in one place.
      -00315     */
      -00316     static const char* ReadText(    const char* in,             // where to start
      -00317                                     TIXML_STRING* text,         // the string read
      -00318                                     bool ignoreWhiteSpace,      // whether to keep the white space
      -00319                                     const char* endTag,         // what ends this text
      -00320                                     bool ignoreCase,            // whether to ignore case in the end tag
      -00321                                     TiXmlEncoding encoding );   // the current encoding
      -00322 
      -00323     // If an entity has been found, transform it into a character.
      -00324     static const char* GetEntity( const char* in, char* value, int* length, TiXmlEncoding encoding );
      -00325 
      -00326     // Get a character, while interpreting entities.
      -00327     // The length can be from 0 to 4 bytes.
      -00328     inline static const char* GetChar( const char* p, char* _value, int* length, TiXmlEncoding encoding )
      -00329     {
      -00330         assert( p );
      -00331         if ( encoding == TIXML_ENCODING_UTF8 )
      -00332         {
      -00333             *length = utf8ByteTable[ *((const unsigned char*)p) ];
      -00334             assert( *length >= 0 && *length < 5 );
      -00335         }
      -00336         else
      -00337         {
      -00338             *length = 1;
      -00339         }
      -00340 
      -00341         if ( *length == 1 )
      -00342         {
      -00343             if ( *p == '&' )
      -00344                 return GetEntity( p, _value, length, encoding );
      -00345             *_value = *p;
      -00346             return p+1;
      -00347         }
      -00348         else if ( *length )
      -00349         {
      -00350             //strncpy( _value, p, *length );    // lots of compilers don't like this function (unsafe),
      -00351                                                 // and the null terminator isn't needed
      -00352             for( int i=0; p[i] && i<*length; ++i ) {
      -00353                 _value[i] = p[i];
      -00354             }
      -00355             return p + (*length);
      -00356         }
      -00357         else
      -00358         {
      -00359             // Not valid text.
      -00360             return 0;
      -00361         }
      -00362     }
      -00363 
      -00364     // Return true if the next characters in the stream are any of the endTag sequences.
      -00365     // Ignore case only works for english, and should only be relied on when comparing
      -00366     // to English words: StringEqual( p, "version", true ) is fine.
      -00367     static bool StringEqual(    const char* p,
      -00368                                 const char* endTag,
      -00369                                 bool ignoreCase,
      -00370                                 TiXmlEncoding encoding );
      -00371 
      -00372     static const char* errorString[ TIXML_ERROR_STRING_COUNT ];
      -00373 
      -00374     TiXmlCursor location;
      -00375 
      -00377     void*           userData;
      -00378     
      -00379     // None of these methods are reliable for any language except English.
      -00380     // Good for approximation, not great for accuracy.
      -00381     static int IsAlpha( unsigned char anyByte, TiXmlEncoding encoding );
      -00382     static int IsAlphaNum( unsigned char anyByte, TiXmlEncoding encoding );
      -00383     inline static int ToLower( int v, TiXmlEncoding encoding )
      -00384     {
      -00385         if ( encoding == TIXML_ENCODING_UTF8 )
      -00386         {
      -00387             if ( v < 128 ) return tolower( v );
      -00388             return v;
      -00389         }
      -00390         else
      -00391         {
      -00392             return tolower( v );
      -00393         }
      -00394     }
      -00395     static void ConvertUTF32ToUTF8( unsigned long input, char* output, int* length );
      -00396 
      -00397 private:
      -00398     TiXmlBase( const TiXmlBase& );              // not implemented.
      -00399     void operator=( const TiXmlBase& base );    // not allowed.
      -00400 
      -00401     struct Entity
      -00402     {
      -00403         const char*     str;
      -00404         unsigned int    strLength;
      -00405         char            chr;
      -00406     };
      -00407     enum
      -00408     {
      -00409         NUM_ENTITY = 5,
      -00410         MAX_ENTITY_LENGTH = 6
      -00411 
      -00412     };
      -00413     static Entity entity[ NUM_ENTITY ];
      -00414     static bool condenseWhiteSpace;
      -00415 };
      -00416 
      -00417 
      -00424 class TiXmlNode : public TiXmlBase
      -00425 {
      -00426     friend class TiXmlDocument;
      -00427     friend class TiXmlElement;
      -00428 
      -00429 public:
      -00430     #ifdef TIXML_USE_STL    
      -00431 
      -00435         friend std::istream& operator >> (std::istream& in, TiXmlNode& base);
      -00436 
      -00453         friend std::ostream& operator<< (std::ostream& out, const TiXmlNode& base);
      -00454 
      -00456         friend std::string& operator<< (std::string& out, const TiXmlNode& base );
      -00457 
      -00458     #endif
      -00459 
      -00463     enum NodeType
      -00464     {
      -00465         DOCUMENT,
      -00466         ELEMENT,
      -00467         COMMENT,
      -00468         UNKNOWN,
      -00469         TEXT,
      -00470         DECLARATION,
      -00471         TYPECOUNT
      -00472     };
      -00473 
      -00474     virtual ~TiXmlNode();
      -00475 
      -00488     const char *Value() const { return value.c_str (); }
      -00489 
      -00490     #ifdef TIXML_USE_STL
      -00491 
      -00495     const std::string& ValueStr() const { return value; }
      -00496     #endif
      -00497 
      -00498     const TIXML_STRING& ValueTStr() const { return value; }
      -00499 
      -00509     void SetValue(const char * _value) { value = _value;}
      -00510 
      -00511     #ifdef TIXML_USE_STL
      -00513     void SetValue( const std::string& _value )  { value = _value; }
      -00514     #endif
      -00515 
      -00517     void Clear();
      -00518 
      -00520     TiXmlNode* Parent()                         { return parent; }
      -00521     const TiXmlNode* Parent() const             { return parent; }
      -00522 
      -00523     const TiXmlNode* FirstChild()   const       { return firstChild; }  
      -00524     TiXmlNode* FirstChild()                     { return firstChild; }
      -00525     const TiXmlNode* FirstChild( const char * value ) const;            
      -00526 
      -00527     TiXmlNode* FirstChild( const char * _value ) {
      -00528         // Call through to the const version - safe since nothing is changed. Exiting syntax: cast this to a const (always safe)
      -00529         // call the method, cast the return back to non-const.
      -00530         return const_cast< TiXmlNode* > ((const_cast< const TiXmlNode* >(this))->FirstChild( _value ));
      -00531     }
      -00532     const TiXmlNode* LastChild() const  { return lastChild; }       
      -00533     TiXmlNode* LastChild()  { return lastChild; }
      -00534     
      -00535     const TiXmlNode* LastChild( const char * value ) const;         
      -00536     TiXmlNode* LastChild( const char * _value ) {
      -00537         return const_cast< TiXmlNode* > ((const_cast< const TiXmlNode* >(this))->LastChild( _value ));
      -00538     }
      -00539 
      -00540     #ifdef TIXML_USE_STL
      -00541     const TiXmlNode* FirstChild( const std::string& _value ) const  {   return FirstChild (_value.c_str ());    }   
      -00542     TiXmlNode* FirstChild( const std::string& _value )              {   return FirstChild (_value.c_str ());    }   
      -00543     const TiXmlNode* LastChild( const std::string& _value ) const   {   return LastChild (_value.c_str ()); }   
      -00544     TiXmlNode* LastChild( const std::string& _value )               {   return LastChild (_value.c_str ()); }   
      -00545     #endif
      -00546 
      -00563     const TiXmlNode* IterateChildren( const TiXmlNode* previous ) const;
      -00564     TiXmlNode* IterateChildren( const TiXmlNode* previous ) {
      -00565         return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->IterateChildren( previous ) );
      -00566     }
      -00567 
      -00569     const TiXmlNode* IterateChildren( const char * value, const TiXmlNode* previous ) const;
      -00570     TiXmlNode* IterateChildren( const char * _value, const TiXmlNode* previous ) {
      -00571         return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->IterateChildren( _value, previous ) );
      -00572     }
      -00573 
      -00574     #ifdef TIXML_USE_STL
      -00575     const TiXmlNode* IterateChildren( const std::string& _value, const TiXmlNode* previous ) const  {   return IterateChildren (_value.c_str (), previous); }   
      -00576     TiXmlNode* IterateChildren( const std::string& _value, const TiXmlNode* previous ) {    return IterateChildren (_value.c_str (), previous); }   
      -00577     #endif
      -00578 
      -00582     TiXmlNode* InsertEndChild( const TiXmlNode& addThis );
      -00583 
      -00584 
      -00594     TiXmlNode* LinkEndChild( TiXmlNode* addThis );
      -00595 
      -00599     TiXmlNode* InsertBeforeChild( TiXmlNode* beforeThis, const TiXmlNode& addThis );
      -00600 
      -00604     TiXmlNode* InsertAfterChild(  TiXmlNode* afterThis, const TiXmlNode& addThis );
      -00605 
      -00609     TiXmlNode* ReplaceChild( TiXmlNode* replaceThis, const TiXmlNode& withThis );
      -00610 
      -00612     bool RemoveChild( TiXmlNode* removeThis );
      -00613 
      -00615     const TiXmlNode* PreviousSibling() const            { return prev; }
      -00616     TiXmlNode* PreviousSibling()                        { return prev; }
      -00617 
      -00619     const TiXmlNode* PreviousSibling( const char * ) const;
      -00620     TiXmlNode* PreviousSibling( const char *_prev ) {
      -00621         return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->PreviousSibling( _prev ) );
      -00622     }
      -00623 
      -00624     #ifdef TIXML_USE_STL
      -00625     const TiXmlNode* PreviousSibling( const std::string& _value ) const {   return PreviousSibling (_value.c_str ());   }   
      -00626     TiXmlNode* PreviousSibling( const std::string& _value )             {   return PreviousSibling (_value.c_str ());   }   
      -00627     const TiXmlNode* NextSibling( const std::string& _value) const      {   return NextSibling (_value.c_str ());   }   
      -00628     TiXmlNode* NextSibling( const std::string& _value)                  {   return NextSibling (_value.c_str ());   }   
      -00629     #endif
      -00630 
      -00632     const TiXmlNode* NextSibling() const                { return next; }
      -00633     TiXmlNode* NextSibling()                            { return next; }
      -00634 
      -00636     const TiXmlNode* NextSibling( const char * ) const;
      -00637     TiXmlNode* NextSibling( const char* _next ) {
      -00638         return const_cast< TiXmlNode* >( (const_cast< const TiXmlNode* >(this))->NextSibling( _next ) );
      -00639     }
      -00640 
      -00645     const TiXmlElement* NextSiblingElement() const;
      -00646     TiXmlElement* NextSiblingElement() {
      -00647         return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->NextSiblingElement() );
      -00648     }
      -00649 
      -00654     const TiXmlElement* NextSiblingElement( const char * ) const;
      -00655     TiXmlElement* NextSiblingElement( const char *_next ) {
      -00656         return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->NextSiblingElement( _next ) );
      -00657     }
      -00658 
      -00659     #ifdef TIXML_USE_STL
      -00660     const TiXmlElement* NextSiblingElement( const std::string& _value) const    {   return NextSiblingElement (_value.c_str ());    }   
      -00661     TiXmlElement* NextSiblingElement( const std::string& _value)                {   return NextSiblingElement (_value.c_str ());    }   
      -00662     #endif
      -00663 
      -00665     const TiXmlElement* FirstChildElement() const;
      -00666     TiXmlElement* FirstChildElement() {
      -00667         return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->FirstChildElement() );
      -00668     }
      -00669 
      -00671     const TiXmlElement* FirstChildElement( const char * _value ) const;
      -00672     TiXmlElement* FirstChildElement( const char * _value ) {
      -00673         return const_cast< TiXmlElement* >( (const_cast< const TiXmlNode* >(this))->FirstChildElement( _value ) );
      -00674     }
      -00675 
      -00676     #ifdef TIXML_USE_STL
      -00677     const TiXmlElement* FirstChildElement( const std::string& _value ) const    {   return FirstChildElement (_value.c_str ()); }   
      -00678     TiXmlElement* FirstChildElement( const std::string& _value )                {   return FirstChildElement (_value.c_str ()); }   
      -00679     #endif
      -00680 
      -00685     int Type() const    { return type; }
      -00686 
      -00690     const TiXmlDocument* GetDocument() const;
      -00691     TiXmlDocument* GetDocument() {
      -00692         return const_cast< TiXmlDocument* >( (const_cast< const TiXmlNode* >(this))->GetDocument() );
      -00693     }
      -00694 
      -00696     bool NoChildren() const                     { return !firstChild; }
      -00697 
      -00698     virtual const TiXmlDocument*    ToDocument()    const { return 0; } 
      -00699     virtual const TiXmlElement*     ToElement()     const { return 0; } 
      -00700     virtual const TiXmlComment*     ToComment()     const { return 0; } 
      -00701     virtual const TiXmlUnknown*     ToUnknown()     const { return 0; } 
      -00702     virtual const TiXmlText*        ToText()        const { return 0; } 
      -00703     virtual const TiXmlDeclaration* ToDeclaration() const { return 0; } 
      -00704 
      -00705     virtual TiXmlDocument*          ToDocument()    { return 0; } 
      -00706     virtual TiXmlElement*           ToElement()     { return 0; } 
      -00707     virtual TiXmlComment*           ToComment()     { return 0; } 
      -00708     virtual TiXmlUnknown*           ToUnknown()     { return 0; } 
      -00709     virtual TiXmlText*              ToText()        { return 0; } 
      -00710     virtual TiXmlDeclaration*       ToDeclaration() { return 0; } 
      -00711 
      -00715     virtual TiXmlNode* Clone() const = 0;
      -00716 
      -00739     virtual bool Accept( TiXmlVisitor* visitor ) const = 0;
      -00740 
      -00741 protected:
      -00742     TiXmlNode( NodeType _type );
      -00743 
      -00744     // Copy to the allocated object. Shared functionality between Clone, Copy constructor,
      -00745     // and the assignment operator.
      -00746     void CopyTo( TiXmlNode* target ) const;
      -00747 
      -00748     #ifdef TIXML_USE_STL
      -00749         // The real work of the input operator.
      -00750     virtual void StreamIn( std::istream* in, TIXML_STRING* tag ) = 0;
      -00751     #endif
      -00752 
      -00753     // Figure out what is at *p, and parse it. Returns null if it is not an xml node.
      -00754     TiXmlNode* Identify( const char* start, TiXmlEncoding encoding );
      -00755 
      -00756     TiXmlNode*      parent;
      -00757     NodeType        type;
      -00758 
      -00759     TiXmlNode*      firstChild;
      -00760     TiXmlNode*      lastChild;
      -00761 
      -00762     TIXML_STRING    value;
      -00763 
      -00764     TiXmlNode*      prev;
      -00765     TiXmlNode*      next;
      -00766 
      -00767 private:
      -00768     TiXmlNode( const TiXmlNode& );              // not implemented.
      -00769     void operator=( const TiXmlNode& base );    // not allowed.
      -00770 };
      -00771 
      -00772 
      -00780 class TiXmlAttribute : public TiXmlBase
      -00781 {
      -00782     friend class TiXmlAttributeSet;
      -00783 
      -00784 public:
      -00786     TiXmlAttribute() : TiXmlBase()
      -00787     {
      -00788         document = 0;
      -00789         prev = next = 0;
      -00790     }
      -00791 
      -00792     #ifdef TIXML_USE_STL
      -00794     TiXmlAttribute( const std::string& _name, const std::string& _value )
      -00795     {
      -00796         name = _name;
      -00797         value = _value;
      -00798         document = 0;
      -00799         prev = next = 0;
      -00800     }
      -00801     #endif
      -00802 
      -00804     TiXmlAttribute( const char * _name, const char * _value )
      -00805     {
      -00806         name = _name;
      -00807         value = _value;
      -00808         document = 0;
      -00809         prev = next = 0;
      -00810     }
      -00811 
      -00812     const char*     Name()  const       { return name.c_str(); }        
      -00813     const char*     Value() const       { return value.c_str(); }       
      -00814     #ifdef TIXML_USE_STL
      -00815     const std::string& ValueStr() const { return value; }               
      -00816     #endif
      -00817     int             IntValue() const;                                   
      -00818     double          DoubleValue() const;                                
      -00819 
      -00820     // Get the tinyxml string representation
      -00821     const TIXML_STRING& NameTStr() const { return name; }
      -00822 
      -00832     int QueryIntValue( int* _value ) const;
      -00834     int QueryDoubleValue( double* _value ) const;
      -00835 
      -00836     void SetName( const char* _name )   { name = _name; }               
      -00837     void SetValue( const char* _value ) { value = _value; }             
      -00838 
      -00839     void SetIntValue( int _value );                                     
      -00840     void SetDoubleValue( double _value );                               
      -00841 
      -00842     #ifdef TIXML_USE_STL
      -00844     void SetName( const std::string& _name )    { name = _name; }   
      -00846     void SetValue( const std::string& _value )  { value = _value; }
      -00847     #endif
      -00848 
      -00850     const TiXmlAttribute* Next() const;
      -00851     TiXmlAttribute* Next() {
      -00852         return const_cast< TiXmlAttribute* >( (const_cast< const TiXmlAttribute* >(this))->Next() ); 
      -00853     }
      -00854 
      -00856     const TiXmlAttribute* Previous() const;
      -00857     TiXmlAttribute* Previous() {
      -00858         return const_cast< TiXmlAttribute* >( (const_cast< const TiXmlAttribute* >(this))->Previous() ); 
      -00859     }
      -00860 
      -00861     bool operator==( const TiXmlAttribute& rhs ) const { return rhs.name == name; }
      -00862     bool operator<( const TiXmlAttribute& rhs )  const { return name < rhs.name; }
      -00863     bool operator>( const TiXmlAttribute& rhs )  const { return name > rhs.name; }
      -00864 
      -00865     /*  Attribute parsing starts: first letter of the name
      -00866                          returns: the next char after the value end quote
      -00867     */
      -00868     virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding );
      -00869 
      -00870     // Prints this Attribute to a FILE stream.
      -00871     virtual void Print( FILE* cfile, int depth ) const {
      -00872         Print( cfile, depth, 0 );
      -00873     }
      -00874     void Print( FILE* cfile, int depth, TIXML_STRING* str ) const;
      -00875 
      -00876     // [internal use]
      -00877     // Set the document pointer so the attribute can report errors.
      -00878     void SetDocument( TiXmlDocument* doc )  { document = doc; }
      -00879 
      -00880 private:
      -00881     TiXmlAttribute( const TiXmlAttribute& );                // not implemented.
      -00882     void operator=( const TiXmlAttribute& base );   // not allowed.
      -00883 
      -00884     TiXmlDocument*  document;   // A pointer back to a document, for error reporting.
      -00885     TIXML_STRING name;
      -00886     TIXML_STRING value;
      -00887     TiXmlAttribute* prev;
      -00888     TiXmlAttribute* next;
      -00889 };
      -00890 
      -00891 
      -00892 /*  A class used to manage a group of attributes.
      -00893     It is only used internally, both by the ELEMENT and the DECLARATION.
      -00894     
      -00895     The set can be changed transparent to the Element and Declaration
      -00896     classes that use it, but NOT transparent to the Attribute
      -00897     which has to implement a next() and previous() method. Which makes
      -00898     it a bit problematic and prevents the use of STL.
      -00899 
      -00900     This version is implemented with circular lists because:
      -00901         - I like circular lists
      -00902         - it demonstrates some independence from the (typical) doubly linked list.
      -00903 */
      -00904 class TiXmlAttributeSet
      -00905 {
      -00906 public:
      -00907     TiXmlAttributeSet();
      -00908     ~TiXmlAttributeSet();
      -00909 
      -00910     void Add( TiXmlAttribute* attribute );
      -00911     void Remove( TiXmlAttribute* attribute );
      -00912 
      -00913     const TiXmlAttribute* First()   const   { return ( sentinel.next == &sentinel ) ? 0 : sentinel.next; }
      -00914     TiXmlAttribute* First()                 { return ( sentinel.next == &sentinel ) ? 0 : sentinel.next; }
      -00915     const TiXmlAttribute* Last() const      { return ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; }
      -00916     TiXmlAttribute* Last()                  { return ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; }
      -00917 
      -00918     const TiXmlAttribute*   Find( const char* _name ) const;
      -00919     TiXmlAttribute* Find( const char* _name ) {
      -00920         return const_cast< TiXmlAttribute* >( (const_cast< const TiXmlAttributeSet* >(this))->Find( _name ) );
      -00921     }
      -00922     #ifdef TIXML_USE_STL
      -00923     const TiXmlAttribute*   Find( const std::string& _name ) const;
      -00924     TiXmlAttribute* Find( const std::string& _name ) {
      -00925         return const_cast< TiXmlAttribute* >( (const_cast< const TiXmlAttributeSet* >(this))->Find( _name ) );
      -00926     }
      -00927 
      -00928     #endif
      -00929 
      -00930 private:
      -00931     //*ME:  Because of hidden/disabled copy-construktor in TiXmlAttribute (sentinel-element),
      -00932     //*ME:  this class must be also use a hidden/disabled copy-constructor !!!
      -00933     TiXmlAttributeSet( const TiXmlAttributeSet& );  // not allowed
      -00934     void operator=( const TiXmlAttributeSet& ); // not allowed (as TiXmlAttribute)
      -00935 
      -00936     TiXmlAttribute sentinel;
      -00937 };
      -00938 
      -00939 
      -00944 class TiXmlElement : public TiXmlNode
      -00945 {
      -00946 public:
      -00948     TiXmlElement (const char * in_value);
      -00949 
      -00950     #ifdef TIXML_USE_STL
      -00952     TiXmlElement( const std::string& _value );
      -00953     #endif
      -00954 
      -00955     TiXmlElement( const TiXmlElement& );
      -00956 
      -00957     void operator=( const TiXmlElement& base );
      -00958 
      -00959     virtual ~TiXmlElement();
      -00960 
      -00964     const char* Attribute( const char* name ) const;
      -00965 
      -00972     const char* Attribute( const char* name, int* i ) const;
      -00973 
      -00980     const char* Attribute( const char* name, double* d ) const;
      -00981 
      -00989     int QueryIntAttribute( const char* name, int* _value ) const;
      -00991     int QueryDoubleAttribute( const char* name, double* _value ) const;
      -00993     int QueryFloatAttribute( const char* name, float* _value ) const {
      -00994         double d;
      -00995         int result = QueryDoubleAttribute( name, &d );
      -00996         if ( result == TIXML_SUCCESS ) {
      -00997             *_value = (float)d;
      -00998         }
      -00999         return result;
      -01000     }
      -01001 
      -01002     #ifdef TIXML_USE_STL
      -01003 
      -01011     template< typename T > int QueryValueAttribute( const std::string& name, T* outValue ) const
      -01012     {
      -01013         const TiXmlAttribute* node = attributeSet.Find( name );
      -01014         if ( !node )
      -01015             return TIXML_NO_ATTRIBUTE;
      -01016 
      -01017         std::stringstream sstream( node->ValueStr() );
      -01018         sstream >> *outValue;
      -01019         if ( !sstream.fail() )
      -01020             return TIXML_SUCCESS;
      -01021         return TIXML_WRONG_TYPE;
      -01022     }
      -01023     /*
      -01024      This is - in theory - a bug fix for "QueryValueAtribute returns truncated std::string"
      -01025      but template specialization is hard to get working cross-compiler. Leaving the bug for now.
      -01026      
      -01027     // The above will fail for std::string because the space character is used as a seperator.
      -01028     // Specialize for strings. Bug [ 1695429 ] QueryValueAtribute returns truncated std::string
      -01029     template<> int QueryValueAttribute( const std::string& name, std::string* outValue ) const
      -01030     {
      -01031         const TiXmlAttribute* node = attributeSet.Find( name );
      -01032         if ( !node )
      -01033             return TIXML_NO_ATTRIBUTE;
      -01034         *outValue = node->ValueStr();
      -01035         return TIXML_SUCCESS;
      -01036     }
      -01037     */
      -01038     #endif
      -01039 
      -01043     void SetAttribute( const char* name, const char * _value );
      -01044 
      -01045     #ifdef TIXML_USE_STL
      -01046     const std::string* Attribute( const std::string& name ) const;
      -01047     const std::string* Attribute( const std::string& name, int* i ) const;
      -01048     const std::string* Attribute( const std::string& name, double* d ) const;
      -01049     int QueryIntAttribute( const std::string& name, int* _value ) const;
      -01050     int QueryDoubleAttribute( const std::string& name, double* _value ) const;
      -01051 
      -01053     void SetAttribute( const std::string& name, const std::string& _value );
      -01055     void SetAttribute( const std::string& name, int _value );
      -01056     #endif
      -01057 
      -01061     void SetAttribute( const char * name, int value );
      -01062 
      -01066     void SetDoubleAttribute( const char * name, double value );
      -01067 
      -01070     void RemoveAttribute( const char * name );
      -01071     #ifdef TIXML_USE_STL
      -01072     void RemoveAttribute( const std::string& name ) {   RemoveAttribute (name.c_str ());    }   
      -01073     #endif
      -01074 
      -01075     const TiXmlAttribute* FirstAttribute() const    { return attributeSet.First(); }        
      -01076     TiXmlAttribute* FirstAttribute()                { return attributeSet.First(); }
      -01077     const TiXmlAttribute* LastAttribute()   const   { return attributeSet.Last(); }     
      -01078     TiXmlAttribute* LastAttribute()                 { return attributeSet.Last(); }
      -01079 
      -01112     const char* GetText() const;
      -01113 
      -01115     virtual TiXmlNode* Clone() const;
      -01116     // Print the Element to a FILE stream.
      -01117     virtual void Print( FILE* cfile, int depth ) const;
      -01118 
      -01119     /*  Attribtue parsing starts: next char past '<'
      -01120                          returns: next char past '>'
      -01121     */
      -01122     virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding );
      -01123 
      -01124     virtual const TiXmlElement*     ToElement()     const { return this; } 
      -01125     virtual TiXmlElement*           ToElement()           { return this; } 
      -01126 
      -01129     virtual bool Accept( TiXmlVisitor* visitor ) const;
      -01130 
      -01131 protected:
      -01132 
      -01133     void CopyTo( TiXmlElement* target ) const;
      -01134     void ClearThis();   // like clear, but initializes 'this' object as well
      -01135 
      -01136     // Used to be public [internal use]
      -01137     #ifdef TIXML_USE_STL
      -01138     virtual void StreamIn( std::istream * in, TIXML_STRING * tag );
      -01139     #endif
      -01140     /*  [internal use]
      -01141         Reads the "value" of the element -- another element, or text.
      -01142         This should terminate with the current end tag.
      -01143     */
      -01144     const char* ReadValue( const char* in, TiXmlParsingData* prevData, TiXmlEncoding encoding );
      -01145 
      -01146 private:
      -01147 
      -01148     TiXmlAttributeSet attributeSet;
      -01149 };
      -01150 
      -01151 
      -01154 class TiXmlComment : public TiXmlNode
      -01155 {
      -01156 public:
      -01158     TiXmlComment() : TiXmlNode( TiXmlNode::COMMENT ) {}
      -01160     TiXmlComment( const char* _value ) : TiXmlNode( TiXmlNode::COMMENT ) {
      -01161         SetValue( _value );
      -01162     }
      -01163     TiXmlComment( const TiXmlComment& );
      -01164     void operator=( const TiXmlComment& base );
      -01165 
      -01166     virtual ~TiXmlComment() {}
      -01167 
      -01169     virtual TiXmlNode* Clone() const;
      -01170     // Write this Comment to a FILE stream.
      -01171     virtual void Print( FILE* cfile, int depth ) const;
      -01172 
      -01173     /*  Attribtue parsing starts: at the ! of the !--
      -01174                          returns: next char past '>'
      -01175     */
      -01176     virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding );
      -01177 
      -01178     virtual const TiXmlComment*  ToComment() const { return this; } 
      -01179     virtual TiXmlComment*  ToComment() { return this; } 
      -01180 
      -01183     virtual bool Accept( TiXmlVisitor* visitor ) const;
      -01184 
      -01185 protected:
      -01186     void CopyTo( TiXmlComment* target ) const;
      -01187 
      -01188     // used to be public
      -01189     #ifdef TIXML_USE_STL
      -01190     virtual void StreamIn( std::istream * in, TIXML_STRING * tag );
      -01191     #endif
      -01192 //  virtual void StreamOut( TIXML_OSTREAM * out ) const;
      -01193 
      -01194 private:
      -01195 
      -01196 };
      -01197 
      -01198 
      -01204 class TiXmlText : public TiXmlNode
      -01205 {
      -01206     friend class TiXmlElement;
      -01207 public:
      -01212     TiXmlText (const char * initValue ) : TiXmlNode (TiXmlNode::TEXT)
      -01213     {
      -01214         SetValue( initValue );
      -01215         cdata = false;
      -01216     }
      -01217     virtual ~TiXmlText() {}
      -01218 
      -01219     #ifdef TIXML_USE_STL
      -01221     TiXmlText( const std::string& initValue ) : TiXmlNode (TiXmlNode::TEXT)
      -01222     {
      -01223         SetValue( initValue );
      -01224         cdata = false;
      -01225     }
      -01226     #endif
      -01227 
      -01228     TiXmlText( const TiXmlText& copy ) : TiXmlNode( TiXmlNode::TEXT )   { copy.CopyTo( this ); }
      -01229     void operator=( const TiXmlText& base )                             { base.CopyTo( this ); }
      -01230 
      -01231     // Write this text object to a FILE stream.
      -01232     virtual void Print( FILE* cfile, int depth ) const;
      -01233 
      -01235     bool CDATA() const              { return cdata; }
      -01237     void SetCDATA( bool _cdata )    { cdata = _cdata; }
      -01238 
      -01239     virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding );
      -01240 
      -01241     virtual const TiXmlText* ToText() const { return this; } 
      -01242     virtual TiXmlText*       ToText()       { return this; } 
      -01243 
      -01246     virtual bool Accept( TiXmlVisitor* content ) const;
      -01247 
      -01248 protected :
      -01250     virtual TiXmlNode* Clone() const;
      -01251     void CopyTo( TiXmlText* target ) const;
      -01252 
      -01253     bool Blank() const; // returns true if all white space and new lines
      -01254     // [internal use]
      -01255     #ifdef TIXML_USE_STL
      -01256     virtual void StreamIn( std::istream * in, TIXML_STRING * tag );
      -01257     #endif
      -01258 
      -01259 private:
      -01260     bool cdata;         // true if this should be input and output as a CDATA style text element
      -01261 };
      -01262 
      -01263 
      -01277 class TiXmlDeclaration : public TiXmlNode
      -01278 {
      -01279 public:
      -01281     TiXmlDeclaration()   : TiXmlNode( TiXmlNode::DECLARATION ) {}
      -01282 
      -01283 #ifdef TIXML_USE_STL
      -01285     TiXmlDeclaration(   const std::string& _version,
      -01286                         const std::string& _encoding,
      -01287                         const std::string& _standalone );
      -01288 #endif
      -01289 
      -01291     TiXmlDeclaration(   const char* _version,
      -01292                         const char* _encoding,
      -01293                         const char* _standalone );
      -01294 
      -01295     TiXmlDeclaration( const TiXmlDeclaration& copy );
      -01296     void operator=( const TiXmlDeclaration& copy );
      -01297 
      -01298     virtual ~TiXmlDeclaration() {}
      -01299 
      -01301     const char *Version() const         { return version.c_str (); }
      -01303     const char *Encoding() const        { return encoding.c_str (); }
      -01305     const char *Standalone() const      { return standalone.c_str (); }
      -01306 
      -01308     virtual TiXmlNode* Clone() const;
      -01309     // Print this declaration to a FILE stream.
      -01310     virtual void Print( FILE* cfile, int depth, TIXML_STRING* str ) const;
      -01311     virtual void Print( FILE* cfile, int depth ) const {
      -01312         Print( cfile, depth, 0 );
      -01313     }
      -01314 
      -01315     virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding );
      -01316 
      -01317     virtual const TiXmlDeclaration* ToDeclaration() const { return this; } 
      -01318     virtual TiXmlDeclaration*       ToDeclaration()       { return this; } 
      -01319 
      -01322     virtual bool Accept( TiXmlVisitor* visitor ) const;
      -01323 
      -01324 protected:
      -01325     void CopyTo( TiXmlDeclaration* target ) const;
      -01326     // used to be public
      -01327     #ifdef TIXML_USE_STL
      -01328     virtual void StreamIn( std::istream * in, TIXML_STRING * tag );
      -01329     #endif
      -01330 
      -01331 private:
      -01332 
      -01333     TIXML_STRING version;
      -01334     TIXML_STRING encoding;
      -01335     TIXML_STRING standalone;
      -01336 };
      -01337 
      -01338 
      -01346 class TiXmlUnknown : public TiXmlNode
      -01347 {
      -01348 public:
      -01349     TiXmlUnknown() : TiXmlNode( TiXmlNode::UNKNOWN )    {}
      -01350     virtual ~TiXmlUnknown() {}
      -01351 
      -01352     TiXmlUnknown( const TiXmlUnknown& copy ) : TiXmlNode( TiXmlNode::UNKNOWN )      { copy.CopyTo( this ); }
      -01353     void operator=( const TiXmlUnknown& copy )                                      { copy.CopyTo( this ); }
      -01354 
      -01356     virtual TiXmlNode* Clone() const;
      -01357     // Print this Unknown to a FILE stream.
      -01358     virtual void Print( FILE* cfile, int depth ) const;
      -01359 
      -01360     virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding );
      -01361 
      -01362     virtual const TiXmlUnknown*     ToUnknown()     const { return this; } 
      -01363     virtual TiXmlUnknown*           ToUnknown()     { return this; } 
      -01364 
      -01367     virtual bool Accept( TiXmlVisitor* content ) const;
      -01368 
      -01369 protected:
      -01370     void CopyTo( TiXmlUnknown* target ) const;
      -01371 
      -01372     #ifdef TIXML_USE_STL
      -01373     virtual void StreamIn( std::istream * in, TIXML_STRING * tag );
      -01374     #endif
      -01375 
      -01376 private:
      -01377 
      -01378 };
      -01379 
      -01380 
      -01385 class TiXmlDocument : public TiXmlNode
      -01386 {
      -01387 public:
      -01389     TiXmlDocument();
      -01391     TiXmlDocument( const char * documentName );
      -01392 
      -01393     #ifdef TIXML_USE_STL
      -01395     TiXmlDocument( const std::string& documentName );
      -01396     #endif
      -01397 
      -01398     TiXmlDocument( const TiXmlDocument& copy );
      -01399     void operator=( const TiXmlDocument& copy );
      -01400 
      -01401     virtual ~TiXmlDocument() {}
      -01402 
      -01407     bool LoadFile( TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING );
      -01409     bool SaveFile() const;
      -01411     bool LoadFile( const char * filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING );
      -01413     bool SaveFile( const char * filename ) const;
      -01419     bool LoadFile( FILE*, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING );
      -01421     bool SaveFile( FILE* ) const;
      -01422 
      -01423     #ifdef TIXML_USE_STL
      -01424     bool LoadFile( const std::string& filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING )           
      -01425     {
      -01426 //      StringToBuffer f( filename );
      -01427 //      return ( f.buffer && LoadFile( f.buffer, encoding ));
      -01428         return LoadFile( filename.c_str(), encoding );
      -01429     }
      -01430     bool SaveFile( const std::string& filename ) const      
      -01431     {
      -01432 //      StringToBuffer f( filename );
      -01433 //      return ( f.buffer && SaveFile( f.buffer ));
      -01434         return SaveFile( filename.c_str() );
      -01435     }
      -01436     #endif
      -01437 
      -01442     virtual const char* Parse( const char* p, TiXmlParsingData* data = 0, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING );
      -01443 
      -01448     const TiXmlElement* RootElement() const     { return FirstChildElement(); }
      -01449     TiXmlElement* RootElement()                 { return FirstChildElement(); }
      -01450 
      -01456     bool Error() const                      { return error; }
      -01457 
      -01459     const char * ErrorDesc() const  { return errorDesc.c_str (); }
      -01460 
      -01464     int ErrorId()   const               { return errorId; }
      -01465 
      -01473     int ErrorRow() const    { return errorLocation.row+1; }
      -01474     int ErrorCol() const    { return errorLocation.col+1; } 
      -01475 
      -01500     void SetTabSize( int _tabsize )     { tabsize = _tabsize; }
      -01501 
      -01502     int TabSize() const { return tabsize; }
      -01503 
      -01507     void ClearError()                       {   error = false; 
      -01508                                                 errorId = 0; 
      -01509                                                 errorDesc = ""; 
      -01510                                                 errorLocation.row = errorLocation.col = 0; 
      -01511                                                 //errorLocation.last = 0; 
      -01512                                             }
      -01513 
      -01515     void Print() const                      { Print( stdout, 0 ); }
      -01516 
      -01517     /* Write the document to a string using formatted printing ("pretty print"). This
      -01518         will allocate a character array (new char[]) and return it as a pointer. The
      -01519         calling code pust call delete[] on the return char* to avoid a memory leak.
      -01520     */
      -01521     //char* PrintToMemory() const; 
      -01522 
      -01524     virtual void Print( FILE* cfile, int depth = 0 ) const;
      -01525     // [internal use]
      -01526     void SetError( int err, const char* errorLocation, TiXmlParsingData* prevData, TiXmlEncoding encoding );
      -01527 
      -01528     virtual const TiXmlDocument*    ToDocument()    const { return this; } 
      -01529     virtual TiXmlDocument*          ToDocument()          { return this; } 
      -01530 
      -01533     virtual bool Accept( TiXmlVisitor* content ) const;
      -01534 
      -01535 protected :
      -01536     // [internal use]
      -01537     virtual TiXmlNode* Clone() const;
      -01538     #ifdef TIXML_USE_STL
      -01539     virtual void StreamIn( std::istream * in, TIXML_STRING * tag );
      -01540     #endif
      -01541 
      -01542 private:
      -01543     void CopyTo( TiXmlDocument* target ) const;
      -01544 
      -01545     bool error;
      -01546     int  errorId;
      -01547     TIXML_STRING errorDesc;
      -01548     int tabsize;
      -01549     TiXmlCursor errorLocation;
      -01550     bool useMicrosoftBOM;       // the UTF-8 BOM were found when read. Note this, and try to write.
      -01551 };
      -01552 
      -01553 
      -01634 class TiXmlHandle
      -01635 {
      -01636 public:
      -01638     TiXmlHandle( TiXmlNode* _node )                 { this->node = _node; }
      -01640     TiXmlHandle( const TiXmlHandle& ref )           { this->node = ref.node; }
      -01641     TiXmlHandle operator=( const TiXmlHandle& ref ) { this->node = ref.node; return *this; }
      -01642 
      -01644     TiXmlHandle FirstChild() const;
      -01646     TiXmlHandle FirstChild( const char * value ) const;
      -01648     TiXmlHandle FirstChildElement() const;
      -01650     TiXmlHandle FirstChildElement( const char * value ) const;
      -01651 
      -01655     TiXmlHandle Child( const char* value, int index ) const;
      -01659     TiXmlHandle Child( int index ) const;
      -01664     TiXmlHandle ChildElement( const char* value, int index ) const;
      -01669     TiXmlHandle ChildElement( int index ) const;
      -01670 
      -01671     #ifdef TIXML_USE_STL
      -01672     TiXmlHandle FirstChild( const std::string& _value ) const               { return FirstChild( _value.c_str() ); }
      -01673     TiXmlHandle FirstChildElement( const std::string& _value ) const        { return FirstChildElement( _value.c_str() ); }
      -01674 
      -01675     TiXmlHandle Child( const std::string& _value, int index ) const         { return Child( _value.c_str(), index ); }
      -01676     TiXmlHandle ChildElement( const std::string& _value, int index ) const  { return ChildElement( _value.c_str(), index ); }
      -01677     #endif
      -01678 
      -01681     TiXmlNode* ToNode() const           { return node; } 
      -01684     TiXmlElement* ToElement() const     { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); }
      -01687     TiXmlText* ToText() const           { return ( ( node && node->ToText() ) ? node->ToText() : 0 ); }
      -01690     TiXmlUnknown* ToUnknown() const     { return ( ( node && node->ToUnknown() ) ? node->ToUnknown() : 0 ); }
      -01691 
      -01695     TiXmlNode* Node() const         { return ToNode(); } 
      -01699     TiXmlElement* Element() const   { return ToElement(); }
      -01703     TiXmlText* Text() const         { return ToText(); }
      -01707     TiXmlUnknown* Unknown() const   { return ToUnknown(); }
      -01708 
      -01709 private:
      -01710     TiXmlNode* node;
      -01711 };
      -01712 
      -01713 
      -01733 class TiXmlPrinter : public TiXmlVisitor
      -01734 {
      -01735 public:
      -01736     TiXmlPrinter() : depth( 0 ), simpleTextPrint( false ),
      -01737                      buffer(), indent( "    " ), lineBreak( "\n" ) {}
      -01738 
      -01739     virtual bool VisitEnter( const TiXmlDocument& doc );
      -01740     virtual bool VisitExit( const TiXmlDocument& doc );
      -01741 
      -01742     virtual bool VisitEnter( const TiXmlElement& element, const TiXmlAttribute* firstAttribute );
      -01743     virtual bool VisitExit( const TiXmlElement& element );
      -01744 
      -01745     virtual bool Visit( const TiXmlDeclaration& declaration );
      -01746     virtual bool Visit( const TiXmlText& text );
      -01747     virtual bool Visit( const TiXmlComment& comment );
      -01748     virtual bool Visit( const TiXmlUnknown& unknown );
      -01749 
      -01753     void SetIndent( const char* _indent )           { indent = _indent ? _indent : "" ; }
      -01755     const char* Indent()                            { return indent.c_str(); }
      -01760     void SetLineBreak( const char* _lineBreak )     { lineBreak = _lineBreak ? _lineBreak : ""; }
      -01762     const char* LineBreak()                         { return lineBreak.c_str(); }
      -01763 
      -01767     void SetStreamPrinting()                        { indent = "";
      -01768                                                       lineBreak = "";
      -01769                                                     }   
      -01771     const char* CStr()                              { return buffer.c_str(); }
      -01773     size_t Size()                                   { return buffer.size(); }
      -01774 
      -01775     #ifdef TIXML_USE_STL
      -01777     const std::string& Str()                        { return buffer; }
      -01778     #endif
      -01779 
      -01780 private:
      -01781     void DoIndent() {
      -01782         for( int i=0; i<depth; ++i )
      -01783             buffer += indent;
      -01784     }
      -01785     void DoLineBreak() {
      -01786         buffer += lineBreak;
      -01787     }
      -01788 
      -01789     int depth;
      -01790     bool simpleTextPrint;
      -01791     TIXML_STRING buffer;
      -01792     TIXML_STRING indent;
      -01793     TIXML_STRING lineBreak;
      -01794 };
      -01795 
      -01796 
      -01797 #ifdef _MSC_VER
      -01798 #pragma warning( pop )
      -01799 #endif
      -01800 
      -01801 #endif
      -01802 
      -

      Generated on Sun May 6 15:41:23 2007 for TinyXml by  - -doxygen 1.4.7
      - - diff --git a/shared/tinyxml/docs/tinyxml_8h_source.html b/shared/tinyxml/docs/tinyxml_8h_source.html new file mode 100644 index 00000000..e991e035 --- /dev/null +++ b/shared/tinyxml/docs/tinyxml_8h_source.html @@ -0,0 +1,1205 @@ + + + + +TinyXml: tinyxml.h Source File + + + + + + +
      Generated by  + +doxygen 1.6.2
      + + diff --git a/shared/tinyxml/docs/tutorial0.html b/shared/tinyxml/docs/tutorial0.html index d5d19cab..f974f859 100644 --- a/shared/tinyxml/docs/tutorial0.html +++ b/shared/tinyxml/docs/tutorial0.html @@ -1,33 +1,41 @@ - - + + + + TinyXml: TinyXML Tutorial - - - - - - -

      TinyXML Tutorial

      What is this?

      -

      -This tutorial has a few tips and suggestions on how to use TinyXML effectively.

      -I've also tried to include some C++ tips like how to convert strings to integers and vice versa. This isn't anything to do with TinyXML itself, but it may helpful for your project so I've put it in anyway.

      -If you don't know basic C++ concepts this tutorial won't be useful. Likewise if you don't know what a DOM is, look elsewhere first.

      + + + + + +

      +
      + + +

      TinyXML Tutorial

      What is this?

      +

      This tutorial has a few tips and suggestions on how to use TinyXML effectively.

      +

      I've also tried to include some C++ tips like how to convert strings to integers and vice versa. This isn't anything to do with TinyXML itself, but it may helpful for your project so I've put it in anyway.

      +

      If you don't know basic C++ concepts this tutorial won't be useful. Likewise if you don't know what a DOM is, look elsewhere first.

      Before we start

      -

      -Some example XML datasets/files will be used.

      -example1.xml:

      -

      <?xml version="1.0" ?>
      +

      Some example XML datasets/files will be used.

      +

      example1.xml:

      +
      +<?xml version="1.0" ?>
       <Hello>World</Hello>
      -

      -example2.xml:

      -

      <?xml version="1.0" ?>
      +

      example2.xml:

      +
      +<?xml version="1.0" ?>
       <poetry>
       	<verse>
       		Alas
      @@ -35,16 +43,16 @@ example2.xml:

      Alas (again) </verse> </poetry> -

      -example3.xml:

      -

      <?xml version="1.0" ?>
      +

      example3.xml:

      +
      +<?xml version="1.0" ?>
       <shapes>
       	<circle name="int-based" x="20" y="30" r="50" />
       	<point name="float-based" x="3.5" y="52.1" />
       </shapes>
      -

      -example4.xml

      -

      <?xml version="1.0" ?>
      +

      example4.xml

      +
      +<?xml version="1.0" ?>
       <MyApp>
           <!-- Settings for MyApp -->
           <Messages>
      @@ -56,17 +64,15 @@ example4.xml

      </Windows> <Connection ip="192.168.0.1" timeout="123.456000" /> </MyApp> -

      -

      Getting Started

      -

      +

      Getting Started

      Load XML from a file

      -

      -The simplest way to load a file into a TinyXML DOM is:

      -

      TiXmlDocument doc( "demo.xml" );
      +

      The simplest way to load a file into a TinyXML DOM is:

      +
      +TiXmlDocument doc( "demo.xml" );
       doc.LoadFile();
      -

      -A more real-world usage is shown below. This will load the file and display the contents to STDOUT:

      -

      // load the named file and dump its structure to STDOUT
      +

      A more real-world usage is shown below. This will load the file and display the contents to STDOUT:

      +
      +// load the named file and dump its structure to STDOUT
       void dump_to_stdout(const char* pFilename)
       {
       	TiXmlDocument doc(pFilename);
      @@ -81,29 +87,28 @@ void dump_to_stdout(const char* pFilename)
       		printf("Failed to load file \"%s\"\n", pFilename);
       	}
       }
      -

      -A simple demonstration of this function is to use a main like this:

      -

      int main(void)
      +

      A simple demonstration of this function is to use a main like this:

      +
      +int main(void)
       {
       	dump_to_stdout("example1.xml");
       	return 0;
       }
      -

      -Recall that Example 1 XML is:

      -

      <?xml version="1.0" ?>
      +

      Recall that Example 1 XML is:

      +
      +<?xml version="1.0" ?>
       <Hello>World</Hello>
      -

      -Running the program with this XML will display this in the console/DOS window:

      -

      DOCUMENT
      +

      Running the program with this XML will display this in the console/DOS window:

      +
      +DOCUMENT
       + DECLARATION
       + ELEMENT Hello
         + TEXT[World]
      -

      -The ``dump_to_stdout`` function is defined later in this tutorial and is useful if you want to understand recursive traversal of a DOM.

      +

      The ``dump_to_stdout`` function is defined later in this tutorial and is useful if you want to understand recursive traversal of a DOM.

      Building Documents Programatically

      -

      -This is how to build Example 1 pragmatically:

      -

      void build_simple_doc( )
      +

      This is how to build Example 1 pragmatically:

      +
      +void build_simple_doc( )
       {
       	// Make xml: <?xml ..><Hello>World</Hello>
       	TiXmlDocument doc;
      @@ -115,19 +120,19 @@ This is how to build Example 1 pragmatically:

      doc.LinkEndChild( element ); doc.SaveFile( "madeByHand.xml" ); } -

      -This can be loaded and displayed on the console with:

      -

      dump_to_stdout("madeByHand.xml"); // this func defined later in the tutorial
      -

      -and you'll see it is identical to Example 1:

      -

      madeByHand.xml:
      +

      This can be loaded and displayed on the console with:

      +
      +dump_to_stdout("madeByHand.xml"); // this func defined later in the tutorial
      +

      and you'll see it is identical to Example 1:

      +
      +madeByHand.xml:
       Document
       + Declaration
       + Element [Hello]
         + Text: [World]
      -

      -This code produces exactly the same XML DOM but it shows a different ordering to node creation and linking:

      -

      void write_simple_doc2( )
      +

      This code produces exactly the same XML DOM but it shows a different ordering to node creation and linking:

      +
      +void write_simple_doc2( )
       {
       	// same as write_simple_doc1 but add each node
       	// as early as possible into the tree.
      @@ -144,29 +149,28 @@ This code produces exactly the same XML DOM but it shows a different ordering to
       	
       	doc.SaveFile( "madeByHand2.xml" );
       }
      -

      -Both of these produce the same XML, namely:

      -

      <?xml version="1.0" ?>
      +

      Both of these produce the same XML, namely:

      +
      +<?xml version="1.0" ?>
       <Hello>World</Hello>
      -

      -Or in structure form:

      -

      DOCUMENT
      +

      Or in structure form:

      +
      +DOCUMENT
       + DECLARATION
       + ELEMENT Hello
         + TEXT[World]
      -

      -

      Attributes

      -

      -Given an existing node, settings attributes is easy:

      -

      window = new TiXmlElement( "Demo" );  
      +

      Attributes

      +

      Given an existing node, settings attributes is easy:

      +
      +window = new TiXmlElement( "Demo" );  
       window->SetAttribute("name", "Circle");
       window->SetAttribute("x", 5);
       window->SetAttribute("y", 15);
       window->SetDoubleAttribute("radius", 3.14159);
      -

      -You can it also work with the TiXmlAttribute objects if you want.

      -The following code shows one way (not the only way) to get all attributes of an element, print the name and string value, and if the value can be converted to an integer or double, print that value too:

      -

      // print all attributes of pElement.
      +

      You can it also work with the TiXmlAttribute objects if you want.

      +

      The following code shows one way (not the only way) to get all attributes of an element, print the name and string value, and if the value can be converted to an integer or double, print that value too:

      +
      +// print all attributes of pElement.
       // returns the number of attributes printed
       int dump_attribs_to_stdout(TiXmlElement* pElement, unsigned int indent)
       {
      @@ -190,14 +194,13 @@ int dump_attribs_to_stdout(TiXmlElement* pElement, unsigned int indent)
       	}
       	return i;
       }
      -

      -

      Writing a document to a file

      -

      -Writing a pre-built DOM to a file is trivial:

      -

      doc.SaveFile( saveFilename );  
      -

      -Recall, for example, example 4:

      -

      <?xml version="1.0" ?>
      +

      Writing a document to a file

      +

      Writing a pre-built DOM to a file is trivial:

      +
      +doc.SaveFile( saveFilename );  
      +

      Recall, for example, example 4:

      +
      +<?xml version="1.0" ?>
       <MyApp>
           <!-- Settings for MyApp -->
           <Messages>
      @@ -209,9 +212,9 @@ Recall, for example, example 4:

      </Windows> <Connection ip="192.168.0.1" timeout="123.456000" /> </MyApp> -

      -The following function builds this DOM and writes the file "appsettings.xml":

      -

      void write_app_settings_doc( )  
      +

      The following function builds this DOM and writes the file "appsettings.xml":

      +
      +void write_app_settings_doc( )  
       {  
       	TiXmlDocument doc;  
       	TiXmlElement* msg;
      @@ -256,9 +259,9 @@ The following function builds this DOM and writes the file "appsettings.xml":

      dump_to_stdout( &doc ); doc.SaveFile( "appsettings.xml" ); } -

      -The dump_to_stdout function will show this structure:

      -

      Document
      +

      The dump_to_stdout function will show this structure:

      +
      +Document
       + Declaration
       + Element [MyApp]
        (No attributes)
      @@ -284,21 +287,18 @@ The dump_to_stdout function will show this structure:

      + ip: value=[192.168.0.1] int=192 d=192.2 + timeout: value=[123.456000] int=123 d=123.5 2 attributes -

      -I was surprised that TinyXml, by default, writes the XML in what other APIs call a "pretty" format - it modifies the whitespace of text of elements that contain other nodes so that writing the tree includes an indication of nesting level.

      -I haven't looked yet to see if there is a way to turn off indenting when writing a file - its bound to be easy.

      -[Lee: It's easy in STL mode, just use cout << myDoc. Non-STL mode is always in "pretty" format. Adding a switch would be a nice feature and has been requested.]

      +

      I was surprised that TinyXml, by default, writes the XML in what other APIs call a "pretty" format - it modifies the whitespace of text of elements that contain other nodes so that writing the tree includes an indication of nesting level.

      +

      I haven't looked yet to see if there is a way to turn off indenting when writing a file - its bound to be easy.

      +

      [Lee: It's easy in STL mode, just use cout << myDoc. Non-STL mode is always in "pretty" format. Adding a switch would be a nice feature and has been requested.]

      XML to/from C++ objects

      -

      Intro

      -

      -This example assumes you're loading and saving your app settings in an XML file, e.g. something like example4.xml.

      -There are a number of ways to do this. For example, look into the TinyBind project at http://sourceforge.net/projects/tinybind

      -This section shows a plain-old approach to loading and saving a basic object structure using XML.

      +

      This example assumes you're loading and saving your app settings in an XML file, e.g. something like example4.xml.

      +

      There are a number of ways to do this. For example, look into the TinyBind project at http://sourceforge.net/projects/tinybind

      +

      This section shows a plain-old approach to loading and saving a basic object structure using XML.

      Set up your object classes

      -

      -Start off with some basic classes like these:

      -

      #include <string>
      +

      Start off with some basic classes like these:

      +
      +#include <string>
       #include <map>
       using namespace std;
       
      @@ -359,9 +359,9 @@ public:
       		m_connection.timeout=123.456;
       	}
       };
      -

      -This is a basic main() that shows how to create a default settings object tree, save it and load it again:

      -

      int main(void)
      +

      This is a basic main() that shows how to create a default settings object tree, save it and load it again:

      +
      +int main(void)
       {
       	AppSettings settings;
       	
      @@ -369,9 +369,9 @@ This is a basic main() that shows how to create a default settings object tree,
       	settings.load("appsettings2.xml");
       	return 0;
       }
      -

      -The following main() shows creation, modification, saving and then loading of a settings structure:

      -

      int main(void)
      +

      The following main() shows creation, modification, saving and then loading of a settings structure:

      +
      +int main(void)
       {
       	// block: customise and save settings
       	{
      @@ -399,16 +399,15 @@ The following main() shows creation, modification, saving and then loading of a
       	}
       	return 0;
       }
      -

      -When the save() and load() are completed (see below), running this main() displays on the console:

      -

      HitchHikerApp: Don't Panic
      +

      When the save() and load() are completed (see below), running this main() displays on the console:

      +
      +HitchHikerApp: Don't Panic
       HitchHikerApp: Show window 'BookFrame' at 15,25 (300 x 100)
       HitchHikerApp: Thanks for all the fish
      -

      -

      Encode C++ state as XML

      -

      -There are lots of different ways to approach saving this to a file. Here's one:

      -

      void AppSettings::save(const char* pFilename)
      +

      Encode C++ state as XML

      +

      There are lots of different ways to approach saving this to a file. Here's one:

      +
      +void AppSettings::save(const char* pFilename)
       {
       	TiXmlDocument doc;  
       	TiXmlElement* msg;
      @@ -474,9 +473,9 @@ There are lots of different ways to approach saving this to a file. Here's one:<
       
       	doc.SaveFile(pFilename);  
       }
      -

      -Running this with the modified main produces this file:

      -

      <?xml version="1.0" ?>
      +

      Running this with the modified main produces this file:

      +
      +<?xml version="1.0" ?>
       <HitchHikerApp>
           <!-- Settings for HitchHikerApp -->
           <Messages>
      @@ -488,11 +487,10 @@ Running this with the modified main produces this file:

      </Windows> <Connection ip="192.168.0.77" timeout="42.000000" /> </HitchHikerApp> -

      -

      Decoding state from XML

      -

      -As with encoding objects, there are a number of approaches to decoding XML into your own C++ object structure. The following approach uses TiXmlHandles.

      -

      void AppSettings::load(const char* pFilename)
      +

      Decoding state from XML

      +

      As with encoding objects, there are a number of approaches to decoding XML into your own C++ object structure. The following approach uses TiXmlHandles.

      +
      +void AppSettings::load(const char* pFilename)
       {
       	TiXmlDocument doc(pFilename);
       	if (!doc.LoadFile()) return;
      @@ -558,11 +556,10 @@ As with encoding objects, there are a number of approaches to decoding XML into
       		}
       	}
       }
      -

      -

      Full listing for dump_to_stdout

      -

      -Below is a copy-and-paste demo program for loading arbitrary XML files and dumping the structure to STDOUT using the recursive traversal listed above.

      -

      // tutorial demo program
      +

      Full listing for dump_to_stdout

      +

      Below is a copy-and-paste demo program for loading arbitrary XML files and dumping the structure to STDOUT using the recursive traversal listed above.

      +
      +// tutorial demo program
       #include "stdafx.h"
       #include "tinyxml.h"
       
      @@ -627,11 +624,11 @@ void dump_to_stdout( TiXmlNode* pParent, unsigned int indent = 0 )
       
       	switch ( t )
       	{
      -	case TiXmlNode::DOCUMENT:
      +	case TiXmlNode::TINYXML_DOCUMENT:
       		printf( "Document" );
       		break;
       
      -	case TiXmlNode::ELEMENT:
      +	case TiXmlNode::TINYXML_ELEMENT:
       		printf( "Element [%s]", pParent->Value() );
       		num=dump_attribs_to_stdout(pParent->ToElement(), indent+1);
       		switch(num)
      @@ -642,20 +639,20 @@ void dump_to_stdout( TiXmlNode* pParent, unsigned int indent = 0 )
       		}
       		break;
       
      -	case TiXmlNode::COMMENT:
      +	case TiXmlNode::TINYXML_COMMENT:
       		printf( "Comment: [%s]", pParent->Value());
       		break;
       
      -	case TiXmlNode::UNKNOWN:
      +	case TiXmlNode::TINYXML_UNKNOWN:
       		printf( "Unknown" );
       		break;
       
      -	case TiXmlNode::TEXT:
      +	case TiXmlNode::TINYXML_TEXT:
       		pText = pParent->ToText();
       		printf( "Text: [%s]", pText->Value() );
       		break;
       
      -	case TiXmlNode::DECLARATION:
      +	case TiXmlNode::TINYXML_DECLARATION:
       		printf( "Declaration" );
       		break;
       	default:
      @@ -695,9 +692,9 @@ int main(int argc, char* argv[])
       	}
       	return 0;
       }
      -

      -Run this from the command line or a DOS window, e.g.:

      -

      C:\dev\tinyxml> Debug\tinyxml_1.exe example1.xml
      +

      Run this from the command line or a DOS window, e.g.:

      +
      +C:\dev\tinyxml> Debug\tinyxml_1.exe example1.xml
       
       example1.xml:
       Document
      @@ -705,8 +702,8 @@ Document
       + Element [Hello]
        (No attributes)
         + Text: [World]
      -

      - Authors and Changes

        +

      Authors and Changes

      +
      • Written by Ellers, April, May, June 2005
      • @@ -714,8 +711,10 @@ Minor edits and integration into doc system, Lee Thomason September 2005
      • Updated by Ellers, October 2005
      -

      Generated on Sun May 6 15:41:23 2007 for TinyXml by  +

      +
      +
      Generated by  -doxygen 1.4.7
      +doxygen 1.6.2
      -- cgit