Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

/include/om/omtypes.h

00001 /* omtypes.h: Common types used
00002  *
00003  * ----START-LICENCE----
00004  * Copyright 1999,2000,2001 BrightStation PLC
00005  * Copyright 2002 Ananova Ltd
00006  * Copyright 2002 Olly Betts
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License as
00010  * published by the Free Software Foundation; either version 2 of the
00011  * License, or (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00021  * USA
00022  * -----END-LICENCE-----
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 /* OM_HGUARD_OMTYPES_H */

Documentation for Xapian (version 0.4.1cvs).
Generated on 20 Sep 2002 by Doxygen 1.2.15.