InMemoryDocument Class Reference

#include <inmemory_document.h>

Inheritance diagram for InMemoryDocument:

Inheritance graph
[legend]
Collaboration diagram for InMemoryDocument:

Collaboration graph
[legend]
List of all members.

Public Member Functions

string do_get_value (Xapian::valueno valueid) const
map< Xapian::valueno, string > do_get_all_values () const
string do_get_data () const

Private Member Functions

 InMemoryDocument (const Xapian::Database::Internal *database_, Xapian::docid did_, const string &doc_, const map< Xapian::valueno, string > &values_)
 InMemoryDocument (const InMemoryDocument &)
InMemoryDocumentoperator= (const InMemoryDocument &)

Private Attributes

string doc
map< Xapian::valueno, string > values
 The values associated with this document.

Friends

class InMemoryDatabase

Detailed Description

Definition at line 30 of file inmemory_document.h.


Constructor & Destructor Documentation

InMemoryDocument::InMemoryDocument ( const Xapian::Database::Internal database_,
Xapian::docid  did_,
const string &  doc_,
const map< Xapian::valueno, string > &  values_ 
) [private]

Definition at line 28 of file inmemory_document.cc.

InMemoryDocument::InMemoryDocument ( const InMemoryDocument  )  [private]


Member Function Documentation

InMemoryDocument& InMemoryDocument::operator= ( const InMemoryDocument  )  [private]

string InMemoryDocument::do_get_value ( Xapian::valueno  valueid  )  const [virtual]

Reimplemented from Xapian::Document::Internal.

Definition at line 37 of file inmemory_document.cc.

References values.

map< Xapian::valueno, string > InMemoryDocument::do_get_all_values (  )  const [virtual]

Reimplemented from Xapian::Document::Internal.

Definition at line 45 of file inmemory_document.cc.

References values.

string InMemoryDocument::do_get_data (  )  const [virtual]

Reimplemented from Xapian::Document::Internal.

Definition at line 51 of file inmemory_document.cc.

References doc.


Friends And Related Function Documentation

friend class InMemoryDatabase [friend]

Definition at line 31 of file inmemory_document.h.


Member Data Documentation

string InMemoryDocument::doc [private]

Definition at line 33 of file inmemory_document.h.

Referenced by do_get_data().

map<Xapian::valueno, string> InMemoryDocument::values [private]

The values associated with this document.

Reimplemented from Xapian::Document::Internal.

Definition at line 34 of file inmemory_document.h.

Referenced by do_get_all_values(), and do_get_value().


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.