VMime
|
Namespaces | |
encoder | |
sync | |
Functions | |
VMIME_EXPORT outputStream & | operator<< (outputStream &os, const string &str) |
VMIME_EXPORT outputStream & | operator<< (outputStream &os, const byte_t c) |
template<int N> | |
outputStream & | operator<< (outputStream &os, const char(&str)[N]) |
template<typename T > | |
outputStream & | operator<< (outputStream &os, const T &t) |
size_t | bufferedStreamCopy (inputStream &is, outputStream &os) |
size_t | bufferedStreamCopyRange (inputStream &is, outputStream &os, const size_t start, const size_t length) |
size_t | bufferedStreamCopy (inputStream &is, outputStream &os, const size_t length, progressListener *progress) |
std::ostream & | operator<< (std::ostream &os, const stringProxy &s) |
outputStream & | operator<< (outputStream &os, const stringProxy &s) |
Utility classes.
VMIME_EXPORT size_t bufferedStreamCopy | ( | inputStream & | is, |
outputStream & | os | ||
) |
Copy data from one stream into another stream using a buffered method.
is | input stream (source data) |
os | output stream (destination for data) |
Referenced by charsetConverter_idna::convert(), noopEncoder::decode(), noopEncoder::encode(), streamContentHandler::extract(), streamContentHandler::extractRaw(), streamContentHandler::generate(), and SMTPTransport::send().
VMIME_EXPORT size_t bufferedStreamCopy | ( | inputStream & | is, |
outputStream & | os, | ||
const size_t | length, | ||
progressListener * | progress | ||
) |
Copy data from one stream into another stream using a buffered method and notify progress state of the operation.
is | input stream (source data) |
os | output stream (destination for data) |
length | predicted number of bytes to copy |
progress | listener to notify |
References inputStream::eof(), stream::getBlockSize(), vmime::lineLengthLimits::max, progressListener::progress(), inputStream::read(), progressListener::start(), progressListener::stop(), and outputStream::write().
VMIME_EXPORT size_t bufferedStreamCopyRange | ( | inputStream & | is, |
outputStream & | os, | ||
const size_t | start, | ||
const size_t | length | ||
) |
Copy data from one stream into another stream using a buffered method and copying only a specified range of data.
is | input stream (source data) |
os | output stream (destination for data) |
start | number of bytes to ignore before starting copying |
length | maximum number of bytes to copy |
References inputStream::eof(), stream::getBlockSize(), inputStream::read(), inputStream::skip(), and outputStream::write().
Referenced by component::parse().
outputStream & operator<< | ( | outputStream & | os, |
const string & | str | ||
) |
References outputStream::write().
outputStream & operator<< | ( | outputStream & | os, |
const byte_t | c | ||
) |
References outputStream::write().
outputStream& vmime::utility::operator<< | ( | outputStream & | os, |
const char(&) | str[N] | ||
) |
References outputStream::write().
outputStream& vmime::utility::operator<< | ( | outputStream & | os, |
const T & | t | ||
) |
VMIME_EXPORT std::ostream & operator<< | ( | std::ostream & | os, |
const stringProxy & | s | ||
) |
References stringProxy::extract().
VMIME_EXPORT outputStream & operator<< | ( | outputStream & | os, |
const stringProxy & | s | ||
) |
References stringProxy::extract().