ChertAllDocsPostList Class Reference

#include <chert_alldocspostlist.h>

Inheritance diagram for ChertAllDocsPostList:

Inheritance graph
[legend]
Collaboration diagram for ChertAllDocsPostList:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChertAllDocsPostList (Xapian::Internal::RefCntPtr< const ChertDatabase > db_, Xapian::doccount doccount_)
Xapian::doccount get_termfreq () const
 Returns number of docs indexed by this term.
Xapian::termcount get_doclength () const
 Returns the length of current document.
Xapian::termcount get_wdf () const
 Returns the Within Document Frequency of the term in the current document.
PositionListread_position_list ()
 Get the list of positions of the term in the current document.
PositionListopen_position_list () const
 Get the list of positions of the term in the current document.
std::string get_description () const
 Get a description of the document.

Private Member Functions

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

Private Attributes

Xapian::doccount doccount
 The number of documents in the database.


Detailed Description

Definition at line 29 of file chert_alldocspostlist.h.


Constructor & Destructor Documentation

ChertAllDocsPostList::ChertAllDocsPostList ( const ChertAllDocsPostList  )  [private]

Don't allow copying.

ChertAllDocsPostList::ChertAllDocsPostList ( Xapian::Internal::RefCntPtr< const ChertDatabase db_,
Xapian::doccount  doccount_ 
)


Member Function Documentation

string ChertAllDocsPostList::get_description (  )  const [virtual]

Get a description of the document.

Reimplemented from ChertPostList.

Reimplemented in ChertAllDocsModifiedPostList.

Definition at line 80 of file chert_alldocspostlist.cc.

References doccount, ChertPostList::get_docid(), and Xapian::Internal::str().

Xapian::termcount ChertAllDocsPostList::get_doclength (  )  const [virtual]

Returns the length of current document.

Reimplemented from ChertPostList.

Reimplemented in ChertAllDocsModifiedPostList.

Definition at line 50 of file chert_alldocspostlist.cc.

References ChertPostList::get_wdf(), LOGCALL, and RETURN.

Referenced by ChertAllDocsModifiedPostList::get_doclength().

Xapian::doccount ChertAllDocsPostList::get_termfreq (  )  const [virtual]

Returns number of docs indexed by this term.

This is the length of the postlist.

Reimplemented from ChertPostList.

Definition at line 43 of file chert_alldocspostlist.cc.

References doccount, LOGCALL, and RETURN.

Xapian::termcount ChertAllDocsPostList::get_wdf (  )  const [virtual]

Returns the Within Document Frequency of the term in the current document.

Reimplemented from ChertPostList.

Definition at line 58 of file chert_alldocspostlist.cc.

References AssertParanoid, ChertPostList::at_end(), LOGCALL, and RETURN.

PositionList * ChertAllDocsPostList::open_position_list (  )  const [virtual]

Get the list of positions of the term in the current document.

Reimplemented from ChertPostList.

Definition at line 73 of file chert_alldocspostlist.cc.

References LOGCALL.

void ChertAllDocsPostList::operator= ( const ChertAllDocsPostList  )  [private]

Don't allow assignment.

PositionList * ChertAllDocsPostList::read_position_list (  )  [virtual]

Get the list of positions of the term in the current document.

Reimplemented from ChertPostList.

Definition at line 66 of file chert_alldocspostlist.cc.

References LOGCALL.


Member Data Documentation

The number of documents in the database.

Definition at line 37 of file chert_alldocspostlist.h.

Referenced by get_description(), and get_termfreq().


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

Documentation for Xapian (version 1.2.13).
Generated on 9 Jan 2013 by Doxygen 1.5.9.