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

Synopsis

Declared in <balber_beruniversaltagnumber.h>

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

Description

Load into the specified alternateTag any alternative tag numbers corresponding to object. The behavior is undefined if the type category of object and the formattingMode does not permit a universal tag number (see for allowed type categories and formatting modes). Note that if an alternate tag number does not exist for object then alternateTag is not modified.

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

alternateTag

destination for any alternate tag number

Created with MrDocs