Método System::IO::WrapSTDIOStream

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

Función wrapper para flujos tipo std::basic_iostream.

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)
ParámetroTipoDescripción
flujostd::basic_iostream<char_type, traits_type>&Flujo tipo std::basic_iostream
modeSTDIOStreamWrappingModeModo de envoltura
pref_posSTDIOStreamPositionPreferencePosición que se preferirá como posición de lectura y escritura, si son diferentes

ReturnValue

BasicSTDIOStreamWrapper wrapper

Ver también

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

Función wrapper para flujos tipo std::basic_istream.

template<typename char_type,typename traits_type> SharedPtr<Stream> System::IO::WrapSTDIOStream(std::basic_istream<char_type, traits_type> &stream, STDIOStreamWrappingMode mode=STDIOStreamWrappingMode::Binary)
ParámetroTipoDescripción
flujostd::basic_istream<char_type, traits_type>&Flujo tipo std::basic_istream
modeSTDIOStreamWrappingModeModo de envoltura

ReturnValue

BasicSTDIStreamWrapper wrapper

Ver también

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

Función wrapper para flujos tipo std::basic_ostream.

template<typename char_type,typename traits_type> SharedPtr<Stream> System::IO::WrapSTDIOStream(std::basic_ostream<char_type, traits_type> &stream, STDIOStreamWrappingMode mode=STDIOStreamWrappingMode::Binary)
ParámetroTipoDescripción
flujostd::basic_ostream<char_type, traits_type>&Flujo tipo std::basic_ostream
modeSTDIOStreamWrappingModeModo de envoltura

ReturnValue

BasicSTDOStreamWrapper wrapper

Ver también