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

const Type OpenMesh::Endian::local_ [static, private]

Definition at line 89 of file Endian.hh.

int OpenMesh::Endian::one_ [static, private]

Definition at line 88 of file Endian.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:16 2013