lux/types.h

00001 #ifndef LUX_TYPES_H
00002 #define LUX_TYPES_H
00003 
00004 namespace Lux {
00005 
00006   typedef uint32_t doc_id_t;
00007   typedef uint32_t score_t;
00008 
00009   typedef enum {
00010     DB_RDONLY = 0x0000,
00011     DB_RDWR = 0x0002,
00012     DB_CREAT = 0x0200,
00013     DB_TRUNC = 0x0400,
00014   } db_flags_t;
00015 
00016   typedef enum {
00017     RES_W_POS = 0x0001, // with positions
00018     RES_WO_POS = 0x0002, // without positions
00019   } sys_cond_t;
00020 
00021   typedef enum {
00022     CREATED,
00023     REGISTERED,
00024     UNREGISTERED,
00025     FAILED
00026   } id_status_t;
00027 
00028 }
00029 
00030 #endif

Generated on Fri Feb 5 15:50:30 2010 for Lux by  doxygen 1.4.7