Library: Net
Package: Mail
Header: Poco/Net/MailStream.h
The base class for MailInputStream and MailOutputStream.
This class provides common methods and is also needed to ensure the correct initialization order of the stream buffer and base classes.
Direct Base Classes: std::ios
All Base Classes: std::ios
Known Derived Classes: MailInputStream, MailOutputStream
Member Functions: close, rdbuf
MailIOS(
std::istream & istr
);
Creates the MailIOS and connects it to the given input stream.
MailIOS(
std::ostream & ostr
);
Creates the MailIOS and connects it to the given output stream.
~MailIOS();
Destroys the stream.
void close();
Writes the terminating period, followed by CR-LF.
MailStreamBuf * rdbuf();
Returns a pointer to the underlying streambuf.
MailStreamBuf _buf;