Método System::IO::WrapSTDIOStream

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

Función contenedora 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
modoSTDIOStreamWrappingModeModo 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 contenedora 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
modoSTDIOStreamWrappingModeModo de envoltura

ReturnValue

BasicSTDIStreamWrapper wrapper

Ver también

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

Función contenedora 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 similar a std::basic_ostream
modoSTDIOStreamWrappingModeModo de envoltura

ReturnValue

BasicSTDOStreamWrapper wrapper

Ver también