Manipulator Class Reference

A base class for DataEncoder manipulators. More...

#include <DataEncoder.h++>

Inheritance diagram for Manipulator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~Manipulator () throw ()
 Destructor.
virtual void apply (DataEncoder &encoder) const =0 throw (IOException)
 Apply the DataManipulator to a DataEncoder.

Detailed Description

A base class for DataEncoder manipulators.

A manipulator modifies the behavior of the encoder in some way, and can be inlined with other stream operators, in much the same way as the C++ standard library's I/O manipulators work with C++ streams.

Author:
Mark Lindner

Constructor & Destructor Documentation

virtual ~Manipulator (  )  throw () [inline, virtual]

Destructor.


Member Function Documentation

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

Apply the DataManipulator to a DataEncoder.

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

Implemented in SetEndianness, SetLength, Skip, Align, SetLimit, and SetStringPadding.


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