vmime::utility Namespace Reference

Utility classes. More...

Namespaces

namespace  encoder

Classes

class  charsetFilteredOutputStream
 A filtered output stream which applies a charset conversion to input bytes. More...
class  childProcess
 Spawn a process and redirect its standard input and/or standard output. More...
class  childProcessFactory
 Create 'childProcess' objects. More...
class  datetimeUtils
 Miscellaneous functions related to date/time. More...
class  fileIterator
 File list iterator (see file::getFiles). More...
class  fileWriter
 Write to a file. More...
class  fileReader
 Read from a file. More...
class  file
 Abstract representation of a file or directory. More...
class  fileSystemFactory
 Constructs 'file' objects. More...
class  filteredInputStream
 A stream whose input is filtered. More...
class  filteredOutputStream
 A stream whose output is filtered. More...
class  dotFilteredInputStream
 A filtered input stream which replaces "\n.." sequences with "\n." sequences. More...
class  dotFilteredOutputStream
 A filtered output stream which replaces "\n." sequences with "\n.." sequences. More...
class  CRLFToLFFilteredOutputStream
 A filtered output stream which replaces CRLF sequences with single LF characters. More...
class  stopSequenceFilteredInputStream
 A filtered input stream which stops when a specified sequence is found (eof() method will return 'true'). More...
class  path
 Abstract representation of a path (filesystem, mailbox, etc). More...
class  progressListener
 An interface to implement if you want to be notified of a state of progress by some objects. More...
class  progressListenerSizeAdapter
 A progress listener used when total size is known by the receiver, but not by the notifier. More...
class  random
 Pseudo-random number generator. More...
class  stream
 Base class for input/output stream. More...
class  outputStream
 Simple output stream. More...
class  inputStream
 Simple input stream. More...
class  outputStreamAdapter
 An adapter class for C++ standard output streams. More...
class  outputStreamStringAdapter
 An adapter class for string output. More...
class  outputStreamByteArrayAdapter
 An adapter class for byte array output. More...
class  inputStreamAdapter
 An adapter class for C++ standard input streams. More...
class  inputStreamStringAdapter
 An adapter class for string input. More...
class  inputStreamStringProxyAdapter
 An adapter class for stringProxy input. More...
class  inputStreamPointerAdapter
 An adapter class for pointer to C++ standard input stream. More...
class  inputStreamByteBufferAdapter
 An adapter class for reading from an array of bytes. More...
class  inputStreamDecoderAdapter
 An input stream which decodes data while it is read. More...
class  outputStreamSocketAdapter
 An output stream that is connected to a socket. More...
class  inputStreamSocketAdapter
 An input stream that is connected to a socket. More...
class  stringProxy
 This class is a proxy for the string class. More...
class  stringUtils
 Miscellaneous functions related to strings. More...
class  url
 This class represents a Uniform Resource Locator (a pointer to a "resource" on the World Wide Web). More...
class  urlUtils
 Miscellaneous functions related to URLs. More...

Functions

outputStreamoperator<< (outputStream &os, const stream::value_type c)
outputStreamoperator<< (outputStream &os, const string &str)
stream::size_type bufferedStreamCopy (inputStream &is, outputStream &os)
stream::size_type bufferedStreamCopy (inputStream &is, outputStream &os, const stream::size_type length, progressListener *progress)
std::ostream & operator<< (std::ostream &os, const stringProxy &s)
outputStreamoperator<< (outputStream &os, const stringProxy &s)
template<int N>
outputStreamoperator<< (outputStream &os, const char(&str)[N])
template<typename T >
outputStreamoperator<< (outputStream &os, const T &t)

Detailed Description

Utility classes.


Function Documentation

stream::size_type bufferedStreamCopy ( inputStream &  is,
outputStream &  os,
const stream::size_type  length,
progressListener *  progress 
)

Copy data from one stream into another stream using a buffered method and notify progress state of the operation.

Parameters:
is input stream (source data)
os output stream (destination for data)
length predicted number of bytes to copy
progress listener to notify
Returns:
number of bytes copied
stream::size_type bufferedStreamCopy ( inputStream &  is,
outputStream &  os 
)

Copy data from one stream into another stream using a buffered method.

Parameters:
is input stream (source data)
os output stream (destination for data)
Returns:
number of bytes copied

Referenced by defaultEncoder::decode(), defaultEncoder::encode(), streamContentHandler::extract(), streamContentHandler::extractRaw(), streamContentHandler::generate(), and SMTPTransport::send().

outputStream& vmime::utility::operator<< ( outputStream &  os,
const T &  t 
)
outputStream& vmime::utility::operator<< ( outputStream &  os,
const char(&)  str[N] 
)

References outputStream::write().

outputStream & operator<< ( outputStream &  os,
const stringProxy &  s 
)
std::ostream & operator<< ( std::ostream &  os,
const stringProxy &  s 
)
outputStream & operator<< ( outputStream &  os,
const string &  str 
)
outputStream & operator<< ( outputStream &  os,
const stream::value_type  c 
)

Generated by  doxygen 1.6.2