libcommonc++
0.7
|
A base class for DataEncoder manipulators. More...
#include <DataEncoder.h++>
Public Member Functions | |
virtual | ~Manipulator () |
Destructor. More... | |
virtual void | apply (DataEncoder &encoder) const =0 |
Apply the DataManipulator to a DataEncoder. More... | |
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.
|
inlinevirtual |
Destructor.
|
pure virtual |
Apply the DataManipulator to a DataEncoder.
encoder | The target DataEncoder. |
IOException | If an I/O error occurs. |
Implemented in DataEncoder::SetLimit, DataEncoder::Align, DataEncoder::Skip, DataEncoder::SetLength, and DataEncoder::SetEndianness.