xapian-core  1.4.18
Public Member Functions | Private Member Functions | List of all members
Xapian::StemImplementation Class Referenceabstract

Class representing a stemming algorithm implementation. More...

#include <stem.h>

+ Inheritance diagram for Xapian::StemImplementation:
+ Collaboration diagram for Xapian::StemImplementation:

Public Member Functions

 StemImplementation ()
 Default constructor. More...
 
virtual ~StemImplementation ()
 Virtual destructor. More...
 
virtual std::string operator() (const std::string &word)=0
 Stem the specified word. More...
 
virtual std::string get_description () const =0
 Return a string describing this object. More...
 
- Public Member Functions inherited from Xapian::Internal::intrusive_base
 intrusive_base ()
 Construct with no references. More...
 

Private Member Functions

void operator= (const StemImplementation &)
 Don't allow assignment. More...
 
 StemImplementation (const StemImplementation &)
 Don't allow copying. More...
 

Additional Inherited Members

- Public Attributes inherited from Xapian::Internal::intrusive_base
unsigned _refs
 Reference count. More...
 

Detailed Description

Class representing a stemming algorithm implementation.

Definition at line 38 of file stem.h.

Constructor & Destructor Documentation

◆ StemImplementation() [1/2]

Xapian::StemImplementation::StemImplementation ( const StemImplementation )
private

Don't allow copying.

◆ StemImplementation() [2/2]

Xapian::StemImplementation::StemImplementation ( )
inline

Default constructor.

Definition at line 49 of file stem.h.

◆ ~StemImplementation()

Xapian::StemImplementation::~StemImplementation ( )
virtual

Virtual destructor.

Definition at line 140 of file steminternal.cc.

Member Function Documentation

◆ get_description()

virtual std::string Xapian::StemImplementation::get_description ( ) const
pure virtual

◆ operator()()

virtual std::string Xapian::StemImplementation::operator() ( const std::string &  word)
pure virtual

Stem the specified word.

Implemented in Xapian::SnowballStemImplementation, and MyStemImpl.

◆ operator=()

void Xapian::StemImplementation::operator= ( const StemImplementation )
private

Don't allow assignment.


The documentation for this class was generated from the following files: