Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

PhxTypes.h

Go to the documentation of this file.
00001 //
00002 // License
00003 //
00004 #ifndef PHX_TYPES_H
00005 #define PHX_TYPES_H
00006 
00007 #include <Phx/PhxConfig.h>
00008 
00016 // integral types
00017 #if HAVE_INTTYPES_H
00018 #include <inttypes.h>
00019 #elif HAVE_STDINT_H
00020 #include <stdint.h>
00021 #elif( defined( _MSC_VER ) )
00022         typedef signed char                     int8_t;         // C99 stdint.h not supported in VC++/VS.NET yet.
00023         typedef unsigned char           uint8_t;        // C99 stdint.h not supported in VC++/VS.NET yet.
00024         typedef signed short            int16_t;        // C99 stdint.h not supported in VC++/VS.NET yet.
00025         typedef unsigned short          uint16_t;       // C99 stdint.h not supported in VC++/VS.NET yet.
00026         typedef signed long                     int32_t;        // C99 stdint.h not supported in VC++/VS.NET yet.
00027         typedef unsigned long           uint32_t;       // C99 stdint.h not supported in VC++/VS.NET yet.
00028     typedef long long           int64_t;
00029     typedef unsigned long long  uint64_t;
00030 #else
00031 #include <inttypes.h> // Client builds should assume this in the absence of macros
00032 #endif
00033 
00034 // ?? Real types -- do we want this?
00035 namespace Phx {
00036 
00037 #if PHX_DOUBLE_PRECISION
00038   typedef double Real;
00039 #else 
00040   typedef float Real;
00041 #endif
00042 
00043 };
00044 
00045 // Exception types
00046 #include <Phx/Util/PhxExceptions.h>
00047 
00048 // Templates for basic types
00049 #include <Phx/Util/PhxTemplates.h>
00050 
00051 // String class
00052 #include <Phx/Util/PhxString.h>
00053 
00054 // Smart pointer class
00055 #include <Phx/Util/PhxPtr.h>
00056 #include <Phx/Util/PhxPtrInterface.h>
00057 
00058 #endif /* PHX_TYPES_H */
00059 

Generated on Mon Jul 10 19:45:29 2006 for Phoenix OSFS by  doxygen 1.4.2