BloombergLP::balxml::Decoder::decodeAny

Decode into a type-erased bdlar::AnyRef from the specified buffer.

Synopsis

Declared in <balxml_decoder.h>

int
decodeAny(
    std::streambuf* buffer,
    bdlar::AnyRef* object,
    char const* uri = 0);

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
bufferbuffer providing XML data
objectobject being decoded
urioptional URI identifying the input document in error messages