Encode the specified object with the specified formattingMode for a choice type.

Synopsis

Declared in <balxml_encoder.h>

template<class TYPE>
int
executeImp(
    TYPE const& object,
    int formattingMode,
    bdlat_TypeCategory::Choice category);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

object

choice value to encode

formattingMode

formatting mode for the value

category

choice type‐category tag

Created with MrDocs