BloombergLP::balxml::Decoder::decodeAny

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

Synopsis

Declared in <balxml_decoder.h>

std::istream&
decodeAny(
    std::istream& stream,
    bdlar::AnyRef* object,
    char const* uri = 0);

Return Value

a reference to the modifiable stream

Parameters

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