bdexStreamInImp overloads

Synopses

Declared in <bslx_instreamfunctions.h>

Unexternalize an enumeration VALUE_TYPE from stream into variable.

template<
    class STREAM,
    class VALUE_TYPE>
STREAM&
bdexStreamInImp(
    STREAM& stream,
    VALUE_TYPE& variable,
    int version,
    IsEnumType const& category);

Unexternalize a non‐enumeration VALUE_TYPE from stream into variable.

template<
    class STREAM,
    class VALUE_TYPE>
STREAM&
bdexStreamInImp(
    STREAM& stream,
    VALUE_TYPE& variable,
    int version,
    IsNotEnumType const& category);

Return Value

a reference to stream

Parameters

Name

Description

stream

input stream from which to read

variable

enumeration to receive the unexternalized value

version

ignored BDEX version (accepted for overload uniformity)

category

tag selecting the enumeration overload

Created with MrDocs