Encode the specified object using metadata from the specified info.

Synopsis

Declared in <balxml_encoder.h>

template<
    class TYPE,
    class INFO_TYPE>
int
operator()(
    TYPE const& object,
    INFO_TYPE const& info);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

object

value to encode

info

element metadata providing name and formatting mode

Created with MrDocs