- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- Search for |

- File List
- Globals

# LESwaps.h File Reference

C++ API: Endian independent access to data for LayoutEngine. More...

`#include "LETypes.h"`

Go to the source code of this file.

## Data Structures
class | LESwaps
| This class is used to access data which stored in big endian order regardless of the conventions of the platform. More...
## Defines
#define | SWAPW(value) (LESwaps::isBigEndian() ? (value) : LESwaps::swapWord(value))
| A convenience macro which invokes the swapWord member function from a concise call.
#define | SWAPL(value) (LESwaps::isBigEndian() ? (value) : LESwaps::swapLong(value))
| A convenience macro which invokes the swapLong member function from a concise call.

## Detailed Description

C++ API: Endian independent access to data for LayoutEngine.

Definition in file LESwaps.h.

## Define Documentation

#define SWAPL | ( | value |  | ) | (LESwaps::isBigEndian() ? (value) : LESwaps::swapLong(value))

A convenience macro which invokes the swapLong member function from a concise call.

Stable:
  ICU 2.8

Definition at line 49 of file LESwaps.h.

#define SWAPW | ( | value |  | ) | (LESwaps::isBigEndian() ? (value) : LESwaps::swapWord(value))

A convenience macro which invokes the swapWord member function from a concise call.

Stable:
  ICU 2.8

Definition at line 33 of file LESwaps.h.