System::IO::WrapSTDIOStream Methode

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

Wrapper‑Funktion für std::basic_iostream‑ähnliche 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)
ParameterTypBeschreibung
Streamstd::basic_iostream<char_type, traits_type>&std::basic_iostream‑ähnlicher Stream
modeSTDIOStreamWrappingModeWrap‑Modus
pref_posSTDIOStreamPositionPreferencePosition, die als Lese- und Schreibposition bevorzugt wird, wenn sie unterschiedlich sind

ReturnValue

BasicSTDIOStreamWrapper wrapper

Siehe auch

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

Wrapper-Funktion für std::basic_istream-ähnliche 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)
ParameterTypBeschreibung
Streamstd::basic_istream<char_type, traits_type>&std::basic_istream-ähnlicher Stream
modeSTDIOStreamWrappingModeWrap‑Modus

ReturnValue

BasicSTDIStreamWrapper wrapper

Siehe auch

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

Wrapper-Funktion für std::basic_ostream-ähnliche 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)
ParameterTypBeschreibung
Streamstd::basic_ostream<char_type, traits_type>&std::basic_ostream-ähnlicher Stream
modeSTDIOStreamWrappingModeWrap‑Modus

ReturnValue

BasicSTDOStreamWrapper wrapper

Siehe auch