VMime
filteredOutputStream Class Referenceabstract
Inheritance diagram for filteredOutputStream:
Collaboration diagram for filteredOutputStream:

Public Member Functions

virtual size_t getBlockSize ()
 
virtual outputStreamgetNextOutputStream ()=0
 
- Public Member Functions inherited from outputStream
void write (const byte_t *const data, const size_t count)
 
void write (const char *const data, const size_t count)
 
template<int N>
void write (const char(&data)[N])
 
virtual void flush ()=0
 
- Public Member Functions inherited from stream
virtual ~stream ()
 

Additional Inherited Members

- Protected Member Functions inherited from outputStream
virtual void writeImpl (const byte_t *const data, const size_t count)=0
 
- Protected Member Functions inherited from object
 object ()
 
 object (const object &)
 
objectoperator= (const object &)
 
virtual ~object ()
 

Detailed Description

A stream whose output is filtered.

Member Function Documentation

size_t getBlockSize ( )
virtual

Return the preferred maximum block size when reading from or writing to this stream.

Returns
block size, in bytes

Reimplemented from stream.

Reimplemented in LFToCRLFFilteredOutputStream, CRLFToLFFilteredOutputStream, and dotFilteredOutputStream.

References stream::getBlockSize(), and filteredOutputStream::getNextOutputStream().

virtual outputStream& getNextOutputStream ( )
pure virtual

Return a reference to the stream being filtered.

Returns
destination stream for filtered data

Implemented in LFToCRLFFilteredOutputStream, CRLFToLFFilteredOutputStream, and dotFilteredOutputStream.

Referenced by filteredOutputStream::getBlockSize().


The documentation for this class was generated from the following files: