xapian-core
1.4.27
common
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
>
40
XAPIAN_OUTPUT_FUNCTION
(
Xapian::Database
)
41
XAPIAN_OUTPUT_FUNCTION
(
Xapian::WritableDatabase
)
42
43
#include <xapian/document.h>
44
XAPIAN_OUTPUT_FUNCTION
(
Xapian::Document
)
45
46
#include <xapian/query.h>
47
XAPIAN_OUTPUT_FUNCTION
(
Xapian::Query
)
48
XAPIAN_OUTPUT_FUNCTION
(
Xapian::Query::Internal
)
49
50
#include <xapian/enquire.h>
51
XAPIAN_OUTPUT_FUNCTION
(
Xapian::RSet
)
52
XAPIAN_OUTPUT_FUNCTION
(
Xapian::MSetIterator
)
53
XAPIAN_OUTPUT_FUNCTION
(
Xapian::MSet
)
54
XAPIAN_OUTPUT_FUNCTION
(
Xapian::ESetIterator
)
55
XAPIAN_OUTPUT_FUNCTION
(
Xapian::ESet
)
56
XAPIAN_OUTPUT_FUNCTION
(
Xapian::Enquire
)
57
58
#include <xapian/geospatial.h>
59
XAPIAN_OUTPUT_FUNCTION
(
Xapian::LatLongCoord
)
60
XAPIAN_OUTPUT_FUNCTION
(
Xapian::LatLongCoords
)
61
62
#include <xapian/stem.h>
63
XAPIAN_OUTPUT_FUNCTION
(
Xapian::Stem
)
64
65
#include <xapian/postingiterator.h>
66
XAPIAN_OUTPUT_FUNCTION
(
Xapian::PostingIterator
)
67
68
#include <xapian/positioniterator.h>
69
XAPIAN_OUTPUT_FUNCTION
(
Xapian::PositionIterator
)
70
71
#include <xapian/termiterator.h>
72
XAPIAN_OUTPUT_FUNCTION
(
Xapian::TermIterator
)
73
74
#include <xapian/valueiterator.h>
75
XAPIAN_OUTPUT_FUNCTION
(
Xapian::ValueIterator
)
76
77
#include <xapian/matchspy.h>
78
XAPIAN_OUTPUT_FUNCTION
(
Xapian::MatchSpy
)
79
80
#include <xapian/postingsource.h>
81
XAPIAN_OUTPUT_FUNCTION
(
Xapian::PostingSource
)
82
83
#endif
/* XAPIAN_INCLUDED_OUTPUT_H */
Xapian::Database
This class is used to access a database, or a group of databases.
Definition:
database.h:68
Xapian::Stem
Class representing a stemming algorithm.
Definition:
stem.h:62
Xapian::MatchSpy
Abstract base class for match spies.
Definition:
matchspy.h:49
Xapian::ValueIterator
Class for iterating over document values.
Definition:
valueiterator.h:40
Xapian::MSet
Class representing a list of search results.
Definition:
mset.h:44
XAPIAN_OUTPUT_FUNCTION
#define XAPIAN_OUTPUT_FUNCTION(CLASS)
Helper macro for defining stream output of Xapian class.
Definition:
output.h:33
Xapian::TermIterator
Class for iterating over a list of terms.
Definition:
termiterator.h:41
Xapian::PostingIterator
Class for iterating over a list of terms.
Definition:
postingiterator.h:41
Xapian::LatLongCoord
A latitude-longitude coordinate.
Definition:
geospatial.h:81
Xapian::WritableDatabase
This class provides read/write access to a database.
Definition:
database.h:789
Xapian::MSetIterator
Iterator over a Xapian::MSet.
Definition:
mset.h:368
database.h
API for working with Xapian databases.
Xapian::LatLongCoords
A sequence of latitude-longitude coordinates.
Definition:
geospatial.h:232
Xapian::PositionIterator
Class for iterating over term positions.
Definition:
positioniterator.h:40
Xapian::PostingSource
Base class which provides an "external" source of postings.
Definition:
postingsource.h:47
Xapian::ESetIterator
Iterator over a Xapian::ESet.
Definition:
eset.h:160
Xapian::Query::Internal
Definition:
query.h:756
Xapian::Enquire
This class provides an interface to the information retrieval system for the purpose of searching...
Definition:
enquire.h:152
Xapian::ESet
Class representing a list of search results.
Definition:
eset.h:43
Xapian::Query
Class representing a query.
Definition:
query.h:46
Xapian::Document
A handle representing a document in a Xapian database.
Definition:
document.h:61
Xapian::RSet
A relevance set (R-Set).
Definition:
enquire.h:60
Generated by
Doxygen 1.8.13