diff --git a/Engine/lib/collada/include/dae/daeTinyXMLPlugin.h b/Engine/lib/collada/include/dae/daeTinyXMLPlugin.h index 06b55dbe7..a8ac56007 100644 --- a/Engine/lib/collada/include/dae/daeTinyXMLPlugin.h +++ b/Engine/lib/collada/include/dae/daeTinyXMLPlugin.h @@ -20,8 +20,9 @@ #include #include -class TiXmlDocument; -class TiXmlElement; +#ifndef TINYXML2_INCLUDED +#include +#endif class daeTinyXMLPlugin : public daeIOPluginCommon { @@ -60,12 +61,12 @@ public: virtual DLLSPEC daeString getOption( daeString option ); private: - TiXmlDocument* m_doc; - std::list m_elements; + tinyxml2::XMLDocument* m_doc; + std::list m_elements; virtual daeElementRef readFromFile(const daeURI& uri); virtual daeElementRef readFromMemory(daeString buffer, const daeURI& baseUri); - daeElementRef readElement(TiXmlElement* tinyXmlElement, daeElement* parentElement); + daeElementRef readElement(tinyxml2::XMLElement* tinyXmlElement, daeElement* parentElement); void writeElement( daeElement* element ); void writeAttribute( daeMetaAttribute* attr, daeElement* element ); diff --git a/Engine/lib/collada/src/dae/daeTinyXMLPlugin.cpp b/Engine/lib/collada/src/dae/daeTinyXMLPlugin.cpp index c8bd37a8b..164a4a18f 100644 --- a/Engine/lib/collada/src/dae/daeTinyXMLPlugin.cpp +++ b/Engine/lib/collada/src/dae/daeTinyXMLPlugin.cpp @@ -24,7 +24,7 @@ #endif #include -#include +#include #include #include #include @@ -36,7 +36,7 @@ using namespace std; namespace { - daeInt getCurrentLineNumber(TiXmlElement* element) { + daeInt getCurrentLineNumber(tinyxml2::XMLElement* element) { return -1; } } @@ -65,7 +65,7 @@ daeElementRef daeTinyXMLPlugin::readFromFile(const daeURI& uri) { string file = cdom::uriToNativePath(uri.str()); if (file.empty()) return NULL; - TiXmlDocument doc; + tinyxml2::XMLDocument doc; doc.LoadFile(file.c_str()); if (!doc.RootElement()) { daeErrorHandler::get()->handleError((std::string("Failed to open ") + uri.str() + @@ -76,7 +76,7 @@ daeElementRef daeTinyXMLPlugin::readFromFile(const daeURI& uri) { } daeElementRef daeTinyXMLPlugin::readFromMemory(daeString buffer, const daeURI& baseUri) { - TiXmlDocument doc; + tinyxml2::XMLDocument doc; doc.Parse(buffer); if (!doc.RootElement()) { daeErrorHandler::get()->handleError("Failed to open XML document from memory buffer in " @@ -86,9 +86,9 @@ daeElementRef daeTinyXMLPlugin::readFromMemory(daeString buffer, const daeURI& b return readElement(doc.RootElement(), NULL); } -daeElementRef daeTinyXMLPlugin::readElement(TiXmlElement* tinyXmlElement, daeElement* parentElement) { +daeElementRef daeTinyXMLPlugin::readElement(tinyxml2::XMLElement* tinyXmlElement, daeElement* parentElement) { std::vector attributes; - for (TiXmlAttribute* attrib = tinyXmlElement->FirstAttribute(); attrib != NULL; attrib = attrib->Next()) + for (const tinyxml2::XMLAttribute* attrib = tinyXmlElement->FirstAttribute(); attrib != NULL; attrib = attrib->Next()) attributes.push_back(attrPair(attrib->Name(), attrib->Value())); daeElementRef element = beginReadElement(parentElement, tinyXmlElement->Value(), @@ -102,7 +102,7 @@ daeElementRef daeTinyXMLPlugin::readElement(TiXmlElement* tinyXmlElement, daeEle readElementText(element, tinyXmlElement->GetText(), getCurrentLineNumber(tinyXmlElement)); // Recurse children - for (TiXmlElement* child = tinyXmlElement->FirstChildElement(); child != NULL; child = child->NextSiblingElement()) + for (tinyxml2::XMLElement* child = tinyXmlElement->FirstChildElement(); child != NULL; child = child->NextSiblingElement()) element->placeElement(readElement(child, element)); return element; @@ -136,13 +136,11 @@ daeInt daeTinyXMLPlugin::write(const daeURI& name, daeDocument *document, daeBoo fclose(tempfd); } - m_doc = new TiXmlDocument(name.getURI()); + m_doc = new tinyxml2::XMLDocument(); if (m_doc) { - m_doc->SetTabSize(4); - - TiXmlDeclaration* decl = new TiXmlDeclaration( "1.0", "", "" ); - m_doc->LinkEndChild( decl ); + tinyxml2::XMLDeclaration* decl = m_doc->NewDeclaration("xml version=\"1.0\""); + m_doc->LinkEndChild( decl ); writeElement(document->getDomRoot()); @@ -158,12 +156,12 @@ void daeTinyXMLPlugin::writeElement( daeElement* element ) daeMetaElement* _meta = element->getMeta(); if (!_meta->getIsTransparent() ) { - TiXmlElement* tiElm = new TiXmlElement( element->getElementName() ); + tinyxml2::XMLElement* tiElm = m_doc->NewElement( element->getElementName() ); if (m_elements.empty() == true) { m_doc->LinkEndChild(tiElm); } else { - TiXmlElement* first = m_elements.front(); + tinyxml2::XMLElement* first = m_elements.front(); first->LinkEndChild(tiElm); } m_elements.push_front(tiElm); @@ -200,7 +198,7 @@ void daeTinyXMLPlugin::writeValue( daeElement* element ) attr->memoryToString(element, buffer); std::string s = buffer.str(); if (!s.empty()) - m_elements.front()->LinkEndChild( new TiXmlText(buffer.str().c_str()) ); + m_elements.front()->LinkEndChild( m_doc->NewText(buffer.str().c_str()) ); } } diff --git a/Engine/lib/convexDecomp/NvThreadConfig.cpp b/Engine/lib/convexDecomp/NvThreadConfig.cpp index 75d604a84..607b791f9 100644 --- a/Engine/lib/convexDecomp/NvThreadConfig.cpp +++ b/Engine/lib/convexDecomp/NvThreadConfig.cpp @@ -129,17 +129,21 @@ void tc_sleep(NxU32 ms) void tc_spinloop() { - #ifdef __linux__ - asm ( "pause" ); - #elif defined( _XBOX ) - // Pause would do nothing on the Xbox. Threads are not scheduled. - #elif defined( _WIN64 ) - YieldProcessor( ); - #elif (defined( __arm64__ ) && defined( __APPLE__ )) || defined( __arch64__ ) - pthread_yield_np(); +#if defined( _XBOX ) + // Pause would do nothing on the Xbox. Threads are not scheduled. +#elif defined( _WIN64 ) + YieldProcessor( ); +#elif defined( __APPLE__ ) + pthread_yield_np(); +#elif defined(__linux__) + #if defined(_POSIX_PRIORITY_SCHEDULING) + sched_yield(); #else - __asm { pause }; + asm("pause"); #endif +#elif + __asm { pause }; +#endif } void tc_interlockedExchange(void *dest, const int64_t exchange) diff --git a/Engine/lib/tinyxml/LICENSE.txt b/Engine/lib/tinyxml/LICENSE.txt new file mode 100644 index 000000000..85a6a36f0 --- /dev/null +++ b/Engine/lib/tinyxml/LICENSE.txt @@ -0,0 +1,18 @@ +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. diff --git a/Engine/lib/tinyxml/changes.txt b/Engine/lib/tinyxml/changes.txt deleted file mode 100644 index 15b51bd91..000000000 --- a/Engine/lib/tinyxml/changes.txt +++ /dev/null @@ -1,299 +0,0 @@ -Changes in version 1.0.1: -- Fixed comment tags which were outputing as ' include. Thanks - to Steve Lhomme for that. - -Changes in version 2.0.0 BETA -- Made the ToXXX() casts safe if 'this' is null. - When "LoadFile" is called with a filename, the value will correctly get set. - Thanks to Brian Yoder. -- Fixed bug where isalpha() and isalnum() would get called with a negative value for - high ascii numbers. Thanks to Alesky Aksenov. -- Fixed some errors codes that were not getting set. -- Made methods "const" that were not. -- Added a switch to enable or disable the ignoring of white space. ( TiXmlDocument::SetIgnoreWhiteSpace() ) -- Greater standardization and code re-use in the parser. -- Added a stream out operator. -- Added a stream in operator. -- Entity support, of predefined entites. &#x entities are untouched by input or output. -- Improved text out formatting. -- Fixed ReplaceChild bug, thanks to Tao Chen. - -Changes in version 2.0.1 -- Fixed hanging on loading a 0 length file. Thanks to Jeff Scozzafava. -- Fixed crashing on InsertBeforeChild and InsertAfterChild. Also possibility of bad links being - created by same function. Thanks to Frank De prins. -- Added missing licence text. Thanks to Lars Willemsens. -- Added include, at the suggestion of Steve Walters. - -Changes in version 2.1.0 -- Yves Berquin brings us the STL switch. The forum on SourceForge, and various emails to - me, have long debated all out STL vs. no STL at all. And now you can have it both ways. - TinyXml will compile either way. - -Changes in version 2.1.1 -- Compilation warnings. - -Changes in version 2.1.2 -- Uneeded code is not compiled in the STL case. -- Changed headers so that STL can be turned on or off in tinyxml.h - -Changes in version 2.1.3 -- Fixed non-const reference in API; now uses a pointer. -- Copy constructor of TiXmlString not checking for assignment to self. -- Nimrod Cohen found a truly evil bug in the STL implementation that occurs - when a string is converted to a c_str and then assigned to self. Search for - STL_STRING_BUG for a full description. I'm asserting this is a Microsoft STL - bug, since &string and string.c_str() should never be the same. Nevertheless, - the code works around it. -- Urivan Saaib pointed out a compiler conflict, where the C headers define - the isblank macro, which was wiping out the TiXmlString::isblank() method. - The method was unused and has been removed. - -Changes in version 2.1.4 -- Reworked the entity code. Entities were not correctly surving round trip input and output. - Will now automatically create entities for high ascii in output. - -Changes in version 2.1.5 -- Bug fix by kylotan : infinite loop on some input (tinyxmlparser.cpp rev 1.27) -- Contributed by Ivica Aracic (bytelord) : 1 new VC++ project to compile versions as static libraries (tinyxml_lib.dsp), - and an example usage in xmltest.dsp - (Patch request ID 678605) -- A suggestion by Ronald Fenner Jr (dormlock) to add #include and for Apple's Project Builder - (Patch request ID 697642) -- A patch from ohommes that allows to parse correctly dots in element names and attribute names - (Patch request 602600 and kylotan 701728) -- A patch from hermitgeek ( James ) and wasteland for improper error reporting -- Reviewed by Lee, with the following changes: - - Got sick of fighting the STL/non-STL thing in the windows build. Broke - them out as seperate projects. - - I have too long not included the dsw. Added. - - TinyXmlText had a protected Print. Odd. - - Made LinkEndChild public, with docs and appropriate warnings. - - Updated the docs. - -2.2.0 -- Fixed an uninitialized pointer in the TiXmlAttributes -- Fixed STL compilation problem in MinGW (and gcc 3?) - thanks Brian Yoder for finding this one -- Fixed a syntax error in TiXmlDeclaration - thanks Brian Yoder -- Fletcher Dunn proposed and submitted new error handling that tracked the row and column. Lee - modified it to not have performance impact. -- General cleanup suggestions from Fletcher Dunn. -- In error handling, general errors will no longer clear the error state of specific ones. -- Fix error in documentation : comments starting with ">) has now - been fixed. - -2.5.2 -- Lieven, and others, pointed out a missing const-cast that upset the Open Watcom compiler. - Should now be fixed. -- ErrorRow and ErrorCol should have been const, and weren't. Fixed thanks to Dmitry Polutov. - -2.5.3 -- zloe_zlo identified a missing string specialization for QueryValueAttribute() [ 1695429 ]. Worked - on this bug, but not sure how to fix it in a safe, cross-compiler way. -- increased warning level to 4 and turned on detect 64 bit portability issues for VC2005. - May address [ 1677737 ] VS2005: /Wp64 warnings -- grosheck identified several problems with the Document copy. Many thanks for [ 1660367 ] -- Nice catch, and suggested fix, be Gilad Novik on the Printer dropping entities. - "[ 1600650 ] Bug when printing xml text" is now fixed. -- A subtle fix from Nicos Gollan in the tinystring initializer: - [ 1581449 ] Fix initialiser of TiXmlString::nullrep_ -- Great catch, although there isn't a submitter for the bug. [ 1475201 ] TinyXML parses entities in comments. - Comments should not, in fact, parse entities. Fixed the code path and added tests. -- We were not catching all the returns from ftell. Thanks to Bernard for catching that. - -2.5.4 -- A TiXMLDocument can't be a sub-node. Block this from happening in the 'replace'. Thanks Noam. -- [ 1714831 ] TiXmlBase::location is not copied by copy-ctors, fix reported and suggested by Nicola Civran. -- Fixed possible memory overrun in the comment reading code - thanks gcarlton77 - -2.5.5 -- Alex van der Wal spotted incorrect types (lf) being used in print and scan. robertnestor pointed out some problems with the simple solution. Types updated. -- Johannes Hillert pointed out some bug typos. -- Christian Mueller identified inconsistent error handling with Attributes. -- olivier barthelemy also reported a problem with double truncation, also related to the %lf issue. -- zaelsius came up with a great (and simple) suggestion to fix QueryValueAttribute truncating strings. -- added some null pointer checks suggested by hansenk -- Sami Väisänen found a (rare) buffer overrun that could occur in parsing. -- vi tri filed a bug that led to a refactoring of the attribute setting mess (as well as adding a missing SetDoubleAttribute() ) -- removed TIXML_ERROR_OUT_OF_MEMORY. TinyXML does not systematically address OOO, and the notion it does is misleading. -- vanneto, keithmarshall, others all reported the warning from IsWhiteSpace() usage. Cleaned this up - many thanks to everyone who reported this one. -- tibur found a bug in end tag parsing - - -2.6.2 -- Switched over to VC 2010 -- Fixed up all the build issues arising from that. (Lots of latent build problems.) -- Removed the old, now unmaintained and likely not working, build files. -- Fixed some static analysis issues reported by orbitcowboy from cppcheck. -- Bayard 95 sent in analysis from a different analyzer - fixes applied from that as well. -- Tim Kosse sent a patch fixing an infinite loop. -- Ma Anguo identified a doc issue. -- Eddie Cohen identified a missing qualifier resulting in a compilation error on some systems. -- Fixed a line ending bug. (What year is this? Can we all agree on a format for text files? Please? ...oh well.) - diff --git a/Engine/lib/tinyxml/docs/_example_1.html b/Engine/lib/tinyxml/docs/_example_1.html new file mode 100644 index 000000000..6cccb3123 --- /dev/null +++ b/Engine/lib/tinyxml/docs/_example_1.html @@ -0,0 +1,83 @@ + + + + + + + +TinyXML-2: Load an XML File + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  9.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Load an XML File
+
+
+

Basic XML file loading. The basic syntax to load an XML file from disk and check for an error. (ErrorID() will return 0 for no error.)

int example_1()
+
{
+
XMLDocument doc;
+
doc.LoadFile( "resources/dream.xml" );
+
+
return doc.ErrorID();
+
}
+
+
+ + + + diff --git a/Engine/lib/tinyxml/docs/_example_2.html b/Engine/lib/tinyxml/docs/_example_2.html new file mode 100644 index 000000000..fb406a469 --- /dev/null +++ b/Engine/lib/tinyxml/docs/_example_2.html @@ -0,0 +1,84 @@ + + + + + + + +TinyXML-2: Parse an XML from char buffer + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  9.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Parse an XML from char buffer
+
+
+

Basic XML string parsing. The basic syntax to parse an XML for a char* and check for an error. (ErrorID() will return 0 for no error.)

int example_2()
+
{
+
static const char* xml = "<element/>";
+
XMLDocument doc;
+
doc.Parse( xml );
+
+
return doc.ErrorID();
+
}
+
+
+ + + + diff --git a/Engine/lib/tinyxml/docs/_example_3.html b/Engine/lib/tinyxml/docs/_example_3.html new file mode 100644 index 000000000..2994ed67b --- /dev/null +++ b/Engine/lib/tinyxml/docs/_example_3.html @@ -0,0 +1,121 @@ + + + + + + + +TinyXML-2: Get information out of XML + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  9.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Get information out of XML
+
+
+

In this example, we navigate a simple XML file, and read some interesting text. Note that this example doesn't use error checking; working code should check for null pointers when walking an XML tree, or use XMLHandle.

+

(The XML is an excerpt from "dream.xml").

+
int example_3()
+
{
+
static const char* xml =
+
"<?xml version=\"1.0\"?>"
+
"<!DOCTYPE PLAY SYSTEM \"play.dtd\">"
+
"<PLAY>"
+
"<TITLE>A Midsummer Night's Dream</TITLE>"
+
"</PLAY>";
+

The structure of the XML file is:

+
    +
  • +(declaration)
  • +
  • +(dtd stuff)
  • +
  • +Element "PLAY"
      +
    • +Element "TITLE"
        +
      • +Text "A Midsummer Night's Dream"
      • +
      +
    • +
    +
  • +
+

For this example, we want to print out the title of the play. The text of the title (what we want) is child of the "TITLE" element which is a child of the "PLAY" element.

+

We want to skip the declaration and dtd, so the method FirstChildElement() is a good choice. The FirstChildElement() of the Document is the "PLAY" Element, the FirstChildElement() of the "PLAY" Element is the "TITLE" Element.

+
+
XMLDocument doc;
+
doc.Parse( xml );
+
+
XMLElement* titleElement = doc.FirstChildElement( "PLAY" )->FirstChildElement( "TITLE" );
+

We can then use the convenience function GetText() to get the title of the play.

+
const char* title = titleElement->GetText();
+
printf( "Name of play (1): %s\n", title );
+

Text is just another Node in the XML DOM. And in fact you should be a little cautious with it, as text nodes can contain elements.

+
Consider: A Midsummer Night's <b>Dream</b>
+

It is more correct to actually query the Text Node if in doubt:

+
+
XMLText* textNode = titleElement->FirstChild()->ToText();
+
title = textNode->Value();
+
printf( "Name of play (2): %s\n", title );
+

Noting that here we use FirstChild() since we are looking for XMLText, not an element, and ToText() is a cast from a Node to a XMLText.

+
+
+ + + + diff --git a/Engine/lib/tinyxml/docs/_example_4.html b/Engine/lib/tinyxml/docs/_example_4.html new file mode 100644 index 000000000..5f8d39180 --- /dev/null +++ b/Engine/lib/tinyxml/docs/_example_4.html @@ -0,0 +1,94 @@ + + + + + + + +TinyXML-2: Read attributes and text information. + + + + + + + + + +
+
+ + + + + + +
+
TinyXML-2 +  9.0.0 +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Read attributes and text information.
+
+
+

+

There are fundamentally 2 ways of writing a key-value pair into an XML file. (Something that's always annoyed me about XML.) Either by using attributes, or by writing the key name into an element and the value into the text node wrapped by the element. Both approaches are illustrated in this example, which shows two ways to encode the value "2" into the key "v":

+
bool example_4()
+
{
+
static const char* xml =
+
"<information>"
+
" <attributeApproach v='2' />"
+
" <textApproach>"
+
" <v>2</v>"
+
" </textApproach>"
+
"</information>";
+

TinyXML-2 has accessors for both approaches.

+

When using an attribute, you navigate to the XMLElement with that attribute and use the QueryIntAttribute() group of methods. (Also QueryFloatAttribute(), etc.)

+
XMLElement* attributeApproachElement = doc.FirstChildElement()->FirstChildElement( "attributeApproach" );
+
attributeApproachElement->QueryIntAttribute( "v", &v0 );
+

When using the text approach, you need to navigate down one more step to the XMLElement that contains the text. Note the extra FirstChildElement( "v" ) in the code below. The value of the text can then be safely queried with the QueryIntText() group of methods. (Also QueryFloatText(), etc.)

+
XMLElement* textApproachElement = doc.FirstChildElement()->FirstChildElement( "textApproach" );
+
textApproachElement->FirstChildElement( "v" )->QueryIntText( &v1 );
+
+
+ + + + diff --git a/Engine/lib/tinyxml/docs/annotated.html b/Engine/lib/tinyxml/docs/annotated.html index a84e5fa21..24d5b3f9b 100644 --- a/Engine/lib/tinyxml/docs/annotated.html +++ b/Engine/lib/tinyxml/docs/annotated.html @@ -1,48 +1,92 @@ - + -TinyXml: Class List + + + +TinyXML-2: Class List - + + + + + + - - -
-

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
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
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
TiXmlVisitorImplements the interface to the "Visitor pattern" (see the Accept() method
+ + + + +
+
TinyXML-2 +  9.0.0 +
+
-
Generated by  - -doxygen 1.6.2
+ + + + + + + + + +
+
+ + +
+ +
+ +
+
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+
[detail level 12]
+ + + + + + + + + + + + + +
 Ntinyxml2
 CXMLVisitor
 CXMLNode
 CXMLText
 CXMLComment
 CXMLDeclaration
 CXMLUnknown
 CXMLAttribute
 CXMLElement
 CXMLDocument
 CXMLHandle
 CXMLConstHandle
 CXMLPrinter
+
+
+ + diff --git a/Engine/lib/tinyxml/docs/bc_s.png b/Engine/lib/tinyxml/docs/bc_s.png new file mode 100644 index 000000000..224b29aa9 Binary files /dev/null and b/Engine/lib/tinyxml/docs/bc_s.png differ diff --git a/Engine/lib/tinyxml/docs/bdwn.png b/Engine/lib/tinyxml/docs/bdwn.png new file mode 100644 index 000000000..940a0b950 Binary files /dev/null and b/Engine/lib/tinyxml/docs/bdwn.png differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlAttribute-members.html b/Engine/lib/tinyxml/docs/classTiXmlAttribute-members.html deleted file mode 100644 index f6f2c993f..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlAttribute-members.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlAttribute.html b/Engine/lib/tinyxml/docs/classTiXmlAttribute.html deleted file mode 100644 index 6eaca6be3..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlAttribute.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - -TinyXml: TiXmlAttribute Class Reference - - - - - - -
-

TiXmlAttribute Class Reference

-

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

- -

#include <tinyxml.h>

-
-Inheritance diagram for TiXmlAttribute:
-
-
- - -TiXmlBase - -
-
- -

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.
-

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

- -
-
- - - - - - - - - - - - - - - - - - -
virtual void TiXmlAttribute::Print (FILE *  cfile,
int  depth 
) 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.

- -
-
- -
-
- - - - - - - - - -
int TiXmlAttribute::QueryIntValue (int *  _value )  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.

- -
-
-
The documentation for this class was generated from the following file: -
-
Generated by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlAttribute.png b/Engine/lib/tinyxml/docs/classTiXmlAttribute.png deleted file mode 100644 index 0f8e59310..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlAttribute.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlBase-members.html b/Engine/lib/tinyxml/docs/classTiXmlBase-members.html deleted file mode 100644 index fe1aeb8c9..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlBase-members.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlBase.html b/Engine/lib/tinyxml/docs/classTiXmlBase.html deleted file mode 100644 index 4d1ba67ef..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlBase.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - -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 - -
-
- -

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
-

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 )
-
-	An Element can contain:	Element (container or leaf)
-							Text	(leaf)
-							Attributes (not on tree)
-							Comment (leaf)
-							Unknown (leaf)
-
-	A Decleration contains: Attributes (not on tree)
-	

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
static void TiXmlBase::EncodeString (const TIXML_STRING &  str,
TIXML_STRING *  out 
) [static]
-
-
- -

Expands entities in a string.

-

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

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
virtual void TiXmlBase::Print (FILE *  cfile,
int  depth 
) 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.

- -
-
- -
-
- - - - - - - - -
int TiXmlBase::Row ( )  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()
- -
-
- -
-
- - - - - - - - - -
static void TiXmlBase::SetCondenseWhiteSpace (bool  condense )  [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 documentation for this class was generated from the following file: -
-
Generated by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlBase.png b/Engine/lib/tinyxml/docs/classTiXmlBase.png deleted file mode 100644 index ca9d0dec9..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlBase.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlComment-members.html b/Engine/lib/tinyxml/docs/classTiXmlComment-members.html deleted file mode 100644 index 0d00704f0..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlComment-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlComment.html b/Engine/lib/tinyxml/docs/classTiXmlComment.html deleted file mode 100644 index e20244307..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlComment.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - -TinyXml: TiXmlComment Class Reference - - - - - - -
-

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.
-

Detailed Description

-

An XML comment.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
virtual void TiXmlComment::Print (FILE *  cfile,
int  depth 
) 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.

- -
-
-
The documentation for this class was generated from the following file: -
-
Generated by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlComment.png b/Engine/lib/tinyxml/docs/classTiXmlComment.png deleted file mode 100644 index 5fb1d1d34..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlComment.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlDeclaration-members.html b/Engine/lib/tinyxml/docs/classTiXmlDeclaration-members.html deleted file mode 100644 index d60174440..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlDeclaration-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlDeclaration.html b/Engine/lib/tinyxml/docs/classTiXmlDeclaration.html deleted file mode 100644 index e90cbcd21..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlDeclaration.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - -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.

- - - - - - - - - - - - - - - - - - - - - - - - -

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

- -
-
- - - - - - - - - - - - - - - - - - -
virtual void TiXmlDeclaration::Print (FILE *  cfile,
int  depth 
) 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.

- -
-
-
The documentation for this class was generated from the following file: -
-
Generated by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlDeclaration.png b/Engine/lib/tinyxml/docs/classTiXmlDeclaration.png deleted file mode 100644 index c16d71bfe..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlDeclaration.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlDocument-members.html b/Engine/lib/tinyxml/docs/classTiXmlDocument-members.html deleted file mode 100644 index 027257302..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlDocument-members.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlDocument.html b/Engine/lib/tinyxml/docs/classTiXmlDocument.html deleted file mode 100644 index b46bb27c8..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlDocument.html +++ /dev/null @@ -1,437 +0,0 @@ - - - - -TinyXml: TiXmlDocument Class Reference - - - - - - -
-

TiXmlDocument Class Reference

-

Always the top level node. -More...

- -

#include <tinyxml.h>

-
-Inheritance diagram for TiXmlDocument:
-
-
- - -TiXmlNode -TiXmlBase - -
-
- -

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.
-

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 ( )  [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.

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

Create an exact duplicate of this node and return it.

-

The memory must be deleted by the caller.

- -

Implements TiXmlNode.

- -
-
- -
-
- - - - - - - - -
bool TiXmlDocument::Error ( )  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)
  • -
- -
-
- -
-
- - - - - - - - -
int TiXmlDocument::ErrorId ( )  const [inline]
-
-
- -

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

-

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

- -
-
- -
-
- - - - - - - - -
int TiXmlDocument::ErrorRow ( )  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
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
bool TiXmlDocument::LoadFile (const std::string &  filename,
TiXmlEncoding  encoding = TIXML_DEFAULT_ENCODING 
) [inline]
-
-
-
Parameters:
- - -
encoding STL std::string version.
-
-
- -

References LoadFile().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
bool TiXmlDocument::LoadFile (FILE * ,
TiXmlEncoding  encoding = TIXML_DEFAULT_ENCODING 
)
-
-
- -

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 (TiXmlEncoding  encoding = TIXML_DEFAULT_ENCODING ) 
-
-
- -

Load a file using the current document value.

-

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

- -

Referenced by LoadFile().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual const char* TiXmlDocument::Parse (const char *  p,
TiXmlParsingData *  data = 0,
TiXmlEncoding  encoding = TIXML_DEFAULT_ENCODING 
) [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.

- -
-
- -
-
- - - - - - - - -
void TiXmlDocument::Print ( )  const [inline]
-
-
- -

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

- -

References Print().

- -

Referenced by Print().

- -
-
- -
-
- - - - - - - - -
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 )  [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;
-		doc.SetTabSize( 8 );
-		doc.Load( "myfile.xml" );
-		
See also:
Row, Column
- -
-
-
The documentation for this class was generated from the following file: -
-
Generated by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlDocument.png b/Engine/lib/tinyxml/docs/classTiXmlDocument.png deleted file mode 100644 index d27aca290..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlDocument.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlElement-members.html b/Engine/lib/tinyxml/docs/classTiXmlElement-members.html deleted file mode 100644 index dc8a33bec..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlElement-members.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - -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]
QueryBoolAttribute(const char *name, bool *_value) const TiXmlElement
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]
QueryUnsignedAttribute(const char *name, unsigned *_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 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.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlElement.html b/Engine/lib/tinyxml/docs/classTiXmlElement.html deleted file mode 100644 index 4d6a5e935..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlElement.html +++ /dev/null @@ -1,474 +0,0 @@ - - - - -TinyXml: TiXmlElement Class Reference - - - - - - -
-

TiXmlElement Class Reference

-

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

- -

#include <tinyxml.h>

-
-Inheritance diagram for TiXmlElement:
-
-
- - -TiXmlNode -TiXmlBase - -
-
- -

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 QueryUnsignedAttribute (const char *name, unsigned *_value) const
 QueryUnsignedAttribute examines the attribute - see QueryIntAttribute().
int QueryBoolAttribute (const char *name, bool *_value) const
 QueryBoolAttribute examines the attribute - see QueryIntAttribute().
-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

- -
-
- - - - - - - - - - - - - - - - - - -
const char* TiXmlElement::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.

-

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.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
const char* TiXmlElement::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.

-

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
-
-
- -

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.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
virtual void TiXmlElement::Print (FILE *  cfile,
int  depth 
) 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.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TiXmlElement::QueryBoolAttribute (const char *  name,
bool *  _value 
) const
-
-
- -

QueryBoolAttribute examines the attribute - see QueryIntAttribute().

-

Note that '1', 'true', or 'yes' are considered true, while '0', 'false' and 'no' are considered false.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TiXmlElement::QueryIntAttribute (const char *  name,
int *  _value 
) 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.

- -
-
- -
-
-
-template<typename T >
- - - - - - - - - - - - - - - - - - -
int TiXmlElement::QueryValueAttribute (const std::string &  name,
T *  outValue 
) 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 that contain spaces.

-
Returns:
TIXML_SUCCESS, TIXML_WRONG_TYPE, or TIXML_NO_ATTRIBUTE
- -

References TiXmlAttribute::ValueStr().

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

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 (const std::string &  name,
const std::string &  _value 
)
-
-
-

STL std::string form.

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

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::SetDoubleAttribute (const char *  name,
double  value 
)
-
-
- -

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.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlElement.png b/Engine/lib/tinyxml/docs/classTiXmlElement.png deleted file mode 100644 index 21e8c8f9e..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlElement.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlHandle-members.html b/Engine/lib/tinyxml/docs/classTiXmlHandle-members.html deleted file mode 100644 index 91fd69c3b..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlHandle-members.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlHandle.html b/Engine/lib/tinyxml/docs/classTiXmlHandle.html deleted file mode 100644 index 59ee217c3..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlHandle.html +++ /dev/null @@ -1,412 +0,0 @@ - - - - -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.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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>
-		<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" );
-	if ( root )
-	{
-		TiXmlElement* element = root->FirstChildElement( "Element" );
-		if ( element )
-		{
-			TiXmlElement* child = element->FirstChildElement( "Child" );
-			if ( child )
-			{
-				TiXmlElement* child2 = child->NextSiblingElement( "Child" );
-				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 );
-	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; 
-	while ( true )
-	{
-		TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", i ).ToElement();
-		if ( !child )
-			break;
-		// 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();
-
-	for( child; child; child=child->NextSiblingElement() )
-	{
-		// do something
-	}
-	

Member Function Documentation

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

Return a handle to the "index" child.

-

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

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
TiXmlHandle TiXmlHandle::Child (const char *  value,
int  index 
) const
-
-
- -

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

-

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

- -
-
- -
-
- - - - - - - - - -
TiXmlHandle TiXmlHandle::ChildElement (int  index )  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.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
TiXmlHandle TiXmlHandle::ChildElement (const char *  value,
int  index 
) 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.

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

References ToElement().

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

References ToNode().

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

References ToText().

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

Return the handle as a TiXmlElement.

-

This may return null.

- -

Referenced by Element().

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

Return the handle as a TiXmlNode.

-

This may return null.

- -

Referenced by Node().

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

Return the handle as a TiXmlText.

-

This may return null.

- -

Referenced by Text().

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

Return the handle as a TiXmlUnknown.

-

This may return null.

- -

Referenced by Unknown().

- -
-
- -
-
- - - - - - - - -
TiXmlUnknown* TiXmlHandle::Unknown ( )  const [inline]
-
-
-
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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlNode-members.html b/Engine/lib/tinyxml/docs/classTiXmlNode-members.html deleted file mode 100644 index 3151b6998..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlNode-members.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlNode.html b/Engine/lib/tinyxml/docs/classTiXmlNode.html deleted file mode 100644 index 5ba4bcf37..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlNode.html +++ /dev/null @@ -1,718 +0,0 @@ - - - - -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 - -
-
- -

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.
-

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

- -
-
- - - - -
enum TiXmlNode::NodeType
-
-
- -

The types of XML nodes supported by TinyXml.

-

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

- -
-
-

Member Function Documentation

- -
-
- - - - - - - - - -
virtual bool TiXmlNode::Accept (TiXmlVisitor visitor )  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:

- -

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.

- -
-
- -
-
- - - - - - - - -
virtual TiXmlNode* TiXmlNode::Clone ( )  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.

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

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

-

Will be null if none found.

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

Return a pointer to the Document this node lives in.

-

Returns null if not in a document.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
TiXmlNode* TiXmlNode::InsertAfterChild (TiXmlNode afterThis,
const TiXmlNode addThis 
)
-
-
- -

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.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
TiXmlNode* TiXmlNode::InsertBeforeChild (TiXmlNode beforeThis,
const TiXmlNode addThis 
)
-
-
- -

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 (const TiXmlNode 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.

- -
-
- -
-
- - - - - - - - - -
const TiXmlNode* TiXmlNode::IterateChildren (const TiXmlNode previous )  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;
-			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.

- -
-
- -
-
- - - - - - - - - -
TiXmlNode* TiXmlNode::LinkEndChild (TiXmlNode 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
- -
-
- -
-
- - - - - - - - - -
const TiXmlElement* TiXmlNode::NextSiblingElement (const char *  )  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.

- -
-
- -
-
- - - - - - - - -
const TiXmlElement* TiXmlNode::NextSiblingElement ( )  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.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
TiXmlNode* TiXmlNode::ReplaceChild (TiXmlNode replaceThis,
const TiXmlNode withThis 
)
-
-
- -

Replace a child of this node.

-

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

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

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 ( )  const [inline]
-
-
- -

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

-

The possible types are: TINYXML_DOCUMENT, TINYXML_ELEMENT, TINYXML_COMMENT, TINYXML_UNKNOWN, TINYXML_TEXT, and TINYXML_DECLARATION.

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

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.

- -
-
- -
-
- - - - - - - - -
const std::string& TiXmlNode::ValueStr ( )  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.

- -
-
-

Friends And Related Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
std::ostream& operator<< (std::ostream &  out,
const TiXmlNode base 
) [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.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
std::istream& operator>> (std::istream &  in,
TiXmlNode base 
) [friend]
-
-
- -

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: -
-
Generated by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlNode.png b/Engine/lib/tinyxml/docs/classTiXmlNode.png deleted file mode 100644 index 77ef876bb..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlNode.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlPrinter-members.html b/Engine/lib/tinyxml/docs/classTiXmlPrinter-members.html deleted file mode 100644 index b1e6f75da..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlPrinter-members.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlPrinter.html b/Engine/lib/tinyxml/docs/classTiXmlPrinter.html deleted file mode 100644 index 28be1e883..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlPrinter.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - -TinyXml: TiXmlPrinter Class Reference - - - - - - -
-

TiXmlPrinter Class Reference

-

Print to memory functionality. -More...

- -

#include <tinyxml.h>

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

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 unknown 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. -
  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

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

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 (const char *  _lineBreak )  [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.

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

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: -
-
Generated by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlPrinter.png b/Engine/lib/tinyxml/docs/classTiXmlPrinter.png deleted file mode 100644 index 6a5ff8e53..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlPrinter.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlText-members.html b/Engine/lib/tinyxml/docs/classTiXmlText-members.html deleted file mode 100644 index 11f7ef666..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlText-members.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlText.html b/Engine/lib/tinyxml/docs/classTiXmlText.html deleted file mode 100644 index fe3115400..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlText.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - -TinyXml: TiXmlText Class Reference - - - - - - -
-

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
-

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 (const char *  initValue )  [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'

- -

References TiXmlNode::SetValue().

- -
-
-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
virtual void TiXmlText::Print (FILE *  cfile,
int  depth 
) 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.

- -
-
-
The documentation for this class was generated from the following file: -
-
Generated by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlText.png b/Engine/lib/tinyxml/docs/classTiXmlText.png deleted file mode 100644 index ccd1c343e..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlText.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlUnknown-members.html b/Engine/lib/tinyxml/docs/classTiXmlUnknown-members.html deleted file mode 100644 index 512d4ae51..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlUnknown-members.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlUnknown.html b/Engine/lib/tinyxml/docs/classTiXmlUnknown.html deleted file mode 100644 index 17b3870b3..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlUnknown.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - -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.

- - - - - - - - - - - - -

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

- -
-
- - - - - - - - - - - - - - - - - - -
virtual void TiXmlUnknown::Print (FILE *  cfile,
int  depth 
) 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.

- -
-
-
The documentation for this class was generated from the following file: -
-
Generated by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlUnknown.png b/Engine/lib/tinyxml/docs/classTiXmlUnknown.png deleted file mode 100644 index caa0c235d..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlUnknown.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classTiXmlVisitor-members.html b/Engine/lib/tinyxml/docs/classTiXmlVisitor-members.html deleted file mode 100644 index 78f0439f0..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlVisitor-members.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - -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 by  - -doxygen 1.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlVisitor.html b/Engine/lib/tinyxml/docs/classTiXmlVisitor.html deleted file mode 100644 index 60c6a27db..000000000 --- a/Engine/lib/tinyxml/docs/classTiXmlVisitor.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - -TinyXml: TiXmlVisitor Class Reference - - - - - - -
-

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 unknown node.
-

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.6.2
- - diff --git a/Engine/lib/tinyxml/docs/classTiXmlVisitor.png b/Engine/lib/tinyxml/docs/classTiXmlVisitor.png deleted file mode 100644 index b47e145da..000000000 Binary files a/Engine/lib/tinyxml/docs/classTiXmlVisitor.png and /dev/null differ diff --git a/Engine/lib/tinyxml/docs/classes.html b/Engine/lib/tinyxml/docs/classes.html index 8e24e1bfd..c5048a5c6 100644 --- a/Engine/lib/tinyxml/docs/classes.html +++ b/Engine/lib/tinyxml/docs/classes.html @@ -1,38 +1,81 @@ - + -TinyXml: Alphabetical List + + + +TinyXML-2: Class Index - + + + + + + - - + +
+
+ + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+ + +
 tinyxml2.h
+
+
+ + diff --git a/Engine/lib/tinyxml/docs/folderclosed.png b/Engine/lib/tinyxml/docs/folderclosed.png new file mode 100644 index 000000000..bb8ab35ed Binary files /dev/null and b/Engine/lib/tinyxml/docs/folderclosed.png differ diff --git a/Engine/lib/tinyxml/docs/folderopen.png b/Engine/lib/tinyxml/docs/folderopen.png new file mode 100644 index 000000000..d6c7f676a Binary files /dev/null and b/Engine/lib/tinyxml/docs/folderopen.png differ diff --git a/Engine/lib/tinyxml/docs/functions.html b/Engine/lib/tinyxml/docs/functions.html index 66d97a619..91f878e7c 100644 --- a/Engine/lib/tinyxml/docs/functions.html +++ b/Engine/lib/tinyxml/docs/functions.html @@ -1,80 +1,87 @@ - + -TinyXml: Class Members + + + +TinyXML-2: Class Members - + + + + + + - -