open overloads
Declared in <balxml_decoder.h>
Open the reader to decode XML from the file with the specified filename.
int
open(char const* filename);
» more...
Open the reader to decode XML from the specified stream.
int
open(
std::istream& stream,
char const* uri = 0);
» more...
Open the reader to decode XML from the specified stream buffer.
int
open(
std::streambuf* buffer,
char const* uri = 0);
» more...
Open the reader to decode XML from the specified memory buffer.
int
open(
char const* buffer,
std::size_t length,
char const* uri = 0);
» more...
0 on success and non-zero otherwise
| Name | Description |
|---|---|
| filename | path of the XML file to open |
| stream | input stream providing XML data |
| uri | optional URI identifying the input document in error messages |
| buffer | buffer providing XML data |
| length | number of bytes in buffer |