#include <lsxml.h>
Inheritance diagram for lsxml::XmlElement< _Ty >:

Public Member Functions | |
| XmlElement () | |
| ctor | |
| XmlElement (XmlString< _Ty > *value) | |
| ctor | |
| XmlElement (const _Ty *value) | |
| ctor | |
| virtual void | AppendChild (XmlNode< _Ty > *node) |
| appends a child node to this element | |
| virtual bool | RemoveChild (XmlNode< _Ty > *node) |
| removes a child node | |
| const _Ty * | GetInnerText (const _Ty *def=0) const |
| returns the concatenated value of all child text nodes | |
| int | GetInnerInt (int def=0) const |
| returns the concatenated value of all child text nodes as an integer | |
| XmlElement () | |
| Constructor. | |
| XmlElement (XmlString< _Ty > *name) | |
| Constructor. | |
| XmlElement (const _Ty *name) | |
| Constructor. | |
| virtual void | AppendChild (XmlNode< _Ty > *node) |
| Appends a child node to this element. | |
| virtual bool | RemoveChild (XmlNode< _Ty > *node) |
| Removes a child node. | |
| const _Ty * | GetInnerText (const _Ty *def=0) const |
| Returns the concatenated value of all child text nodes. | |
| int | GetInnerInt (int def=0) const |
| Returns the concatenated value of all child text nodes as an integer. | |
| void | SetInnerText (const _Ty *text) |
| Sets the text contents of this element. | |
| lsxml::XmlElement< _Ty >::XmlElement | ( | XmlString< _Ty > * | name | ) | [inline] |
Constructor.
| name | the element's name |
| lsxml::XmlElement< _Ty >::XmlElement | ( | const _Ty * | name | ) | [inline] |
Constructor.
| name | the element's name |
1.5.1-p1