BloombergLP::bslx::InStreamFunctions::bdexStreamInImp

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);
» more...

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);
» more...

Return Value

a reference to stream

Parameters

NameDescription
streaminput stream from which to read
variableenumeration to receive the unexternalized value
versionignored BDEX version (accepted for overload uniformity)
categorytag selecting the enumeration overload