|
Types publics |
enum | NodeType {
DOCUMENT,
ELEMENT,
COMMENT,
UNKNOWN,
TEXT,
DECLARATION,
TYPECOUNT
} |
Fonctions membres publiques |
const char * | Value () const |
const std::string & | ValueStr () const |
void | SetValue (const char *_value) |
void | SetValue (const std::string &_value) |
| STL std::string form.
|
void | Clear () |
| Delete all the children of this node. Does not affect 'this'.
|
TiXmlNode * | Parent () |
| One step up the DOM.
|
const TiXmlNode * | Parent () const |
const TiXmlNode * | FirstChild () const |
| The first child of this node. Will be null if there are no children.
|
TiXmlNode * | FirstChild () |
const TiXmlNode * | FirstChild (const char *value) const |
| The first child of this node with the matching 'value'. Will be null if none found.
|
TiXmlNode * | FirstChild (const char *value) |
| The first child of this node with the matching 'value'. Will be null if none found.
|
const TiXmlNode * | LastChild () const |
TiXmlNode * | LastChild () |
| The last child of this node. Will be null if there are no children.
|
const TiXmlNode * | LastChild (const char *value) const |
TiXmlNode * | LastChild (const char *value) |
| The last child of this node matching 'value'. Will be null if there are no children.
|
const TiXmlNode * | FirstChild (const std::string &_value) const |
| STL std::string form.
|
TiXmlNode * | FirstChild (const std::string &_value) |
| STL std::string form.
|
const TiXmlNode * | LastChild (const std::string &_value) const |
| STL std::string form.
|
TiXmlNode * | LastChild (const std::string &_value) |
| STL std::string form.
|
const TiXmlNode * | IterateChildren (const TiXmlNode *previous) const |
TiXmlNode * | IterateChildren (TiXmlNode *previous) |
const TiXmlNode * | IterateChildren (const char *value, const TiXmlNode *previous) const |
| This flavor of IterateChildren searches for children with a particular 'value'.
|
TiXmlNode * | IterateChildren (const char *value, TiXmlNode *previous) |
const TiXmlNode * | IterateChildren (const std::string &_value, const TiXmlNode *previous) const |
| STL std::string form.
|
TiXmlNode * | IterateChildren (const std::string &_value, TiXmlNode *previous) |
| STL std::string form.
|
TiXmlNode * | InsertEndChild (const TiXmlNode &addThis) |
TiXmlNode * | LinkEndChild (TiXmlNode *addThis) |
TiXmlNode * | InsertBeforeChild (TiXmlNode *beforeThis, const TiXmlNode &addThis) |
TiXmlNode * | InsertAfterChild (TiXmlNode *afterThis, const TiXmlNode &addThis) |
TiXmlNode * | ReplaceChild (TiXmlNode *replaceThis, const TiXmlNode &withThis) |
bool | RemoveChild (TiXmlNode *removeThis) |
| Delete a child of this node.
|
const TiXmlNode * | PreviousSibling () const |
| Navigate to a sibling node.
|
TiXmlNode * | PreviousSibling () |
const TiXmlNode * | PreviousSibling (const char *) const |
| Navigate to a sibling node.
|
TiXmlNode * | PreviousSibling (const char *) |
const TiXmlNode * | PreviousSibling (const std::string &_value) const |
| STL std::string form.
|
TiXmlNode * | PreviousSibling (const std::string &_value) |
| STL std::string form.
|
const TiXmlNode * | NextSibling (const std::string &_value) const |
| STL std::string form.
|
TiXmlNode * | NextSibling (const std::string &_value) |
| STL std::string form.
|
const TiXmlNode * | NextSibling () const |
| Navigate to a sibling node.
|
TiXmlNode * | NextSibling () |
const TiXmlNode * | NextSibling (const char *) const |
| Navigate to a sibling node with the given 'value'.
|
TiXmlNode * | NextSibling (const char *) |
const TiXmlElement * | NextSiblingElement () const |
TiXmlElement * | NextSiblingElement () |
const TiXmlElement * | NextSiblingElement (const char *) const |
TiXmlElement * | NextSiblingElement (const char *) |
const TiXmlElement * | NextSiblingElement (const std::string &_value) const |
| STL std::string form.
|
TiXmlElement * | NextSiblingElement (const std::string &_value) |
| STL std::string form.
|
const TiXmlElement * | FirstChildElement () const |
| Convenience function to get through elements.
|
TiXmlElement * | FirstChildElement () |
const TiXmlElement * | FirstChildElement (const char *value) const |
| Convenience function to get through elements.
|
TiXmlElement * | FirstChildElement (const char *value) |
const TiXmlElement * | FirstChildElement (const std::string &_value) const |
| STL std::string form.
|
TiXmlElement * | FirstChildElement (const std::string &_value) |
| STL std::string form.
|
int | Type () const |
const TiXmlDocument * | GetDocument () const |
TiXmlDocument * | GetDocument () |
bool | NoChildren () const |
| Returns true if this node has no children.
|
const TiXmlDocument * | ToDocument () const |
| Cast to a more defined type. Will return null not of the requested type.
|
const TiXmlElement * | ToElement () const |
| Cast to a more defined type. Will return null not of the requested type.
|
const TiXmlComment * | ToComment () const |
| Cast to a more defined type. Will return null not of the requested type.
|
const TiXmlUnknown * | ToUnknown () const |
| Cast to a more defined type. Will return null not of the requested type.
|
const TiXmlText * | ToText () const |
| Cast to a more defined type. Will return null not of the requested type.
|
const TiXmlDeclaration * | ToDeclaration () const |
| Cast to a more defined type. Will return null not of the requested type.
|
TiXmlDocument * | ToDocument () |
| Cast to a more defined type. Will return null not of the requested type.
|
TiXmlElement * | ToElement () |
| Cast to a more defined type. Will return null not of the requested type.
|
TiXmlComment * | ToComment () |
| Cast to a more defined type. Will return null not of the requested type.
|
TiXmlUnknown * | ToUnknown () |
| Cast to a more defined type. Will return null not of the requested type.
|
TiXmlText * | ToText () |
| Cast to a more defined type. Will return null not of the requested type.
|
TiXmlDeclaration * | ToDeclaration () |
| Cast to a more defined type. Will return null not of the requested type.
|
virtual TiXmlNode * | Clone () const =0 |
Fonctions membres protégées |
| TiXmlNode (NodeType _type) |
void | CopyTo (TiXmlNode *target) const |
virtual void | StreamIn (TIXML_ISTREAM *in, TIXML_STRING *tag)=0 |
TiXmlNode * | Identify (const char *start, TiXmlEncoding encoding) |
Attributs protégés |
TiXmlNode * | parent |
NodeType | type |
TiXmlNode * | firstChild |
TiXmlNode * | lastChild |
TIXML_STRING | value |
TiXmlNode * | prev |
TiXmlNode * | next |
Amis |
class | TiXmlDocument |
class | TiXmlElement |
std::istream & | operator>> (std::istream &in, TiXmlNode &base) |
std::ostream & | operator<< (std::ostream &out, const TiXmlNode &base) |
std::string & | operator<< (std::string &out, const TiXmlNode &base) |
| Appends the XML node or attribute to a std::string.
|