xapian-core  1.4.27
output.h
Go to the documentation of this file.
1 
4 /*
5  * Copyright 1999,2000,2001 BrightStation PLC
6  * Copyright 2002 Ananova Ltd
7  * Copyright 2002,2003,2004,2007,2009,2011 Olly Betts
8  * Copyright 2007 Lemur Consulting Ltd
9  * Copyright 2010 Richard Boulton
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License as
13  * published by the Free Software Foundation; either version 2 of the
14  * License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
24  * USA
25  */
26 
27 #ifndef XAPIAN_INCLUDED_OUTPUT_H
28 #define XAPIAN_INCLUDED_OUTPUT_H
29 
30 #include <ostream>
31 
33 #define XAPIAN_OUTPUT_FUNCTION(CLASS) \
34 inline std::ostream & \
35 operator<<(std::ostream & os, const CLASS & object) { \
36  return os << object.get_description(); \
37 }
38 
39 #include <xapian/database.h>
42 
43 #include <xapian/document.h>
45 
46 #include <xapian/query.h>
49 
50 #include <xapian/enquire.h>
57 
58 #include <xapian/geospatial.h>
61 
62 #include <xapian/stem.h>
64 
65 #include <xapian/postingiterator.h>
67 
68 #include <xapian/positioniterator.h>
70 
71 #include <xapian/termiterator.h>
73 
74 #include <xapian/valueiterator.h>
76 
77 #include <xapian/matchspy.h>
79 
80 #include <xapian/postingsource.h>
82 
83 #endif /* XAPIAN_INCLUDED_OUTPUT_H */
This class is used to access a database, or a group of databases.
Definition: database.h:68
Class representing a stemming algorithm.
Definition: stem.h:62
Abstract base class for match spies.
Definition: matchspy.h:49
Class for iterating over document values.
Definition: valueiterator.h:40
Class representing a list of search results.
Definition: mset.h:44
#define XAPIAN_OUTPUT_FUNCTION(CLASS)
Helper macro for defining stream output of Xapian class.
Definition: output.h:33
Class for iterating over a list of terms.
Definition: termiterator.h:41
Class for iterating over a list of terms.
A latitude-longitude coordinate.
Definition: geospatial.h:81
This class provides read/write access to a database.
Definition: database.h:789
Iterator over a Xapian::MSet.
Definition: mset.h:368
API for working with Xapian databases.
A sequence of latitude-longitude coordinates.
Definition: geospatial.h:232
Class for iterating over term positions.
Base class which provides an "external" source of postings.
Definition: postingsource.h:47
Iterator over a Xapian::ESet.
Definition: eset.h:160
This class provides an interface to the information retrieval system for the purpose of searching...
Definition: enquire.h:152
Class representing a list of search results.
Definition: eset.h:43
Class representing a query.
Definition: query.h:46
A handle representing a document in a Xapian database.
Definition: document.h:61
A relevance set (R-Set).
Definition: enquire.h:60