Represents a std::istream-like wrapper that used BasicSystemIOStreamBuf as internal buffer. More...
Inherits basic_istream< Elem, Traits >.
Public Types | |
using | char_type = Elem |
using | traits_type = Traits |
using | Mybase = std::basic_istream< char_type, traits_type > |
using | Mysb = BasicSystemIOStreamBuf< char_type, traits_type > |
Public Member Functions | |
BasicSystemIStreamWrapper (SharedPtr< Stream > str, SystemIOStreamWrappingMode mode=SystemIOStreamWrappingMode::Binary) | |
BasicSystemIStreamWrapper (const BasicSystemIStreamWrapper &)=delete | |
Copy constructor. Deleted. More... | |
BasicSystemIStreamWrapper (BasicSystemIStreamWrapper &&right) noexcept | |
BasicSystemIStreamWrapper & | operator= (const BasicSystemIStreamWrapper &)=delete |
Copy assignment operator. Deleted. More... | |
BasicSystemIStreamWrapper & | operator= (BasicSystemIStreamWrapper &&right) noexcept |
void | AssignRV (BasicSystemIStreamWrapper &&right) |
void | swap (BasicSystemIStreamWrapper &right) |
Represents a std::istream-like wrapper that used BasicSystemIOStreamBuf as internal buffer.
using System::IO::BasicSystemIStreamWrapper< Elem, Traits >::char_type = Elem |
using System::IO::BasicSystemIStreamWrapper< Elem, Traits >::Mybase = std::basic_istream<char_type, traits_type> |
using System::IO::BasicSystemIStreamWrapper< Elem, Traits >::Mysb = BasicSystemIOStreamBuf<char_type, traits_type> |
using System::IO::BasicSystemIStreamWrapper< Elem, Traits >::traits_type = Traits |
|
inline |
Constructs a new instance of the BasicSystemIStreamWrapper.
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 |