xapian-core  1.4.25
Macros
output.h File Reference

std::ostream operator<< template for Xapian objects More...

#include <ostream>
#include <xapian/database.h>
#include <xapian/document.h>
#include <xapian/query.h>
#include <xapian/enquire.h>
#include <xapian/geospatial.h>
#include <xapian/stem.h>
#include <xapian/postingiterator.h>
#include <xapian/positioniterator.h>
#include <xapian/termiterator.h>
#include <xapian/valueiterator.h>
#include <xapian/matchspy.h>
#include <xapian/postingsource.h>
+ Include dependency graph for output.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define XAPIAN_OUTPUT_FUNCTION(CLASS)
 Helper macro for defining stream output of Xapian class. More...
 

Detailed Description

std::ostream operator<< template for Xapian objects

Definition in file output.h.

Macro Definition Documentation

◆ XAPIAN_OUTPUT_FUNCTION

#define XAPIAN_OUTPUT_FUNCTION (   CLASS)
Value:
inline std::ostream & \
operator<<(std::ostream & os, const CLASS & object) { \
return os << object.get_description(); \
}

Helper macro for defining stream output of Xapian class.

Definition at line 33 of file output.h.