00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef OM_HGUARD_OMTYPES_H
00026 #define OM_HGUARD_OMTYPES_H
00027
00029 typedef unsigned int om_termid;
00030
00035 typedef unsigned int om_docid;
00036
00038 typedef om_docid om_doccount;
00039
00041 typedef int om_doccount_diff;
00042
00044 typedef om_termid om_termcount;
00045
00047 typedef int om_termcount_diff;
00048
00053 typedef unsigned int om_termpos;
00054
00056 typedef int om_termpos_diff;
00057
00059 typedef double om_doclength;
00060
00062 typedef double om_totlength;
00063
00065 typedef unsigned int om_valueno;
00066
00068 typedef int om_valueno_diff;
00069
00071 typedef double om_weight;
00072
00074 typedef int om_percent;
00075
00079 typedef unsigned int om_timeout;
00080
00081 #ifdef __cplusplus
00082 #include <string>
00086 typedef std::string om_termname;
00087 #endif
00088
00089 #endif