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

Name

Description

buffer

buffer providing XML data

object

object being decoded

uri

optional URI identifying the input document in error messages

Created with MrDocs