22 #ifndef XAPIAN_INCLUDED_STEM_H 23 #define XAPIAN_INCLUDED_STEM_H 25 #if !defined XAPIAN_IN_XAPIAN_H && !defined XAPIAN_LIB_BUILD 26 # error Never use <xapian/stem.h> directly; include <xapian.h> instead. 55 virtual std::string operator()(
const std::string & word) = 0;
58 virtual std::string get_description()
const = 0;
73 #ifdef XAPIAN_MOVE_SEMANTICS 163 std::string operator()(
const std::string &word)
const;
166 bool is_none()
const {
return !
internal.get(); }
169 std::string get_description()
const;
190 #endif // XAPIAN_INCLUDED_STEM_H bool is_none() const
Return true if this is a no-op stemmer.
The Xapian namespace contains public interfaces for the Xapian library.
Class representing a stemming algorithm.
unsigned stemmer_name_len
StemImplementation()
Default constructor.
#define XAPIAN_VISIBILITY_DEFAULT
Mechanism for accessing a struct of constant information.
const struct constinfo * get_constinfo_()
Define XAPIAN_VISIBILITY_* macros.
static std::string get_available_languages()
Return a list of available languages.
Base class for objects managed by intrusive_ptr.
Class representing a stemming algorithm implementation.
A smart pointer that uses intrusive reference counting.