OpenMesh::Endian Class Reference
#include <Endian.hh>
List of all members.
Public Types |
| enum | Type { LSB = 1,
MSB
} |
Static Public Member Functions |
| static const char * | as_string (Type _t) |
| | Return type _t as string.
|
| static Type | local () |
| | Return endian type of host system.
|
Static Private Attributes |
| static const Type | local_ |
| static int | one_ |
Detailed Description
Determine byte order of host system.
Definition at line 72 of file Endian.hh.
Member Enumeration Documentation
- Enumerator:
| LSB |
Little endian (Intel family and clones).
|
| MSB |
big endian (Motorola's 68x family, DEC Alpha, MIPS)
|
Definition at line 76 of file Endian.hh.
Member Function Documentation
| static const char* OpenMesh::Endian::as_string |
( |
Type |
_t |
) |
[static] |
Return type _t as string.
| static Type OpenMesh::Endian::local |
( |
|
) |
[inline, static] |
Return endian type of host system.
Definition at line 82 of file Endian.hh.
Member Data Documentation
The documentation for this class was generated from the following file: