#include <DataEncoder.h++>


Public Member Functions | |
| Align (size_t size) throw () | |
| Construct a new Align manipulator. | |
| ~Align () throw () | |
| Destructor. | |
Protected Member Functions | |
| void | apply (DataEncoder &encoder) const throw (IOException) |
| Apply the DataManipulator to a DataEncoder. | |
When reading, the bytes are simply skipped; when writing, the bytes are filled with NULs.
| Align | ( | size_t | size | ) | throw () |
Construct a new Align manipulator.
| size | The alignment size. Typical values include 2, 4, or 8. Other values are allowed but are of limited usefulness. |
| ~Align | ( | ) | throw () |
Destructor.
| void apply | ( | DataEncoder & | encoder | ) | const throw (IOException) [protected, virtual] |
Apply the DataManipulator to a DataEncoder.
| encoder | The target DataEncoder. |
| IOException | If an I/O error occurs. |
Implements Manipulator.
1.5.9