lsxml::XmlElement< _Ty > Class Template Reference

xml element class More...

#include <lsxml.h>

Inheritance diagram for lsxml::XmlElement< _Ty >:

lsxml::XmlNode< _Ty > lsxml::XmlNode< _Ty > lsxml::BaseObject lsxml::BaseObject lsxml::BaseObject lsxml::BaseObject List of all members.

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.

Detailed Description

template<typename _Ty>
class lsxml::XmlElement< _Ty >

xml element class


Constructor & Destructor Documentation

template<typename _Ty>
lsxml::XmlElement< _Ty >::XmlElement ( XmlString< _Ty > *  name  )  [inline]

Constructor.

Parameters:
name the element's name

template<typename _Ty>
lsxml::XmlElement< _Ty >::XmlElement ( const _Ty *  name  )  [inline]

Constructor.

Parameters:
name the element's name


The documentation for this class was generated from the following files:
Generated on Tue Sep 29 14:51:13 2009 for lsxml by  doxygen 1.5.1-p1