System::IO::WrapSTDIOStream method
Contents
[
Hide
]System::IO::WrapSTDIOStream(std::basic_iostream<char_type, traits_type>&, STDIOStreamWrappingMode, STDIOStreamPositionPreference) method
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)
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 |
ReturnValue
BasicSTDIOStreamWrapper wrapper
See Also
- Typedef SharedPtr
- Class Stream
- Enum STDIOStreamWrappingMode
- Enum STDIOStreamPositionPreference
- Namespace System::IO
- Library Aspose.PUB for C++
System::IO::WrapSTDIOStream(std::basic_istream<char_type, traits_type>&, STDIOStreamWrappingMode) method
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)
Parameter | Type | Description |
---|---|---|
stream | std::basic_istream<char_type, traits_type>& | std::basic_istream-like stream |
mode | STDIOStreamWrappingMode | Wrapping mode |
ReturnValue
BasicSTDIStreamWrapper wrapper
See Also
- Typedef SharedPtr
- Class Stream
- Enum STDIOStreamWrappingMode
- Namespace System::IO
- Library Aspose.PUB for C++
System::IO::WrapSTDIOStream(std::basic_ostream<char_type, traits_type>&, STDIOStreamWrappingMode) method
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)
Parameter | Type | Description |
---|---|---|
stream | std::basic_ostream<char_type, traits_type>& | std::basic_ostream-like stream |
mode | STDIOStreamWrappingMode | Wrapping mode |
ReturnValue
BasicSTDOStreamWrapper wrapper
See Also
- Typedef SharedPtr
- Class Stream
- Enum STDIOStreamWrappingMode
- Namespace System::IO
- Library Aspose.PUB for C++