Encode the specified object with the specified formattingMode for a choice type.
Declared in <balxml_encoder.h>
template<class TYPE>
int
executeImp(
TYPE const& object,
int formattingMode,
bdlat_TypeCategory::Choice category);
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| object | choice value to encode |
| formattingMode | formatting mode for the value |
| category | choice type-category tag |