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

include/om/omtypes.h

Go to the documentation of this file.
00001 
00004 /*
00005  * ----START-LICENCE----
00006  * Copyright 1999,2000,2001 BrightStation PLC
00007  * Copyright 2002 Ananova Ltd
00008  * Copyright 2002 Olly Betts
00009  *
00010  * This program is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU General Public License as
00012  * published by the Free Software Foundation; either version 2 of the
00013  * License, or (at your option) any later version.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  * GNU General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00023  * USA
00024  * -----END-LICENCE-----
00025  */
00026 
00027 #ifndef OM_HGUARD_OMTYPES_H
00028 #define OM_HGUARD_OMTYPES_H
00029 
00034 typedef unsigned int om_docid;
00035 
00037 typedef om_docid     om_doccount;
00038 
00040 typedef int          om_doccount_diff;
00041 
00043 typedef unsigned int om_termcount;
00044 
00046 typedef int          om_termcount_diff;
00047 
00052 typedef unsigned int om_termpos;
00053 
00055 typedef int          om_termpos_diff;
00056 
00058 typedef double       om_doclength;
00059 
00061 typedef unsigned int om_valueno;
00062 
00064 typedef int          om_valueno_diff;
00065 
00067 typedef double       om_weight;
00068 
00070 typedef int          om_percent;
00071 
00075 typedef unsigned int om_timeout;
00076 
00077 #ifdef __cplusplus
00078 #include <string>
00082 typedef std::string om_termname;
00083 #endif
00084 
00085 #endif /* OM_HGUARD_OMTYPES_H */

Documentation for Xapian (version 0.6.4).
Generated on 10 Apr 2003 by Doxygen 1.2.15.