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

Public Member Functions | |
| XmlReader (int flags=XRF_DEFAULT) | |
| ctor | |
| XmlReader (InputStream< _Ty > *s, int flags=XRF_DEFAULT) | |
| ctor | |
| XmlReader (const _Ty *begin, const _Ty *end, int flags=XRF_DEFAULT) | |
| ctor | |
| XmlReader (const _Ty *begin, int flags=XRF_DEFAULT) | |
| ctor | |
| ~XmlReader () | |
| dtor | |
| bool | IsOpen () const |
| checks if the reader is associated with a stream | |
| void | Close () |
| disposes of the stream | |
| bool | IsCDATA () const |
| checks if the current node is a CDATA text node | |
| XmlReadStatus | Read () |
| Reads the next element in the stream. | |
| XmlNodeType | GetNodeType () const |
| returns the type of the current node | |
| const XmlString< _Ty > * | GetNodeValue () const |
| returns the value of the current node | |
| const XmlAttribute< _Ty > * | GetNodeAttributes () const |
| returns the attributes of the current node | |
| int | GetNodeAttribCount () const |
| returns the number of the current node's attributes | |
| void | SetFlags (int flags) |
| sets the parser flags | |
| int | GetFlags () const |
| gets the parser flags | |
| XmlReader (int flags=XRF_DEFAULT) | |
| Constructor. | |
| XmlReader (InputStream< _Ty > *s, int flags=XRF_DEFAULT) | |
| Constructor. | |
| XmlReader (const _Ty *begin, const _Ty *end, int flags=XRF_DEFAULT) | |
| Constructor. | |
| XmlReader (const _Ty *begin, int flags=XRF_DEFAULT) | |
| Constructor. | |
| ~XmlReader () | |
| Destructor. | |
| bool | OpenFile (const _Ty *filename) |
| Opens a file stream. | |
| bool | IsOpen () const |
| Checks if the reader is associated with a stream. | |
| void | Close () |
| Disposes of the stream. | |
| bool | IsCDATA () const |
| Checks if the current node is a CDATA text node. | |
| XmlReadStatus | Read () |
| Reads the next element in the stream. | |
| XmlNodeType | GetNodeType () const |
| Returns the type of the current node. | |
| const XmlString< _Ty > * | GetNodeValue () const |
| Returns the value of the current node. | |
| const XmlAttribute< _Ty > * | GetNodeAttributes () const |
| Returns the attributes of the current node. | |
| int | GetNodeAttribCount () const |
| Returns the number of the current node's attributes. | |
| void | SetFlags (int flags) |
| Sets the parser flags. | |
| int | GetFlags () const |
| Gets the parser flags. | |
| lsxml::XmlReader< _Ty >::XmlReader | ( | int | flags = XRF_DEFAULT |
) | [inline] |
| lsxml::XmlReader< _Ty >::XmlReader | ( | InputStream< _Ty > * | s, | |
| int | flags = XRF_DEFAULT | |||
| ) | [inline] |
| lsxml::XmlReader< _Ty >::XmlReader | ( | const _Ty * | begin, | |
| const _Ty * | end, | |||
| int | flags = XRF_DEFAULT | |||
| ) | [inline] |
Constructor.
| begin | address of the first character of the XML string | |
| end | address of the character past the last character of the XML string (if 0, the address of the zero terminating character is taken) | |
| flags | reader flags |
| lsxml::XmlReader< _Ty >::XmlReader | ( | const _Ty * | begin, | |
| int | flags = XRF_DEFAULT | |||
| ) | [inline] |
Constructor.
| begin | address of the first character of the XML string | |
| flags | reader flags |
| bool lsxml::XmlReader< _Ty >::OpenFile | ( | const _Ty * | filename | ) | [inline] |
Opens a file stream.
| filename | name of the file to open |
| void lsxml::XmlReader< _Ty >::SetFlags | ( | int | flags | ) |
| int lsxml::XmlReader< _Ty >::GetFlags | ( | ) | const [inline] |
1.5.1-p1