open overloads
Synopses
Declared in <balxml_decoder.h>
Open the reader to decode XML from the file with the specified filename.
int
open(char const* filename);
Open the reader to decode XML from the specified stream.
int
open(
std::istream& stream,
char const* uri = 0);
Open the reader to decode XML from the specified stream buffer.
int
open(
std::streambuf* buffer,
char const* uri = 0);
Open the reader to decode XML from the specified memory buffer.
int
open(
char const* buffer,
std::size_t length,
char const* uri = 0);
Return Value
0 on success and non‐zero otherwise
Parameters
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 |
Created with MrDocs