open overloads
Declared in <balxml_reader.h>
Set up the reader for parsing the XML file named by filename.
virtual
int
open(
char const* filename,
char const* encoding = 0) = 0;
» more...
Set up the reader for parsing the XML data in the specified stream.
virtual
int
open(
std::streambuf* stream,
char const* url = 0,
char const* encoding = 0) = 0;
» more...
Set up the reader for parsing the XML data in the specified buffer.
virtual
int
open(
char const* buffer,
std::size_t size,
char const* url = 0,
char const* encoding = 0) = 0;
» more...
0 on success and non-zero otherwise
| Name | Description |
|---|---|
| filename | path of the XML file to parse |
| encoding | optional document encoding override |
| stream | stream buffer containing the XML document |
| url | optional base URL for the document |
| buffer | memory containing the XML document |
| size | number of bytes in buffer |