System::IO::WrapSTDIOStream メソッド

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

std::basic_iostream-like ストリーム用のラッパー関数です。

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)
パラメーター説明
ストリームstd::basic_iostream<char_type, traits_type>&std::basic_iostream-like ストリーム
modeSTDIOStreamWrappingModeラッピングモード
pref_posSTDIOStreamPositionPreference読み取り位置と書き込み位置が異なる場合に優先される位置

ReturnValue

BasicSTDIOStreamWrapper wrapper

参照

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

std::basic_istream-like ストリーム用のラッパー関数です。

template<typename char_type,typename traits_type> SharedPtr<Stream> System::IO::WrapSTDIOStream(std::basic_istream<char_type, traits_type> &stream, STDIOStreamWrappingMode mode=STDIOStreamWrappingMode::Binary)
パラメーター説明
ストリームstd::basic_istream<char_type, traits_type>&std::basic_istream-like ストリーム
modeSTDIOStreamWrappingModeラッピングモード

ReturnValue

BasicSTDIStreamWrapper wrapper

参照

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

std::basic_ostream-like ストリーム用のラッパー関数です。

template<typename char_type,typename traits_type> SharedPtr<Stream> System::IO::WrapSTDIOStream(std::basic_ostream<char_type, traits_type> &stream, STDIOStreamWrappingMode mode=STDIOStreamWrappingMode::Binary)
パラメーター説明
ストリームstd::basic_ostream<char_type, traits_type>&std::basic_ostream-like ストリーム
modeSTDIOStreamWrappingModeラッピングモード

ReturnValue

BasicSTDOStreamWrapper wrapper

参照