System::IO::WrapSTDIOStream‑metod

System::IO::WrapSTDIOStream(std::basic_iostream<char_type, traits_type>&, STDIOStreamWrappingMode, STDIOStreamPositionPreference) method

Omslutningsfunktion för std::basic_iostream‑liknande strömmar.

template<typename char_type,typename traits_type> SharedPtr<Stream> System::IO::WrapSTDIOStream(std::basic_iostream<char_type, traits_type> &stream, STDIOStreamWrappingMode mode=STDIOStreamWrappingMode::Binary, STDIOStreamPositionPreference pref_pos=STDIOStreamPositionPreference::Zero)
ParameterTypBeskrivning
strömstd::basic_iostream<char_type, traits_type>&std::basic_iostream‑liknande ström
lägeSTDIOStreamWrappingModeOmslutningsläge
pref_posSTDIOStreamPositionPreferencePosition som föredras som läs‑ och skrivposition om de är olika

ReturnValue

BasicSTDIOStreamWrapper wrapper

Se även

System::IO::WrapSTDIOStream(std::basic_istream<char_type, traits_type>&, STDIOStreamWrappingMode) method

Omslutningsfunktion för std::basic_istream‑liknande strömmar.

template<typename char_type,typename traits_type> SharedPtr<Stream> System::IO::WrapSTDIOStream(std::basic_istream<char_type, traits_type> &stream, STDIOStreamWrappingMode mode=STDIOStreamWrappingMode::Binary)
ParameterTypBeskrivning
strömstd::basic_istream<char_type, traits_type>&std::basic_istream‑liknande ström
lägeSTDIOStreamWrappingModeOmslutningsläge

ReturnValue

BasicSTDIStreamWrapper wrapper

Se även

System::IO::WrapSTDIOStream(std::basic_ostream<char_type, traits_type>&, STDIOStreamWrappingMode) method

Omslutningsfunktion för std::basic_ostream‑liknande strömmar.

template<typename char_type,typename traits_type> SharedPtr<Stream> System::IO::WrapSTDIOStream(std::basic_ostream<char_type, traits_type> &stream, STDIOStreamWrappingMode mode=STDIOStreamWrappingMode::Binary)
ParameterTypBeskrivning
strömstd::basic_ostream<char_type, traits_type>&std::basic_ostream‑liknande ström
lägeSTDIOStreamWrappingModeOmslutningsläge

ReturnValue

BasicSTDOStreamWrapper wrapper

Se även