WrapSTDIOStream()
Contents
[
Hide
]System::IO::WrapSTDIOStream(std::basic_istream<char_type, traits_type>&, STDIOStreamWrappingMode) function
Wrapper function for std::basic_istream-like 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)
Arguments
Parameter | Type | Description |
---|---|---|
stream | std::basic_istream<char_type, traits_type>& | std::basic_istream-like stream |
mode | STDIOStreamWrappingMode | Wrapping mode |
Return Value
BasicSTDIStreamWrapper wrapper
System::IO::WrapSTDIOStream(std::basic_ostream<char_type, traits_type>&, STDIOStreamWrappingMode) function
Wrapper function for std::basic_ostream-like 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)
Arguments
Parameter | Type | Description |
---|---|---|
stream | std::basic_ostream<char_type, traits_type>& | std::basic_ostream-like stream |
mode | STDIOStreamWrappingMode | Wrapping mode |
Return Value
BasicSTDOStreamWrapper wrapper
System::IO::WrapSTDIOStream(std::basic_iostream<char_type, traits_type>&, STDIOStreamWrappingMode, STDIOStreamPositionPreference) function
Wrapper function for std::basic_iostream-like 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)
Arguments
Parameter | Type | Description |
---|---|---|
stream | std::basic_iostream<char_type, traits_type>& | std::basic_iostream-like stream |
mode | STDIOStreamWrappingMode | Wrapping mode |
pref_pos | STDIOStreamPositionPreference | Position that will prefer as read and write position, if they are different |
Return Value
BasicSTDIOStreamWrapper wrapper
See Also
- Enum STDIOStreamWrappingMode
- Enum STDIOStreamPositionPreference
- Typedef SharedPtr
- Class Stream
- Namespace System::IO
- Library Aspose.Slides