open overloads
Synopses
Declared in <balxml_utf8readerwrapper.h>
Set up the reader for parsing the XML file named by filename.
virtual
int
open(
char const* filename,
char const* encoding = 0) override;
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) override;
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) override;
Return Value
0 on success, and a non‐zero value otherwise
Parameters
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 |
Created with MrDocs