libcommonc++
0.7
|
A manipulator that specifies the endianness of integer values to be subsequently encoded/decoded. More...
#include <DataEncoder.h++>
Public Member Functions | |
SetEndianness (Endianness endianness) | |
Construct a new SetEndianness manipulator. More... | |
~SetEndianness () | |
Destructor. More... | |
Protected Member Functions | |
void | apply (DataEncoder &encoder) const |
Apply the DataManipulator to a DataEncoder. More... | |
A manipulator that specifies the endianness of integer values to be subsequently encoded/decoded.
SetEndianness | ( | Endianness | endianness | ) |
Construct a new SetEndianness manipulator.
endianness | The endianness. |
~SetEndianness | ( | ) |
Destructor.
|
protectedvirtual |
Apply the DataManipulator to a DataEncoder.
encoder | The target DataEncoder. |
IOException | If an I/O error occurs. |
Implements DataEncoder::Manipulator.