Loading [MathJax]/extensions/tex2jax.js
Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EntityHandle.hpp
Go to the documentation of this file.
1 /* src/moab/EntityHandle.hpp. Generated from EntityHandle.hpp.in by configure. */ 2 #ifndef MOAB_ENTITY_HANDLE_HPP 3 #define MOAB_ENTITY_HANDLE_HPP 4  5 #include "moab/MOABConfig.h" 6  7 #ifdef MOAB_HAVE_INTTYPES_H 8 #include <inttypes.h> 9 #elif defined( MOAB_HAVE_STDINT_H ) 10 #include <stdint.h> 11 #elif defined( _WIN32 ) 12 typedef __int8 int8_t; 13 typedef __int16 int16_t; 14 typedef __int32 int32_t; 15 typedef __int64 int64_t; 16 typedef unsigned __int8 uint8_t; 17 typedef unsigned __int16 uint16_t; 18 typedef unsigned __int32 uint32_t; 19 typedef unsigned __int64 uint64_t; 20 #endif 21  22 #ifdef MOAB_HAVE_STDDEF_H 23 #include <stddef.h> 24 #elif defined( MOAB_HAVE_STDLIB_H ) 25 #include <stdlib.h> 26 #elif defined( MOAB_HAVE_SYS_TYPES_H ) 27 #include <sys/types.h> 28 #endif 29  30 namespace moab 31 { 32  33 #ifdef MOAB_FORCE_64_BIT_HANDLES 34 typedef uint64_t EntityHandle; 35 typedef int64_t EntityID; 36 #elif defined( MOAB_FORCE_32_BIT_HANDLES ) 37 typedef uint32_t EntityHandle; 38 typedef int32_t EntityID; 39 #else 40 #ifdef MOAB_HAVE_SIZE_T 41 typedef size_t EntityHandle; 42 #else 43 typedef unsigned long EntityHandle; 44 #endif 45 #ifdef MOAB_HAVE_PTRDIFF_T 46 typedef ptrdiff_t EntityID; 47 #else 48 typedef long EntityID; 49 #endif 50 #endif 51  52 } // namespace moab 53  54 #endif