BasicSystemIOStreamWrapper

BasicSystemIOStreamWrapper class

Represents a std::iostream-like wrapper that used BasicSystemIOStreamBuf as internal buffer.

template<typename Elem,typename Traits>class BasicSystemIOStreamWrapper : public std::basic_iostream<Elem, std::char_traits<Elem>>

Methods

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

Typedefs

TypedefDescription
char_type
traits_type
Mybase
Mysb

See Also