cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
XMLConstHandle Class Reference

A variant of the XMLHandle class for working with const XMLNodes and Documents. More...

#include <tinyxml2.h>

Public Member Functions

 XMLConstHandle (const XMLNode *node)
 XMLConstHandle (const XMLNode &node)
 XMLConstHandle (const XMLConstHandle &ref)
XMLConstHandle & operator= (const XMLConstHandle &ref)
const XMLConstHandle FirstChild () const
const XMLConstHandle FirstChildElement (const char *value=0) const
const XMLConstHandle LastChild () const
const XMLConstHandle LastChildElement (const char *_value=0) const
const XMLConstHandle PreviousSibling () const
const XMLConstHandle PreviousSiblingElement (const char *_value=0) const
const XMLConstHandle NextSibling () const
const XMLConstHandle NextSiblingElement (const char *_value=0) const
const XMLNode * ToNode () const
const XMLElement * ToElement () const
const XMLText * ToText () const
const XMLUnknown * ToUnknown () const
const XMLDeclaration * ToDeclaration () const

Detailed Description

A variant of the XMLHandle class for working with const XMLNodes and Documents.

It is the same in all regards, except for the 'const' qualifiers. See XMLHandle for API.

Constructor & Destructor Documentation

XMLConstHandle ( const XMLNode *  node)
inline
XMLConstHandle ( const XMLNode &  node)
inline
XMLConstHandle ( const XMLConstHandle &  ref)
inline

Member Function Documentation

const XMLConstHandle FirstChild ( ) const
inline
const XMLConstHandle
FirstChildElement
( const char *  value = 0) const
inline
const XMLConstHandle LastChild ( ) const
inline
const XMLConstHandle
LastChildElement
( const char *  _value = 0) const
inline
const XMLConstHandle NextSibling ( ) const
inline
const XMLConstHandle
NextSiblingElement
( const char *  _value = 0) const
inline
XMLConstHandle& operator= ( const XMLConstHandle &  ref)
inline
const XMLConstHandle
PreviousSibling
( ) const
inline
const XMLConstHandle
PreviousSiblingElement
( const char *  _value = 0) const
inline
const XMLDeclaration* ToDeclaration ( ) const
inline
const XMLElement* ToElement ( ) const
inline
const XMLNode* ToNode ( ) const
inline
const XMLText* ToText ( ) const
inline
const XMLUnknown* ToUnknown ( ) const
inline

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