Represents a std::iostream-like wrapper that used BasicSystemIOStreamBuf as internal buffer. More...
Inherits basic_iostream< Elem, Traits >.
Public Types | |
using | char_type = Elem |
using | traits_type = Traits |
using | Mybase = std::basic_iostream< char_type, traits_type > |
using | Mysb = BasicSystemIOStreamBuf< char_type, traits_type > |
Public Member Functions | |
BasicSystemIOStreamWrapper (SharedPtr< Stream > str, SystemIOStreamWrappingMode mode=SystemIOStreamWrappingMode::Binary) | |
BasicSystemIOStreamWrapper (const BasicSystemIOStreamWrapper &)=delete | |
Copy constructor. Deleted. More... | |
BasicSystemIOStreamWrapper (BasicSystemIOStreamWrapper &&right) noexcept | |
BasicSystemIOStreamWrapper & | operator= (const BasicSystemIOStreamWrapper &)=delete |
Copy assignment operator. Deleted. More... | |
BasicSystemIOStreamWrapper & | operator= (BasicSystemIOStreamWrapper &&right) noexcept |
void | AssignRV (BasicSystemIOStreamWrapper &&right) |
void | swap (BasicSystemIOStreamWrapper &right) |
Represents a std::iostream-like wrapper that used BasicSystemIOStreamBuf as internal buffer.
using System::IO::BasicSystemIOStreamWrapper< Elem, Traits >::char_type = Elem |
using System::IO::BasicSystemIOStreamWrapper< Elem, Traits >::Mybase = std::basic_iostream<char_type, traits_type> |
using System::IO::BasicSystemIOStreamWrapper< Elem, Traits >::Mysb = BasicSystemIOStreamBuf<char_type, traits_type> |
using System::IO::BasicSystemIOStreamWrapper< Elem, Traits >::traits_type = Traits |
|
inline |
Constructs a new instance of the BasicSystemIOStreamWrapper.
str | The pointer to the stream |
mode | Wrapping mode |
|
delete |
Copy constructor. Deleted.
|
inlinenoexcept |
Move constructor.
right | Object to be move |
|
inline |
Used in move constructor and move assignment operator to reset pointers and call swap().
right | Rvalue reference to object to be swap |
|
delete |
Copy assignment operator. Deleted.
|
inlinenoexcept |
|
inline |
Call to swap *this and right
, if they are not equal.
right | Rvalue reference to object to be swap |