Encode the specified object without instantiating templates at compile time.

Synopsis

Declared in <balxml_encoder.h>

int
encodeAny(
    Formatter& formatter,
    bdlar::AnyConstRef const& object);

Description

Return 0 on success, and a non‐zero value otherwise.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

formatter

XML formatter to receive the encoded value

object

type‐erased value to encode

Created with MrDocs