Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
EntityHandle.hpp
Go to the documentation of this file.
00001 /* src/moab/EntityHandle.hpp.  Generated from EntityHandle.hpp.in by configure.  */
00002 #ifndef MOAB_ENTITY_HANDLE_HPP
00003 #define MOAB_ENTITY_HANDLE_HPP
00004 
00005 #include "moab/MOABConfig.h"
00006 
00007 #ifdef MOAB_HAVE_INTTYPES_H
00008 #include <inttypes.h>
00009 #elif defined( MOAB_HAVE_STDINT_H )
00010 #include <stdint.h>
00011 #elif defined( _WIN32 )
00012 typedef __int8 int8_t;
00013 typedef __int16 int16_t;
00014 typedef __int32 int32_t;
00015 typedef __int64 int64_t;
00016 typedef unsigned __int8 uint8_t;
00017 typedef unsigned __int16 uint16_t;
00018 typedef unsigned __int32 uint32_t;
00019 typedef unsigned __int64 uint64_t;
00020 #endif
00021 
00022 #ifdef MOAB_HAVE_STDDEF_H
00023 #include <stddef.h>
00024 #elif defined( MOAB_HAVE_STDLIB_H )
00025 #include <stdlib.h>
00026 #elif defined( MOAB_HAVE_SYS_TYPES_H )
00027 #include <sys/types.h>
00028 #endif
00029 
00030 namespace moab
00031 {
00032 
00033 #ifdef MOAB_FORCE_64_BIT_HANDLES
00034 typedef uint64_t EntityHandle;
00035 typedef int64_t EntityID;
00036 #elif defined( MOAB_FORCE_32_BIT_HANDLES )
00037 typedef uint32_t EntityHandle;
00038 typedef int32_t EntityID;
00039 #else
00040 #ifdef MOAB_HAVE_SIZE_T
00041 typedef size_t EntityHandle;
00042 #else
00043 typedef unsigned long EntityHandle;
00044 #endif
00045 #ifdef MOAB_HAVE_PTRDIFF_T
00046 typedef ptrdiff_t EntityID;
00047 #else
00048 typedef long EntityID;
00049 #endif
00050 #endif
00051 
00052 }  // namespace moab
00053 
00054 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines