Openholo  v4.2
Open Source Digital Holographic Library
tinyxml2::XMLHandle Class Reference

#include <tinyxml2.h>

Public Member Functions

 XMLHandle (XMLNode *node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer. More...
 
 XMLHandle (XMLNode &node)
 Create a handle from a node. More...
 
 XMLHandle (const XMLHandle &ref)
 Copy constructor. More...
 
XMLHandleoperator= (const XMLHandle &ref)
 Assignment. More...
 
XMLHandle FirstChild ()
 Get the first child of this handle. More...
 
XMLHandle FirstChildElement (const char *name=0)
 Get the first child element of this handle. More...
 
XMLHandle LastChild ()
 Get the last child of this handle. More...
 
XMLHandle LastChildElement (const char *name=0)
 Get the last child element of this handle. More...
 
XMLHandle PreviousSibling ()
 Get the previous sibling of this handle. More...
 
XMLHandle PreviousSiblingElement (const char *name=0)
 Get the previous sibling element of this handle. More...
 
XMLHandle NextSibling ()
 Get the next sibling of this handle. More...
 
XMLHandle NextSiblingElement (const char *name=0)
 Get the next sibling element of this handle. More...
 
XMLNodeToNode ()
 Safe cast to XMLNode. This can return null. More...
 
XMLElementToElement ()
 Safe cast to XMLElement. This can return null. More...
 
XMLTextToText ()
 Safe cast to XMLText. This can return null. More...
 
XMLUnknownToUnknown ()
 Safe cast to XMLUnknown. This can return null. More...
 
XMLDeclarationToDeclaration ()
 Safe cast to XMLDeclaration. This can return null. More...
 
 XMLHandle (XMLNode *node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer. More...
 
 XMLHandle (XMLNode &node)
 Create a handle from a node. More...
 
 XMLHandle (const XMLHandle &ref)
 Copy constructor. More...
 
XMLHandleoperator= (const XMLHandle &ref)
 Assignment. More...
 
XMLHandle FirstChild ()
 Get the first child of this handle. More...
 
XMLHandle FirstChildElement (const char *name=0)
 Get the first child element of this handle. More...
 
XMLHandle LastChild ()
 Get the last child of this handle. More...
 
XMLHandle LastChildElement (const char *name=0)
 Get the last child element of this handle. More...
 
XMLHandle PreviousSibling ()
 Get the previous sibling of this handle. More...
 
XMLHandle PreviousSiblingElement (const char *name=0)
 Get the previous sibling element of this handle. More...
 
XMLHandle NextSibling ()
 Get the next sibling of this handle. More...
 
XMLHandle NextSiblingElement (const char *name=0)
 Get the next sibling element of this handle. More...
 
XMLNodeToNode ()
 Safe cast to XMLNode. This can return null. More...
 
XMLElementToElement ()
 Safe cast to XMLElement. This can return null. More...
 
XMLTextToText ()
 Safe cast to XMLText. This can return null. More...
 
XMLUnknownToUnknown ()
 Safe cast to XMLUnknown. This can return null. More...
 
XMLDeclarationToDeclaration ()
 Safe cast to XMLDeclaration. This can return null. More...
 
 XMLHandle (XMLNode *node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer. More...
 
 XMLHandle (XMLNode &node)
 Create a handle from a node. More...
 
 XMLHandle (const XMLHandle &ref)
 Copy constructor. More...
 
XMLHandleoperator= (const XMLHandle &ref)
 Assignment. More...
 
XMLHandle FirstChild ()
 Get the first child of this handle. More...
 
XMLHandle FirstChildElement (const char *name=0)
 Get the first child element of this handle. More...
 
XMLHandle LastChild ()
 Get the last child of this handle. More...
 
XMLHandle LastChildElement (const char *name=0)
 Get the last child element of this handle. More...
 
XMLHandle PreviousSibling ()
 Get the previous sibling of this handle. More...
 
XMLHandle PreviousSiblingElement (const char *name=0)
 Get the previous sibling element of this handle. More...
 
XMLHandle NextSibling ()
 Get the next sibling of this handle. More...
 
XMLHandle NextSiblingElement (const char *name=0)
 Get the next sibling element of this handle. More...
 
XMLNodeToNode ()
 Safe cast to XMLNode. This can return null. More...
 
XMLElementToElement ()
 Safe cast to XMLElement. This can return null. More...
 
XMLTextToText ()
 Safe cast to XMLText. This can return null. More...
 
XMLUnknownToUnknown ()
 Safe cast to XMLUnknown. This can return null. More...
 
XMLDeclarationToDeclaration ()
 Safe cast to XMLDeclaration. This can return null. More...
 
 XMLHandle (XMLNode *node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer. More...
 
 XMLHandle (XMLNode &node)
 Create a handle from a node. More...
 
 XMLHandle (const XMLHandle &ref)
 Copy constructor. More...
 
XMLHandleoperator= (const XMLHandle &ref)
 Assignment. More...
 
XMLHandle FirstChild ()
 Get the first child of this handle. More...
 
XMLHandle FirstChildElement (const char *name=0)
 Get the first child element of this handle. More...
 
XMLHandle LastChild ()
 Get the last child of this handle. More...
 
XMLHandle LastChildElement (const char *name=0)
 Get the last child element of this handle. More...
 
XMLHandle PreviousSibling ()
 Get the previous sibling of this handle. More...
 
XMLHandle PreviousSiblingElement (const char *name=0)
 Get the previous sibling element of this handle. More...
 
XMLHandle NextSibling ()
 Get the next sibling of this handle. More...
 
XMLHandle NextSiblingElement (const char *name=0)
 Get the next sibling element of this handle. More...
 
XMLNodeToNode ()
 Safe cast to XMLNode. This can return null. More...
 
XMLElementToElement ()
 Safe cast to XMLElement. This can return null. More...
 
XMLTextToText ()
 Safe cast to XMLText. This can return null. More...
 
XMLUnknownToUnknown ()
 Safe cast to XMLUnknown. This can return null. More...
 
XMLDeclarationToDeclaration ()
 Safe cast to XMLDeclaration. This can return null. More...
 
 XMLHandle (XMLNode *node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer. More...
 
 XMLHandle (XMLNode &node)
 Create a handle from a node. More...
 
 XMLHandle (const XMLHandle &ref)
 Copy constructor. More...
 
XMLHandleoperator= (const XMLHandle &ref)
 Assignment. More...
 
XMLHandle FirstChild ()
 Get the first child of this handle. More...
 
XMLHandle FirstChildElement (const char *name=0)
 Get the first child element of this handle. More...
 
XMLHandle LastChild ()
 Get the last child of this handle. More...
 
XMLHandle LastChildElement (const char *name=0)
 Get the last child element of this handle. More...
 
XMLHandle PreviousSibling ()
 Get the previous sibling of this handle. More...
 
XMLHandle PreviousSiblingElement (const char *name=0)
 Get the previous sibling element of this handle. More...
 
XMLHandle NextSibling ()
 Get the next sibling of this handle. More...
 
XMLHandle NextSiblingElement (const char *name=0)
 Get the next sibling element of this handle. More...
 
XMLNodeToNode ()
 Safe cast to XMLNode. This can return null. More...
 
XMLElementToElement ()
 Safe cast to XMLElement. This can return null. More...
 
XMLTextToText ()
 Safe cast to XMLText. This can return null. More...
 
XMLUnknownToUnknown ()
 Safe cast to XMLUnknown. This can return null. More...
 
XMLDeclarationToDeclaration ()
 Safe cast to XMLDeclaration. This can return null. More...
 
 XMLHandle (XMLNode *node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer. More...
 
 XMLHandle (XMLNode &node)
 Create a handle from a node. More...
 
 XMLHandle (const XMLHandle &ref)
 Copy constructor. More...
 
XMLHandleoperator= (const XMLHandle &ref)
 Assignment. More...
 
XMLHandle FirstChild ()
 Get the first child of this handle. More...
 
XMLHandle FirstChildElement (const char *name=0)
 Get the first child element of this handle. More...
 
XMLHandle LastChild ()
 Get the last child of this handle. More...
 
XMLHandle LastChildElement (const char *name=0)
 Get the last child element of this handle. More...
 
XMLHandle PreviousSibling ()
 Get the previous sibling of this handle. More...
 
XMLHandle PreviousSiblingElement (const char *name=0)
 Get the previous sibling element of this handle. More...
 
XMLHandle NextSibling ()
 Get the next sibling of this handle. More...
 
XMLHandle NextSiblingElement (const char *name=0)
 Get the next sibling element of this handle. More...
 
XMLNodeToNode ()
 Safe cast to XMLNode. This can return null. More...
 
XMLElementToElement ()
 Safe cast to XMLElement. This can return null. More...
 
XMLTextToText ()
 Safe cast to XMLText. This can return null. More...
 
XMLUnknownToUnknown ()
 Safe cast to XMLUnknown. This can return null. More...
 
XMLDeclarationToDeclaration ()
 Safe cast to XMLDeclaration. This can return null. More...
 
 XMLHandle (XMLNode *node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer. More...
 
 XMLHandle (XMLNode &node)
 Create a handle from a node. More...
 
 XMLHandle (const XMLHandle &ref)
 Copy constructor. More...
 
XMLHandleoperator= (const XMLHandle &ref)
 Assignment. More...
 
XMLHandle FirstChild ()
 Get the first child of this handle. More...
 
XMLHandle FirstChildElement (const char *name=0)
 Get the first child element of this handle. More...
 
XMLHandle LastChild ()
 Get the last child of this handle. More...
 
XMLHandle LastChildElement (const char *name=0)
 Get the last child element of this handle. More...
 
XMLHandle PreviousSibling ()
 Get the previous sibling of this handle. More...
 
XMLHandle PreviousSiblingElement (const char *name=0)
 Get the previous sibling element of this handle. More...
 
XMLHandle NextSibling ()
 Get the next sibling of this handle. More...
 
XMLHandle NextSiblingElement (const char *name=0)
 Get the next sibling element of this handle. More...
 
XMLNodeToNode ()
 Safe cast to XMLNode. This can return null. More...
 
XMLElementToElement ()
 Safe cast to XMLElement. This can return null. More...
 
XMLTextToText ()
 Safe cast to XMLText. This can return null. More...
 
XMLUnknownToUnknown ()
 Safe cast to XMLUnknown. This can return null. More...
 
XMLDeclarationToDeclaration ()
 Safe cast to XMLDeclaration. This can return null. More...
 
 XMLHandle (XMLNode *node)
 Create a handle from any node (at any depth of the tree.) This can be a null pointer. More...
 
 XMLHandle (XMLNode &node)
 Create a handle from a node. More...
 
 XMLHandle (const XMLHandle &ref)
 Copy constructor. More...
 
XMLHandleoperator= (const XMLHandle &ref)
 Assignment. More...
 
XMLHandle FirstChild ()
 Get the first child of this handle. More...
 
XMLHandle FirstChildElement (const char *name=0)
 Get the first child element of this handle. More...
 
XMLHandle LastChild ()
 Get the last child of this handle. More...
 
XMLHandle LastChildElement (const char *name=0)
 Get the last child element of this handle. More...
 
XMLHandle PreviousSibling ()
 Get the previous sibling of this handle. More...
 
XMLHandle PreviousSiblingElement (const char *name=0)
 Get the previous sibling element of this handle. More...
 
XMLHandle NextSibling ()
 Get the next sibling of this handle. More...
 
XMLHandle NextSiblingElement (const char *name=0)
 Get the next sibling element of this handle. More...
 
XMLNodeToNode ()
 Safe cast to XMLNode. This can return null. More...
 
XMLElementToElement ()
 Safe cast to XMLElement. This can return null. More...
 
XMLTextToText ()
 Safe cast to XMLText. This can return null. More...
 
XMLUnknownToUnknown ()
 Safe cast to XMLUnknown. This can return null. More...
 
XMLDeclarationToDeclaration ()
 Safe cast to XMLDeclaration. This can return null. More...
 

Detailed Description

A XMLHandle is a class that wraps a node pointer with null checks; this is an incredibly useful thing. Note that XMLHandle is not part of the TinyXML-2 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:

XMLElement* root = document.FirstChildElement( "Document" );
if ( root )
{
    XMLElement* element = root->FirstChildElement( "Element" );
    if ( element )
    {
        XMLElement* child = element->FirstChildElement( "Child" );
        if ( child )
        {
            XMLElement* child2 = child->NextSiblingElement( "Child" );
            if ( child2 )
            {
                // Finally do something useful.

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

XMLHandle docHandle( &document );
XMLElement* child2 = docHandle.FirstChildElement( "Document" ).FirstChildElement( "Element" ).FirstChildElement().NextSiblingElement();
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.

XMLHandle handleCopy = handle;

See also XMLConstHandle, which is the same as XMLHandle, but operates on const objects.

Definition at line 1989 of file tinyxml2.h.

Constructor & Destructor Documentation

◆ XMLHandle() [1/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from any node (at any depth of the tree.) This can be a null pointer.

Definition at line 1993 of file tinyxml2.h.

◆ XMLHandle() [2/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from a node.

Definition at line 1996 of file tinyxml2.h.

◆ XMLHandle() [3/24]

tinyxml2::XMLHandle::XMLHandle ( const XMLHandle ref)
inline

Copy constructor.

Definition at line 1999 of file tinyxml2.h.

◆ XMLHandle() [4/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from any node (at any depth of the tree.) This can be a null pointer.

Definition at line 1993 of file tinyxml2.h.

◆ XMLHandle() [5/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from a node.

Definition at line 1996 of file tinyxml2.h.

◆ XMLHandle() [6/24]

tinyxml2::XMLHandle::XMLHandle ( const XMLHandle ref)
inline

Copy constructor.

Definition at line 1999 of file tinyxml2.h.

◆ XMLHandle() [7/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from any node (at any depth of the tree.) This can be a null pointer.

Definition at line 1993 of file tinyxml2.h.

◆ XMLHandle() [8/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from a node.

Definition at line 1996 of file tinyxml2.h.

◆ XMLHandle() [9/24]

tinyxml2::XMLHandle::XMLHandle ( const XMLHandle ref)
inline

Copy constructor.

Definition at line 1999 of file tinyxml2.h.

◆ XMLHandle() [10/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from any node (at any depth of the tree.) This can be a null pointer.

Definition at line 1993 of file tinyxml2.h.

◆ XMLHandle() [11/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from a node.

Definition at line 1996 of file tinyxml2.h.

◆ XMLHandle() [12/24]

tinyxml2::XMLHandle::XMLHandle ( const XMLHandle ref)
inline

Copy constructor.

Definition at line 1999 of file tinyxml2.h.

◆ XMLHandle() [13/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from any node (at any depth of the tree.) This can be a null pointer.

Definition at line 1993 of file tinyxml2.h.

◆ XMLHandle() [14/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from a node.

Definition at line 1996 of file tinyxml2.h.

◆ XMLHandle() [15/24]

tinyxml2::XMLHandle::XMLHandle ( const XMLHandle ref)
inline

Copy constructor.

Definition at line 1999 of file tinyxml2.h.

◆ XMLHandle() [16/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from any node (at any depth of the tree.) This can be a null pointer.

Definition at line 1993 of file tinyxml2.h.

◆ XMLHandle() [17/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from a node.

Definition at line 1996 of file tinyxml2.h.

◆ XMLHandle() [18/24]

tinyxml2::XMLHandle::XMLHandle ( const XMLHandle ref)
inline

Copy constructor.

Definition at line 1999 of file tinyxml2.h.

◆ XMLHandle() [19/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from any node (at any depth of the tree.) This can be a null pointer.

Definition at line 1993 of file tinyxml2.h.

◆ XMLHandle() [20/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from a node.

Definition at line 1996 of file tinyxml2.h.

◆ XMLHandle() [21/24]

tinyxml2::XMLHandle::XMLHandle ( const XMLHandle ref)
inline

Copy constructor.

Definition at line 1999 of file tinyxml2.h.

◆ XMLHandle() [22/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from any node (at any depth of the tree.) This can be a null pointer.

Definition at line 1993 of file tinyxml2.h.

◆ XMLHandle() [23/24]

tinyxml2::XMLHandle::XMLHandle ( XMLNode node)
inline

Create a handle from a node.

Definition at line 1996 of file tinyxml2.h.

◆ XMLHandle() [24/24]

tinyxml2::XMLHandle::XMLHandle ( const XMLHandle ref)
inline

Copy constructor.

Definition at line 1999 of file tinyxml2.h.

Member Function Documentation

◆ FirstChild() [1/8]

XMLHandle tinyxml2::XMLHandle::FirstChild ( )
inline

Get the first child of this handle.

Definition at line 2008 of file tinyxml2.h.

◆ FirstChild() [2/8]

XMLHandle tinyxml2::XMLHandle::FirstChild ( )
inline

Get the first child of this handle.

Definition at line 2008 of file tinyxml2.h.

◆ FirstChild() [3/8]

XMLHandle tinyxml2::XMLHandle::FirstChild ( )
inline

Get the first child of this handle.

Definition at line 2008 of file tinyxml2.h.

◆ FirstChild() [4/8]

XMLHandle tinyxml2::XMLHandle::FirstChild ( )
inline

Get the first child of this handle.

Definition at line 2008 of file tinyxml2.h.

◆ FirstChild() [5/8]

XMLHandle tinyxml2::XMLHandle::FirstChild ( )
inline

Get the first child of this handle.

Definition at line 2008 of file tinyxml2.h.

◆ FirstChild() [6/8]

XMLHandle tinyxml2::XMLHandle::FirstChild ( )
inline

Get the first child of this handle.

Definition at line 2008 of file tinyxml2.h.

◆ FirstChild() [7/8]

XMLHandle tinyxml2::XMLHandle::FirstChild ( )
inline

Get the first child of this handle.

Definition at line 2008 of file tinyxml2.h.

◆ FirstChild() [8/8]

XMLHandle tinyxml2::XMLHandle::FirstChild ( )
inline

Get the first child of this handle.

Definition at line 2008 of file tinyxml2.h.

◆ FirstChildElement() [1/8]

XMLHandle tinyxml2::XMLHandle::FirstChildElement ( const char *  name = 0)
inline

Get the first child element of this handle.

Definition at line 2012 of file tinyxml2.h.

◆ FirstChildElement() [2/8]

XMLHandle tinyxml2::XMLHandle::FirstChildElement ( const char *  name = 0)
inline

Get the first child element of this handle.

Definition at line 2012 of file tinyxml2.h.

◆ FirstChildElement() [3/8]

XMLHandle tinyxml2::XMLHandle::FirstChildElement ( const char *  name = 0)
inline

Get the first child element of this handle.

Definition at line 2012 of file tinyxml2.h.

◆ FirstChildElement() [4/8]

XMLHandle tinyxml2::XMLHandle::FirstChildElement ( const char *  name = 0)
inline

Get the first child element of this handle.

Definition at line 2012 of file tinyxml2.h.

◆ FirstChildElement() [5/8]

XMLHandle tinyxml2::XMLHandle::FirstChildElement ( const char *  name = 0)
inline

Get the first child element of this handle.

Definition at line 2012 of file tinyxml2.h.

◆ FirstChildElement() [6/8]

XMLHandle tinyxml2::XMLHandle::FirstChildElement ( const char *  name = 0)
inline

Get the first child element of this handle.

Definition at line 2012 of file tinyxml2.h.

◆ FirstChildElement() [7/8]

XMLHandle tinyxml2::XMLHandle::FirstChildElement ( const char *  name = 0)
inline

Get the first child element of this handle.

Definition at line 2012 of file tinyxml2.h.

◆ FirstChildElement() [8/8]

XMLHandle tinyxml2::XMLHandle::FirstChildElement ( const char *  name = 0)
inline

Get the first child element of this handle.

Definition at line 2012 of file tinyxml2.h.

◆ LastChild() [1/8]

XMLHandle tinyxml2::XMLHandle::LastChild ( )
inline

Get the last child of this handle.

Definition at line 2016 of file tinyxml2.h.

◆ LastChild() [2/8]

XMLHandle tinyxml2::XMLHandle::LastChild ( )
inline

Get the last child of this handle.

Definition at line 2016 of file tinyxml2.h.

◆ LastChild() [3/8]

XMLHandle tinyxml2::XMLHandle::LastChild ( )
inline

Get the last child of this handle.

Definition at line 2016 of file tinyxml2.h.

◆ LastChild() [4/8]

XMLHandle tinyxml2::XMLHandle::LastChild ( )
inline

Get the last child of this handle.

Definition at line 2016 of file tinyxml2.h.

◆ LastChild() [5/8]

XMLHandle tinyxml2::XMLHandle::LastChild ( )
inline

Get the last child of this handle.

Definition at line 2016 of file tinyxml2.h.

◆ LastChild() [6/8]

XMLHandle tinyxml2::XMLHandle::LastChild ( )
inline

Get the last child of this handle.

Definition at line 2016 of file tinyxml2.h.

◆ LastChild() [7/8]

XMLHandle tinyxml2::XMLHandle::LastChild ( )
inline

Get the last child of this handle.

Definition at line 2016 of file tinyxml2.h.

◆ LastChild() [8/8]

XMLHandle tinyxml2::XMLHandle::LastChild ( )
inline

Get the last child of this handle.

Definition at line 2016 of file tinyxml2.h.

◆ LastChildElement() [1/8]

XMLHandle tinyxml2::XMLHandle::LastChildElement ( const char *  name = 0)
inline

Get the last child element of this handle.

Definition at line 2020 of file tinyxml2.h.

◆ LastChildElement() [2/8]

XMLHandle tinyxml2::XMLHandle::LastChildElement ( const char *  name = 0)
inline

Get the last child element of this handle.

Definition at line 2020 of file tinyxml2.h.

◆ LastChildElement() [3/8]

XMLHandle tinyxml2::XMLHandle::LastChildElement ( const char *  name = 0)
inline

Get the last child element of this handle.

Definition at line 2020 of file tinyxml2.h.

◆ LastChildElement() [4/8]

XMLHandle tinyxml2::XMLHandle::LastChildElement ( const char *  name = 0)
inline

Get the last child element of this handle.

Definition at line 2020 of file tinyxml2.h.

◆ LastChildElement() [5/8]

XMLHandle tinyxml2::XMLHandle::LastChildElement ( const char *  name = 0)
inline

Get the last child element of this handle.

Definition at line 2020 of file tinyxml2.h.

◆ LastChildElement() [6/8]

XMLHandle tinyxml2::XMLHandle::LastChildElement ( const char *  name = 0)
inline

Get the last child element of this handle.

Definition at line 2020 of file tinyxml2.h.

◆ LastChildElement() [7/8]

XMLHandle tinyxml2::XMLHandle::LastChildElement ( const char *  name = 0)
inline

Get the last child element of this handle.

Definition at line 2020 of file tinyxml2.h.

◆ LastChildElement() [8/8]

XMLHandle tinyxml2::XMLHandle::LastChildElement ( const char *  name = 0)
inline

Get the last child element of this handle.

Definition at line 2020 of file tinyxml2.h.

◆ NextSibling() [1/8]

XMLHandle tinyxml2::XMLHandle::NextSibling ( )
inline

Get the next sibling of this handle.

Definition at line 2032 of file tinyxml2.h.

◆ NextSibling() [2/8]

XMLHandle tinyxml2::XMLHandle::NextSibling ( )
inline

Get the next sibling of this handle.

Definition at line 2032 of file tinyxml2.h.

◆ NextSibling() [3/8]

XMLHandle tinyxml2::XMLHandle::NextSibling ( )
inline

Get the next sibling of this handle.

Definition at line 2032 of file tinyxml2.h.

◆ NextSibling() [4/8]

XMLHandle tinyxml2::XMLHandle::NextSibling ( )
inline

Get the next sibling of this handle.

Definition at line 2032 of file tinyxml2.h.

◆ NextSibling() [5/8]

XMLHandle tinyxml2::XMLHandle::NextSibling ( )
inline

Get the next sibling of this handle.

Definition at line 2032 of file tinyxml2.h.

◆ NextSibling() [6/8]

XMLHandle tinyxml2::XMLHandle::NextSibling ( )
inline

Get the next sibling of this handle.

Definition at line 2032 of file tinyxml2.h.

◆ NextSibling() [7/8]

XMLHandle tinyxml2::XMLHandle::NextSibling ( )
inline

Get the next sibling of this handle.

Definition at line 2032 of file tinyxml2.h.

◆ NextSibling() [8/8]

XMLHandle tinyxml2::XMLHandle::NextSibling ( )
inline

Get the next sibling of this handle.

Definition at line 2032 of file tinyxml2.h.

◆ NextSiblingElement() [1/8]

XMLHandle tinyxml2::XMLHandle::NextSiblingElement ( const char *  name = 0)
inline

Get the next sibling element of this handle.

Definition at line 2036 of file tinyxml2.h.

◆ NextSiblingElement() [2/8]

XMLHandle tinyxml2::XMLHandle::NextSiblingElement ( const char *  name = 0)
inline

Get the next sibling element of this handle.

Definition at line 2036 of file tinyxml2.h.

◆ NextSiblingElement() [3/8]

XMLHandle tinyxml2::XMLHandle::NextSiblingElement ( const char *  name = 0)
inline

Get the next sibling element of this handle.

Definition at line 2036 of file tinyxml2.h.

◆ NextSiblingElement() [4/8]

XMLHandle tinyxml2::XMLHandle::NextSiblingElement ( const char *  name = 0)
inline

Get the next sibling element of this handle.

Definition at line 2036 of file tinyxml2.h.

◆ NextSiblingElement() [5/8]

XMLHandle tinyxml2::XMLHandle::NextSiblingElement ( const char *  name = 0)
inline

Get the next sibling element of this handle.

Definition at line 2036 of file tinyxml2.h.

◆ NextSiblingElement() [6/8]

XMLHandle tinyxml2::XMLHandle::NextSiblingElement ( const char *  name = 0)
inline

Get the next sibling element of this handle.

Definition at line 2036 of file tinyxml2.h.

◆ NextSiblingElement() [7/8]

XMLHandle tinyxml2::XMLHandle::NextSiblingElement ( const char *  name = 0)
inline

Get the next sibling element of this handle.

Definition at line 2036 of file tinyxml2.h.

◆ NextSiblingElement() [8/8]

XMLHandle tinyxml2::XMLHandle::NextSiblingElement ( const char *  name = 0)
inline

Get the next sibling element of this handle.

Definition at line 2036 of file tinyxml2.h.

◆ operator=() [1/8]

XMLHandle& tinyxml2::XMLHandle::operator= ( const XMLHandle ref)
inline

Assignment.

Definition at line 2002 of file tinyxml2.h.

◆ operator=() [2/8]

XMLHandle& tinyxml2::XMLHandle::operator= ( const XMLHandle ref)
inline

Assignment.

Definition at line 2002 of file tinyxml2.h.

◆ operator=() [3/8]

XMLHandle& tinyxml2::XMLHandle::operator= ( const XMLHandle ref)
inline

Assignment.

Definition at line 2002 of file tinyxml2.h.

◆ operator=() [4/8]

XMLHandle& tinyxml2::XMLHandle::operator= ( const XMLHandle ref)
inline

Assignment.

Definition at line 2002 of file tinyxml2.h.

◆ operator=() [5/8]

XMLHandle& tinyxml2::XMLHandle::operator= ( const XMLHandle ref)
inline

Assignment.

Definition at line 2002 of file tinyxml2.h.

◆ operator=() [6/8]

XMLHandle& tinyxml2::XMLHandle::operator= ( const XMLHandle ref)
inline

Assignment.

Definition at line 2002 of file tinyxml2.h.

◆ operator=() [7/8]

XMLHandle& tinyxml2::XMLHandle::operator= ( const XMLHandle ref)
inline

Assignment.

Definition at line 2002 of file tinyxml2.h.

◆ operator=() [8/8]

XMLHandle& tinyxml2::XMLHandle::operator= ( const XMLHandle ref)
inline

Assignment.

Definition at line 2002 of file tinyxml2.h.

◆ PreviousSibling() [1/8]

XMLHandle tinyxml2::XMLHandle::PreviousSibling ( )
inline

Get the previous sibling of this handle.

Definition at line 2024 of file tinyxml2.h.

◆ PreviousSibling() [2/8]

XMLHandle tinyxml2::XMLHandle::PreviousSibling ( )
inline

Get the previous sibling of this handle.

Definition at line 2024 of file tinyxml2.h.

◆ PreviousSibling() [3/8]

XMLHandle tinyxml2::XMLHandle::PreviousSibling ( )
inline

Get the previous sibling of this handle.

Definition at line 2024 of file tinyxml2.h.

◆ PreviousSibling() [4/8]

XMLHandle tinyxml2::XMLHandle::PreviousSibling ( )
inline

Get the previous sibling of this handle.

Definition at line 2024 of file tinyxml2.h.

◆ PreviousSibling() [5/8]

XMLHandle tinyxml2::XMLHandle::PreviousSibling ( )
inline

Get the previous sibling of this handle.

Definition at line 2024 of file tinyxml2.h.

◆ PreviousSibling() [6/8]

XMLHandle tinyxml2::XMLHandle::PreviousSibling ( )
inline

Get the previous sibling of this handle.

Definition at line 2024 of file tinyxml2.h.

◆ PreviousSibling() [7/8]

XMLHandle tinyxml2::XMLHandle::PreviousSibling ( )
inline

Get the previous sibling of this handle.

Definition at line 2024 of file tinyxml2.h.

◆ PreviousSibling() [8/8]

XMLHandle tinyxml2::XMLHandle::PreviousSibling ( )
inline

Get the previous sibling of this handle.

Definition at line 2024 of file tinyxml2.h.

◆ PreviousSiblingElement() [1/8]

XMLHandle tinyxml2::XMLHandle::PreviousSiblingElement ( const char *  name = 0)
inline

Get the previous sibling element of this handle.

Definition at line 2028 of file tinyxml2.h.

◆ PreviousSiblingElement() [2/8]

XMLHandle tinyxml2::XMLHandle::PreviousSiblingElement ( const char *  name = 0)
inline

Get the previous sibling element of this handle.

Definition at line 2028 of file tinyxml2.h.

◆ PreviousSiblingElement() [3/8]

XMLHandle tinyxml2::XMLHandle::PreviousSiblingElement ( const char *  name = 0)
inline

Get the previous sibling element of this handle.

Definition at line 2028 of file tinyxml2.h.

◆ PreviousSiblingElement() [4/8]

XMLHandle tinyxml2::XMLHandle::PreviousSiblingElement ( const char *  name = 0)
inline

Get the previous sibling element of this handle.

Definition at line 2028 of file tinyxml2.h.

◆ PreviousSiblingElement() [5/8]

XMLHandle tinyxml2::XMLHandle::PreviousSiblingElement ( const char *  name = 0)
inline

Get the previous sibling element of this handle.

Definition at line 2028 of file tinyxml2.h.

◆ PreviousSiblingElement() [6/8]

XMLHandle tinyxml2::XMLHandle::PreviousSiblingElement ( const char *  name = 0)
inline

Get the previous sibling element of this handle.

Definition at line 2028 of file tinyxml2.h.

◆ PreviousSiblingElement() [7/8]

XMLHandle tinyxml2::XMLHandle::PreviousSiblingElement ( const char *  name = 0)
inline

Get the previous sibling element of this handle.

Definition at line 2028 of file tinyxml2.h.

◆ PreviousSiblingElement() [8/8]

XMLHandle tinyxml2::XMLHandle::PreviousSiblingElement ( const char *  name = 0)
inline

Get the previous sibling element of this handle.

Definition at line 2028 of file tinyxml2.h.

◆ ToDeclaration() [1/8]

XMLDeclaration* tinyxml2::XMLHandle::ToDeclaration ( )
inline

Safe cast to XMLDeclaration. This can return null.

Definition at line 2057 of file tinyxml2.h.

◆ ToDeclaration() [2/8]

XMLDeclaration* tinyxml2::XMLHandle::ToDeclaration ( )
inline

Safe cast to XMLDeclaration. This can return null.

Definition at line 2057 of file tinyxml2.h.

◆ ToDeclaration() [3/8]

XMLDeclaration* tinyxml2::XMLHandle::ToDeclaration ( )
inline

Safe cast to XMLDeclaration. This can return null.

Definition at line 2057 of file tinyxml2.h.

◆ ToDeclaration() [4/8]

XMLDeclaration* tinyxml2::XMLHandle::ToDeclaration ( )
inline

Safe cast to XMLDeclaration. This can return null.

Definition at line 2057 of file tinyxml2.h.

◆ ToDeclaration() [5/8]

XMLDeclaration* tinyxml2::XMLHandle::ToDeclaration ( )
inline

Safe cast to XMLDeclaration. This can return null.

Definition at line 2057 of file tinyxml2.h.

◆ ToDeclaration() [6/8]

XMLDeclaration* tinyxml2::XMLHandle::ToDeclaration ( )
inline

Safe cast to XMLDeclaration. This can return null.

Definition at line 2057 of file tinyxml2.h.

◆ ToDeclaration() [7/8]

XMLDeclaration* tinyxml2::XMLHandle::ToDeclaration ( )
inline

Safe cast to XMLDeclaration. This can return null.

Definition at line 2057 of file tinyxml2.h.

◆ ToDeclaration() [8/8]

XMLDeclaration* tinyxml2::XMLHandle::ToDeclaration ( )
inline

Safe cast to XMLDeclaration. This can return null.

Definition at line 2057 of file tinyxml2.h.

◆ ToElement() [1/8]

XMLElement* tinyxml2::XMLHandle::ToElement ( )
inline

Safe cast to XMLElement. This can return null.

Definition at line 2045 of file tinyxml2.h.

◆ ToElement() [2/8]

XMLElement* tinyxml2::XMLHandle::ToElement ( )
inline

Safe cast to XMLElement. This can return null.

Definition at line 2045 of file tinyxml2.h.

◆ ToElement() [3/8]

XMLElement* tinyxml2::XMLHandle::ToElement ( )
inline

Safe cast to XMLElement. This can return null.

Definition at line 2045 of file tinyxml2.h.

◆ ToElement() [4/8]

XMLElement* tinyxml2::XMLHandle::ToElement ( )
inline

Safe cast to XMLElement. This can return null.

Definition at line 2045 of file tinyxml2.h.

◆ ToElement() [5/8]

XMLElement* tinyxml2::XMLHandle::ToElement ( )
inline

Safe cast to XMLElement. This can return null.

Definition at line 2045 of file tinyxml2.h.

◆ ToElement() [6/8]

XMLElement* tinyxml2::XMLHandle::ToElement ( )
inline

Safe cast to XMLElement. This can return null.

Definition at line 2045 of file tinyxml2.h.

◆ ToElement() [7/8]

XMLElement* tinyxml2::XMLHandle::ToElement ( )
inline

Safe cast to XMLElement. This can return null.

Definition at line 2045 of file tinyxml2.h.

◆ ToElement() [8/8]

XMLElement* tinyxml2::XMLHandle::ToElement ( )
inline

Safe cast to XMLElement. This can return null.

Definition at line 2045 of file tinyxml2.h.

◆ ToNode() [1/8]

XMLNode* tinyxml2::XMLHandle::ToNode ( )
inline

Safe cast to XMLNode. This can return null.

Definition at line 2041 of file tinyxml2.h.

◆ ToNode() [2/8]

XMLNode* tinyxml2::XMLHandle::ToNode ( )
inline

Safe cast to XMLNode. This can return null.

Definition at line 2041 of file tinyxml2.h.

◆ ToNode() [3/8]

XMLNode* tinyxml2::XMLHandle::ToNode ( )
inline

Safe cast to XMLNode. This can return null.

Definition at line 2041 of file tinyxml2.h.

◆ ToNode() [4/8]

XMLNode* tinyxml2::XMLHandle::ToNode ( )
inline

Safe cast to XMLNode. This can return null.

Definition at line 2041 of file tinyxml2.h.

◆ ToNode() [5/8]

XMLNode* tinyxml2::XMLHandle::ToNode ( )
inline

Safe cast to XMLNode. This can return null.

Definition at line 2041 of file tinyxml2.h.

◆ ToNode() [6/8]

XMLNode* tinyxml2::XMLHandle::ToNode ( )
inline

Safe cast to XMLNode. This can return null.

Definition at line 2041 of file tinyxml2.h.

◆ ToNode() [7/8]

XMLNode* tinyxml2::XMLHandle::ToNode ( )
inline

Safe cast to XMLNode. This can return null.

Definition at line 2041 of file tinyxml2.h.

◆ ToNode() [8/8]

XMLNode* tinyxml2::XMLHandle::ToNode ( )
inline

Safe cast to XMLNode. This can return null.

Definition at line 2041 of file tinyxml2.h.

◆ ToText() [1/8]

XMLText* tinyxml2::XMLHandle::ToText ( )
inline

Safe cast to XMLText. This can return null.

Definition at line 2049 of file tinyxml2.h.

◆ ToText() [2/8]

XMLText* tinyxml2::XMLHandle::ToText ( )
inline

Safe cast to XMLText. This can return null.

Definition at line 2049 of file tinyxml2.h.

◆ ToText() [3/8]

XMLText* tinyxml2::XMLHandle::ToText ( )
inline

Safe cast to XMLText. This can return null.

Definition at line 2049 of file tinyxml2.h.

◆ ToText() [4/8]

XMLText* tinyxml2::XMLHandle::ToText ( )
inline

Safe cast to XMLText. This can return null.

Definition at line 2049 of file tinyxml2.h.

◆ ToText() [5/8]

XMLText* tinyxml2::XMLHandle::ToText ( )
inline

Safe cast to XMLText. This can return null.

Definition at line 2049 of file tinyxml2.h.

◆ ToText() [6/8]

XMLText* tinyxml2::XMLHandle::ToText ( )
inline

Safe cast to XMLText. This can return null.

Definition at line 2049 of file tinyxml2.h.

◆ ToText() [7/8]

XMLText* tinyxml2::XMLHandle::ToText ( )
inline

Safe cast to XMLText. This can return null.

Definition at line 2049 of file tinyxml2.h.

◆ ToText() [8/8]

XMLText* tinyxml2::XMLHandle::ToText ( )
inline

Safe cast to XMLText. This can return null.

Definition at line 2049 of file tinyxml2.h.

◆ ToUnknown() [1/8]

XMLUnknown* tinyxml2::XMLHandle::ToUnknown ( )
inline

Safe cast to XMLUnknown. This can return null.

Definition at line 2053 of file tinyxml2.h.

◆ ToUnknown() [2/8]

XMLUnknown* tinyxml2::XMLHandle::ToUnknown ( )
inline

Safe cast to XMLUnknown. This can return null.

Definition at line 2053 of file tinyxml2.h.

◆ ToUnknown() [3/8]

XMLUnknown* tinyxml2::XMLHandle::ToUnknown ( )
inline

Safe cast to XMLUnknown. This can return null.

Definition at line 2053 of file tinyxml2.h.

◆ ToUnknown() [4/8]

XMLUnknown* tinyxml2::XMLHandle::ToUnknown ( )
inline

Safe cast to XMLUnknown. This can return null.

Definition at line 2053 of file tinyxml2.h.

◆ ToUnknown() [5/8]

XMLUnknown* tinyxml2::XMLHandle::ToUnknown ( )
inline

Safe cast to XMLUnknown. This can return null.

Definition at line 2053 of file tinyxml2.h.

◆ ToUnknown() [6/8]

XMLUnknown* tinyxml2::XMLHandle::ToUnknown ( )
inline

Safe cast to XMLUnknown. This can return null.

Definition at line 2053 of file tinyxml2.h.

◆ ToUnknown() [7/8]

XMLUnknown* tinyxml2::XMLHandle::ToUnknown ( )
inline

Safe cast to XMLUnknown. This can return null.

Definition at line 2053 of file tinyxml2.h.

◆ ToUnknown() [8/8]

XMLUnknown* tinyxml2::XMLHandle::ToUnknown ( )
inline

Safe cast to XMLUnknown. This can return null.

Definition at line 2053 of file tinyxml2.h.


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