Developer Documentation

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Static Public Member Functions | Static Private Attributes | List of all members
OpenMesh::Endian Class Reference

`#include <libs_required/OpenMesh/src/OpenMesh/Core/Utils/Endian.hh>`

## Public Types
enum | Type { LSB = 1, MSB }

## Static Public Member Functions
static Type | local ()
| Return endian type of host system.
static const char * | as_string (Type _t)
| Return type _t as string.

## Static Private Attributes
static int | one_ = 1
static const Type | local_

## Detailed Description

Determine byte order of host system.

Definition at line 78 of file Endian.hh.

## Member Enumeration Documentation

enum OpenMesh::Endian::Type

Enumerator
LSB | Little endian (Intel family and clones)
MSB | big endian (Motorola's 68x family, DEC Alpha, MIPS)

Definition at line 82 of file Endian.hh.

## Member Data Documentation

const Endian::Type OpenMesh::Endian::local_
| static private

Initial value:
= *((unsigned char*)&Endian::one_)
? Endian::LSB
: Endian::MSB

Definition at line 95 of file Endian.hh.

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

- libs_required/OpenMesh/src/OpenMesh/Core/Utils/Endian.hh
- libs_required/OpenMesh/src/OpenMesh/Core/Utils/Endian.cc