libcommonc++  0.7
DataEncoder::SetEndianness Class Reference

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

#include <DataEncoder.h++>

Inheritance diagram for DataEncoder::SetEndianness:
Collaboration diagram for DataEncoder::SetEndianness:

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...
 

Detailed Description

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

Author
Mark Lindner

Constructor & Destructor Documentation

◆ SetEndianness()

SetEndianness ( Endianness  endianness)

Construct a new SetEndianness manipulator.

Parameters
endiannessThe endianness.

◆ ~SetEndianness()

Destructor.

Member Function Documentation

◆ apply()

void apply ( DataEncoder encoder) const
protectedvirtual

Apply the DataManipulator to a DataEncoder.

Parameters
encoderThe target DataEncoder.
Exceptions
IOExceptionIf an I/O error occurs.

Implements DataEncoder::Manipulator.


The documentation for this class was generated from the following files: