Main Page   Class Hierarchy   Compound List   File List   Compound Members  

global.h

00001 /* global.h  */
00002 #ifndef FILE_GLOBAL_SEEN
00003 #define FILE_GLOBAL_SEEN
00004 
00005 //#include "SimpleFileLogger.h"
00006 #include <string.h>
00007 #include "error.h"
00008 
00009 #include <new>
00010 using namespace std;
00011 
00012 
00021 // Date created - 03 May 2002
00022 
00026 enum field_datatype { datatype_not_specified = 0,
00027                                  BooleanType = 1,
00028                                  BitType,
00029                                  UnsignedByteType,
00030                                  ShortType,
00031                                  IntType,
00032                                  LongType,
00033                                  CharType,
00034                                  UnicodeCharType,
00035                                  FloatType,
00036                                  DoubleType, 
00037                                  FloatComplexType,
00038                                  DoubleComplexType
00039 };
00040 
00044 enum field_type {type_not_specified = 0, 
00045                                  hidden =1,
00046                                  no_query,
00047                                  trigger
00048 };
00049 
00053 enum content_role {role_not_specified = 0, 
00054                                    query = 1,
00055                    hints,
00056                                    doc
00057 };
00058 
00062 enum resource_type { results = 1,
00063                                         meta
00064 };
00065 
00069 enum values_type { legal = 1,
00070                                         actual
00071 };
00072 
00073 
00074 //enum values_invalid_type { no = 0,
00075 //                                                 yes
00076 //};
00077 
00078 
00082 enum coosys_system {
00083         eq_FK4 = 1,
00084         eq_FK5,
00085         ICRS,
00086         ecl_FK4,
00087         ecl_FK5,
00088         galactic,
00089         supergalactic,
00090         xy,
00091         barycentric,
00092         geo_app
00093 };
00094 
00098 enum Bool {
00099         True = true,
00100         False = false,
00101         Null = 3 // Not NULL since it's value is same as false.
00102 };
00103 
00104 
00105 #endif /* !FILE_GLOBAL_SEEN */

Generated on Mon Jul 15 13:54:19 2002 for VOTable Parser 1.2 Documentation by doxygen1.2.16