InMemoryDoc Class Reference

Class representing a document and the terms indexing it. More...

#include <inmemory_database.h>

List of all members.

Public Member Functions

 InMemoryDoc ()
 InMemoryDoc (bool is_valid_)
void add_posting (const InMemoryTermEntry &post)

Public Attributes

bool is_valid
vector< InMemoryTermEntryterms


Detailed Description

Class representing a document and the terms indexing it.

Definition at line 111 of file inmemory_database.h.


Constructor & Destructor Documentation

InMemoryDoc::InMemoryDoc (  )  [inline]

Definition at line 119 of file inmemory_database.h.

InMemoryDoc::InMemoryDoc ( bool  is_valid_  )  [inline]

Definition at line 122 of file inmemory_database.h.


Member Function Documentation

void InMemoryDoc::add_posting ( const InMemoryTermEntry post  )  [inline]

Definition at line 63 of file inmemory_database.cc.

References terms.

Referenced by InMemoryDatabase::make_posting().


Member Data Documentation

bool InMemoryDoc::is_valid

Definition at line 113 of file inmemory_database.h.

vector<InMemoryTermEntry> InMemoryDoc::terms

Definition at line 115 of file inmemory_database.h.

Referenced by add_posting(), InMemoryDatabase::open_position_list(), and InMemoryDatabase::positionlist_count().


The documentation for this class was generated from the following files:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.