System::IO::WrapSTDIOStream-metod

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

Wrapper-funktion 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)
ParameterTypeBeskrivning
strömstd::basic_iostream<char_type, traits_type>&std::basic_iostream-liknande ström
modeSTDIOStreamWrappingModeInslagningslä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

Wrapper-funktion 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)
ParameterTypeBeskrivning
strömstd::basic_istream<char_type, traits_type>&std::basic_istream-liknande ström
modeSTDIOStreamWrappingModeInslagningsläge

ReturnValue

BasicSTDIStreamWrapper wrapper

Se även

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

Wrapper-funktion 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)
ParameterTypeBeskrivning
strömstd::basic_ostream<char_type, traits_type>&std::basic_ostream-liknande ström
modeSTDIOStreamWrappingModeInslagningsläge

ReturnValue

BasicSTDOStreamWrapper wrapper

Se även