Anaphe Home Page Reference Documentation

Main Page     Namespaces     Classes     Source Code    

H_Types.h

Go to the documentation of this file.
00001 #ifndef _H_TYPES_H_
00002 #define _H_TYPES_H_ 1
00003 
00004 
00005 // Boolean:
00006 // --------
00007 #if defined ( _AIX ) || (defined __sun && __SUNPRO_CC < 0x500)
00008         #define true 1
00009         #define false 0
00010         typedef int bool;
00011 #endif
00012 
00013 
00014 // Size, Index...:
00015 // ---------------
00017 #if (defined __alpha ) && (defined OO_DDL_TRANSLATION )
00018 typedef d_Long Size;
00019 typedef d_Long Index;
00020 typedef d_Long Partition_Index;
00021 template <class T> class vector;
00022 class string;
00023 #else
00024 typedef long Size;
00025 typedef long Index;
00026 typedef long Partition_Index;
00027 #endif
00028 typedef enum { RIGHT_OPEN = 0, LEFT_OPEN = 1 } End_Point_Convention;
00029 
00030 
00031 // IID:
00032 // ----
00033 #include "HTL/H_iid.h"
00034 
00035 
00036 // Cast:
00037 //
00038 
00039 #if  defined( __alpha ) || defined( _AIX )
00040         // CC 4.2 and cxx 6.0:
00041         #define R_CAST(t)       (t)
00042 #else
00043         // aCC 12:
00044         #define R_CAST(t)       reinterpret_cast<t>
00045 #endif
00046 
00047 #endif // _H_TYPES_H_
00048 


Anaphe documentation generated by Doxygen (www.doxygen.org)