Encode the specified object for the given category.

Synopsis

Declared in <balber_berencoder.h>

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

Description

Encode the specified object having the specified category.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

object

value to encode

category

bdlat type category for object

Created with MrDocs