System::IO::BasicSystemIOStreamBuf class

BasicSystemIOStreamBuf class

Representerar en buffert som omsluter System::IO::Stream-liknande strömmar och tillåter dem att användas som en intern buffert för std::iostream-liknande strömmar.

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

Metoder

MetodBeskrivning
AssignRV(BasicSystemIOStreamBuf&&)Används i flyttkonstruktorn och flytttilldelningsoperatorn för att återställa pekare och anropa swap().
explicit BasicSystemIOStreamBuf()Skapar en ny instans av BasicSystemIOStreamBuf.
explicit BasicSystemIOStreamBuf(const SharedPtr<Stream>&, SystemIOStreamWrappingMode, const std::locale&)Skapar en ny instans av BasicSystemIOStreamBuf.
BasicSystemIOStreamBuf(const BasicSystemIOStreamBuf&)Kopieringskonstruktor. Borttagen.
BasicSystemIOStreamBuf(BasicSystemIOStreamBuf&&)Flyttkonstruktor.
operator=(const BasicSystemIOStreamBuf&)Kopieringstilldelningsoperator. Borttagen.
operator=(BasicSystemIOStreamBuf&&)Flyttilldelningsoperator.
swap(BasicSystemIOStreamBuf&)Anrop för att byta *this och right, om de inte är lika.
~BasicSystemIOStreamBuf() overrideDestruktor.

Typedefs

TypedefBeskrivning
char_type
int_type
Mysb
off_type
pos_type
traits_type

Se även