BasicSystemIOStreamBuf

BasicSystemIOStreamBuf class

Represents a buffer that wraps System::IO::Stream-like streams and allows them to be used as an std::iostream-like streams internal buffer.

template<typename Elem,typename Traits>class BasicSystemIOStreamBuf : public std::basic_streambuf<Elem, std::char_traits<Elem>>

Methods

MethodDescription
void AssignRV(BasicSystemIOStreamBuf&&)Used in move constructor and move assignment operator to reset pointers and call swap().
explicit BasicSystemIOStreamBuf()Constructs a new instance of the BasicSystemIOStreamBuf.
explicit BasicSystemIOStreamBuf(const SharedPtr<Stream>&, SystemIOStreamWrappingMode, const std::locale&)Constructs a new instance of the BasicSystemIOStreamBuf.
BasicSystemIOStreamBuf(const BasicSystemIOStreamBuf&)Copy constructor. Deleted.
BasicSystemIOStreamBuf(BasicSystemIOStreamBuf&&)Move constructor.
BasicSystemIOStreamBuf& operator=(const BasicSystemIOStreamBuf&)Copy assignment operator. Deleted.
BasicSystemIOStreamBuf& operator=(BasicSystemIOStreamBuf&&)Move assignment operator.
void swap(BasicSystemIOStreamBuf&)Call to swap *this and right, if they are not equal.
~BasicSystemIOStreamBuf() overrideDestructor.

Typedefs

TypedefDescription
char_type
traits_type
Mysb
int_type
pos_type
off_type

See Also