Encode the specified object using the bound encoder state and the specified category.

Synopsis

Declared in <balxml_encoder.h>

template<
    class TYPE,
    class ANY_CATEGORY>
int
operator()(
    TYPE const& object,
    ANY_CATEGORY category);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

object

value to encode

category

type‐category tag used for overload selection

Created with MrDocs