System::IO::WrapSTDIOStream-methode

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

Wrapper-functie voor std::basic_iostream-achtige streams.

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)
ParameterTypeBeschrijving
streamstd::basic_iostream<char_type, traits_type>&std::basic_iostream-achtige stream
modeSTDIOStreamWrappingModeWrap-modus
pref_posSTDIOStreamPositionPreferencePositie die als lees- en schrijfpositie wordt geprefereerd, als deze verschillend zijn.

ReturnValue

BasicSTDIOStreamWrapper wrapper

Zie ook

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

Wrapper-functie voor std::basic_istream-achtige streams.

template<typename char_type,typename traits_type> SharedPtr<Stream> System::IO::WrapSTDIOStream(std::basic_istream<char_type, traits_type> &stream, STDIOStreamWrappingMode mode=STDIOStreamWrappingMode::Binary)
ParameterTypeBeschrijving
streamstd::basic_istream<char_type, traits_type>&std::basic_istream-achtige stream
modeSTDIOStreamWrappingModeWrap-modus

ReturnValue

BasicSTDIStreamWrapper wrapper

Zie ook

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

Wrapper-functie voor std::basic_ostream-achtige streams.

template<typename char_type,typename traits_type> SharedPtr<Stream> System::IO::WrapSTDIOStream(std::basic_ostream<char_type, traits_type> &stream, STDIOStreamWrappingMode mode=STDIOStreamWrappingMode::Binary)
ParameterTypeBeschrijving
streamstd::basic_ostream<char_type, traits_type>&std::basic_ostream-achtige stream
modeSTDIOStreamWrappingModeWrap-modus

ReturnValue

BasicSTDOStreamWrapper wrapper

Zie ook