System::IO::BasicSystemIOStreamBuf class

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
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.
operator=(const BasicSystemIOStreamBuf&)Copy assignment operator. Deleted.
operator=(BasicSystemIOStreamBuf&&)Move assignment operator.
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