|
CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
|
Represents a std::istream-like wrapper that used BasicSystemIOStreamBuf as internal buffer. More...
#include <system_stream_wrappers.h>
Inherits std::basic_istream< Elem, std::char_traits< Elem > >.
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) | |
| Constructs a new instance of the BasicSystemIStreamWrapper. More... | |
| BasicSystemIStreamWrapper (const BasicSystemIStreamWrapper &)=delete | |
| Copy constructor. Deleted. More... | |
| BasicSystemIStreamWrapper (BasicSystemIStreamWrapper &&right) noexcept | |
| Move constructor. More... | |
| BasicSystemIStreamWrapper & | operator= (const BasicSystemIStreamWrapper &)=delete |
| Copy assignment operator. Deleted. More... | |
| BasicSystemIStreamWrapper & | operator= (BasicSystemIStreamWrapper &&right) noexcept |
| Move assignment operator. More... | |
| void | AssignRV (BasicSystemIStreamWrapper &&right) |
| Used in move constructor and move assignment operator to reset pointers and call swap(). More... | |
| void | swap (BasicSystemIStreamWrapper &right) |
Call to swap *this and right, if they are not equal. More... | |
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 |
|
inlinenoexcept |
|
delete |
Copy assignment operator. Deleted.
|
inline |
Call to swap *this and right, if they are not equal.
| right | Rvalue reference to object to be swap |