SetEndianness Class Reference

A manipulator that specifies the endianness of integer values to be subsequently encoded/decoded. More...

#include <DataEncoder.h++>

Inheritance diagram for SetEndianness:
Inheritance graph
[legend]
Collaboration diagram for SetEndianness:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SetEndianness (Endianness endianness) throw ()
 Construct a new SetEndianness manipulator.
 ~SetEndianness () throw ()
 Destructor.

Protected Member Functions

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

Detailed Description

A manipulator that specifies the endianness of integer values to be subsequently encoded/decoded.

Author:
Mark Lindner

Constructor & Destructor Documentation

SetEndianness ( Endianness  endianness  )  throw ()

Construct a new SetEndianness manipulator.

Parameters:
endianness The endianness.
~SetEndianness (  )  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 Fri Sep 3 23:49:35 2010 for libcommonc++ by  doxygen 1.6.3