Return the universal tag number for the specified object with the specified formattingMode using the specified options.

Synopsis

Declared in <balber_beruniversaltagnumber.h>

template<typename TYPE>
static
BerUniversalTagNumber::Value
select(
    TYPE const& object,
    int formattingMode,
    BerEncoderOptions const* options);

Description

The behavior is undefined if the type category of object and the formattingMode do not permit a universal tag number (see for allowed type categories and formatting modes).

Return Value

universal BER tag number for object

Parameters

Name

Description

object

object whose universal tag number is selected

formattingMode

formatting mode used to select the tag number

options

encoder options that influence tag selection

Created with MrDocs