Skip Class Reference

A manipulator that skips past bytes in the stream. More...

#include <DataEncoder.h++>

Inheritance diagram for Skip:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Skip (size_t count) throw ()
 Construct a new Skip manipulator.
 ~Skip () throw ()
 Destructor.

Protected Member Functions

void apply (DataEncoder &encoder) const throw (IOException)
 Apply the DataManipulator to a DataEncoder.

Detailed Description

A manipulator that skips past bytes in the stream.

When reading, the bytes are simply skipped; when writing, the bytes are filled with NULs.

Author:
Mark Lindner

Constructor & Destructor Documentation

Skip ( size_t  count  )  throw ()

Construct a new Skip manipulator.

Parameters:
count The number of bytes to skip.
~Skip (  )  throw ()

Destructor.


Member Function Documentation

void apply ( DataEncoder encoder  )  const throw (IOException) [protected, virtual]

Apply the DataManipulator to a DataEncoder.

Parameters:
encoder The target DataEncoder.
Exceptions:
IOException If an I/O error occurs.

Implements Manipulator.


The documentation for this class was generated from the following files:
Generated on Sat Nov 26 16:49:08 2011 for libcommonc++ by  doxygen 1.6.3