dotFilteredInputStream Class Reference

A filtered input stream which replaces "\n.." sequences with "\n." sequences. More...

Inheritance diagram for dotFilteredInputStream:
Inheritance graph
[legend]
Collaboration diagram for dotFilteredInputStream:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 dotFilteredInputStream (inputStream &is)
inputStreamgetPreviousInputStream ()
bool eof () const
void reset ()
size_type read (value_type *const data, const size_type count)
size_type skip (const size_type count)

Detailed Description

A filtered input stream which replaces "\n.." sequences with "\n." sequences.


Constructor & Destructor Documentation

Construct a new filter for the specified input stream.

Parameters:
is stream from which to read data to be filtered

Member Function Documentation

bool eof (  )  const [virtual]

Test for end of stream (no more data to read).

Returns:
true if we have reached the end of stream, false otherwise

Implements inputStream.

References inputStream::eof().

inputStream & getPreviousInputStream (  )  [virtual]

Return a reference to the stream being filtered.

Returns:
stream being filtered

Implements filteredInputStream.

stream::size_type read ( value_type *const   data,
const size_type  count 
) [virtual]

Read data from the stream.

Parameters:
data will receive the data read
count maximum number of bytes to read
Returns:
number of bytes read

Implements inputStream.

References vmime::end(), and inputStream::read().

void reset (  )  [virtual]

Set the read pointer to the beginning of the stream.

Warning:
WARNING: this may not work for all stream types.

Implements inputStream.

References inputStream::reset().

stream::size_type skip ( const size_type  count  )  [virtual]

Skip a number of bytes.

Parameters:
count maximum number of bytes to ignore
Returns:
number of bytes skipped

Implements inputStream.


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

Generated by  doxygen 1.6.2