xapian-core  1.4.26
Public Member Functions | Public Attributes | Private Attributes | List of all members
Xapian::SnipPipe Class Reference
+ Collaboration diagram for Xapian::SnipPipe:

Public Member Functions

 SnipPipe (size_t length_)
 
bool pump (double *r, size_t t, size_t h, unsigned flags)
 
void done ()
 
bool drain (const string &input, const string &hi_start, const string &hi_end, const string &omit, string &output)
 

Public Attributes

size_t best_begin = 0
 
size_t best_end = 0
 
double best_sum = 0
 

Private Attributes

deque< Snipletpipe
 
deque< Snipletbest_pipe
 
size_t length
 
size_t begin = 0
 
double sum = 0
 
size_t phrase_len = 0
 

Detailed Description

Definition at line 337 of file termgenerator_internal.cc.

Constructor & Destructor Documentation

◆ SnipPipe()

Xapian::SnipPipe::SnipPipe ( size_t  length_)
inlineexplicit

Definition at line 361 of file termgenerator_internal.cc.

Member Function Documentation

◆ done()

void Xapian::SnipPipe::done ( )
inline

Definition at line 448 of file termgenerator_internal.cc.

References rare.

Referenced by Xapian::MSet::Internal::snippet().

◆ drain()

bool Xapian::SnipPipe::drain ( const string &  input,
const string &  hi_start,
const string &  hi_end,
const string &  omit,
string &  output 
)
inline

◆ pump()

bool Xapian::SnipPipe::pump ( double *  r,
size_t  t,
size_t  h,
unsigned  flags 
)
inline

Member Data Documentation

◆ begin

size_t Xapian::SnipPipe::begin = 0
private

Definition at line 345 of file termgenerator_internal.cc.

◆ best_begin

size_t Xapian::SnipPipe::best_begin = 0

Definition at line 353 of file termgenerator_internal.cc.

◆ best_end

size_t Xapian::SnipPipe::best_end = 0

Definition at line 355 of file termgenerator_internal.cc.

◆ best_pipe

deque<Sniplet> Xapian::SnipPipe::best_pipe
private

Definition at line 339 of file termgenerator_internal.cc.

◆ best_sum

double Xapian::SnipPipe::best_sum = 0

Definition at line 357 of file termgenerator_internal.cc.

◆ length

size_t Xapian::SnipPipe::length
private

Definition at line 342 of file termgenerator_internal.cc.

◆ phrase_len

size_t Xapian::SnipPipe::phrase_len = 0
private

Definition at line 350 of file termgenerator_internal.cc.

◆ pipe

deque<Sniplet> Xapian::SnipPipe::pipe
private

Definition at line 338 of file termgenerator_internal.cc.

◆ sum

double Xapian::SnipPipe::sum = 0
private

Definition at line 348 of file termgenerator_internal.cc.


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