BloombergLP::balxml::Decoder::open

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);
» 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...

Return Value

0 on success and non-zero otherwise

Parameters

NameDescription
filenamepath of the XML file to open
streaminput stream providing XML data
urioptional URI identifying the input document in error messages
bufferbuffer providing XML data
lengthnumber of bytes in buffer