Inherits basic_streambuf< Elem, Traits >.
Public Types | |
using | char_type = Elem |
using | traits_type = Traits |
using | Mysb = std::basic_streambuf< char_type, traits_type > |
using | int_type = typename traits_type::int_type |
using | pos_type = typename traits_type::pos_type |
using | off_type = typename traits_type::off_type |
Public Member Functions | |
virtual | ~BasicSystemIOStreamBuf () override |
Destructor. More... | |
BasicSystemIOStreamBuf () | |
Constructs a new instance of the BasicSystemIOStreamBuf. More... | |
BasicSystemIOStreamBuf (const SharedPtr< Stream > &str, SystemIOStreamWrappingMode mode=SystemIOStreamWrappingMode::Binary, const std::locale &locale=std::locale()) | |
BasicSystemIOStreamBuf (const BasicSystemIOStreamBuf &)=delete | |
Copy constructor. Deleted. More... | |
BasicSystemIOStreamBuf (BasicSystemIOStreamBuf &&right) noexcept | |
BasicSystemIOStreamBuf & | operator= (const BasicSystemIOStreamBuf &)=delete |
Copy assignment operator. Deleted. More... | |
BasicSystemIOStreamBuf & | operator= (BasicSystemIOStreamBuf &&right) noexcept |
void | AssignRV (BasicSystemIOStreamBuf &&right) |
void | swap (BasicSystemIOStreamBuf &right) |
Represents a buffer that wraps System::IO::Stream-like streams and allows them to be used as an std::iostream-like streams internal buffer.
using System::IO::BasicSystemIOStreamBuf< Elem, Traits >::char_type = Elem |
using System::IO::BasicSystemIOStreamBuf< Elem, Traits >::int_type = typename traits_type::int_type |
using System::IO::BasicSystemIOStreamBuf< Elem, Traits >::Mysb = std::basic_streambuf<char_type, traits_type> |
using System::IO::BasicSystemIOStreamBuf< Elem, Traits >::off_type = typename traits_type::off_type |
using System::IO::BasicSystemIOStreamBuf< Elem, Traits >::pos_type = typename traits_type::pos_type |
using System::IO::BasicSystemIOStreamBuf< Elem, Traits >::traits_type = Traits |
|
inlineoverridevirtual |
Destructor.
|
inlineexplicit |
Constructs a new instance of the BasicSystemIOStreamBuf.
|
inlineexplicit |
Constructs a new instance of the BasicSystemIOStreamBuf.
str | Smart pointer to the stream |
mode | Wrapping mode |
locale | Stream's locale |
|
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 |