xapian-core  1.4.21
Public Member Functions | Public Attributes | List of all members
InMemoryDoc Class Reference

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

#include <inmemory_database.h>

+ Collaboration diagram for InMemoryDoc:

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 118 of file inmemory_database.h.

Constructor & Destructor Documentation

◆ InMemoryDoc() [1/2]

InMemoryDoc::InMemoryDoc ( )
inline

Definition at line 126 of file inmemory_database.h.

◆ InMemoryDoc() [2/2]

InMemoryDoc::InMemoryDoc ( bool  is_valid_)
inlineexplicit

Definition at line 129 of file inmemory_database.h.

Member Function Documentation

◆ add_posting()

void InMemoryDoc::add_posting ( const InMemoryTermEntry post)
inline

Definition at line 65 of file inmemory_database.cc.

Referenced by InMemoryDatabase::make_posting().

Member Data Documentation

◆ is_valid

bool InMemoryDoc::is_valid

Definition at line 120 of file inmemory_database.h.

◆ terms

vector<InMemoryTermEntry> InMemoryDoc::terms

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