XBinder XML Runtime
XBinder Version 3.0.x
|
Class enabling parsing of an XML Schema list into strings. More...
#include <rtXmlpCppDecFuncs.h>
Public Member Functions | |
OSXMLStringListParser (OSCTXT *pctxt) | |
Create a parser on the given context. More... | |
int | next (OSRTXMLString &value) |
Assign the next string from the XML schema list to value. More... | |
Class enabling parsing of an XML Schema list into strings.
Definition at line 47 of file rtXmlpCppDecFuncs.h.
OSXMLStringListParser::OSXMLStringListParser | ( | OSCTXT * | pctxt | ) |
Create a parser on the given context.
The OSXMLReader associated with the context is used to read the XML value.
pctxt | Holds state information and provides access to the input that is to be parsed. |
int OSXMLStringListParser::next | ( | OSRTXMLString & | value | ) |
Assign the next string from the XML schema list to value.
To get all of the values from the list, call this function repeatedly until it returns zero or a negative value. After that, this object can no longer be used.
value | Receives the next string value or empty string if there isn't one. |