Represents a std::ostream-like wrapper that used BasicSystemIOStreamBuf as internal buffer. More...
Inherits basic_ostream< Elem, Traits >.
Public Types | |
using | char_type = Elem |
using | traits_type = Traits |
using | Mybase = std::basic_ostream< char_type, traits_type > |
using | Mysb = BasicSystemIOStreamBuf< char_type, traits_type > |
Public Member Functions | |
BasicSystemOStreamWrapper (SharedPtr< Stream > str, SystemIOStreamWrappingMode mode=SystemIOStreamWrappingMode::Binary) | |
Constructs a new instance of the BasicSystemOStreamWrapper. More... | |
BasicSystemOStreamWrapper (const BasicSystemOStreamWrapper &)=delete | |
Copy constructor. Deleted. More... | |
BasicSystemOStreamWrapper (BasicSystemOStreamWrapper &&right) noexcept | |
Move constructor. More... | |
BasicSystemOStreamWrapper & | operator= (const BasicSystemOStreamWrapper &)=delete |
Copy assignment operator. Deleted. More... | |
BasicSystemOStreamWrapper & | operator= (BasicSystemOStreamWrapper &&right) noexcept |
Move assignment operator. More... | |
void | AssignRV (BasicSystemOStreamWrapper &&right) |
Used in move constructor and move assignment operator to reset pointers and call swap(). More... | |
void | swap (BasicSystemOStreamWrapper &right) |
Call to swap *this and right , if they are not equal. More... | |
Represents a std::ostream-like wrapper that used BasicSystemIOStreamBuf as internal buffer.
using System::IO::BasicSystemOStreamWrapper< Elem, Traits >::char_type = Elem |
using System::IO::BasicSystemOStreamWrapper< Elem, Traits >::Mybase = std::basic_ostream<char_type, traits_type> |
using System::IO::BasicSystemOStreamWrapper< Elem, Traits >::Mysb = BasicSystemIOStreamBuf<char_type, traits_type> |
using System::IO::BasicSystemOStreamWrapper< Elem, Traits >::traits_type = Traits |
|
inline |
Constructs a new instance of the BasicSystemOStreamWrapper.
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 |