RemoteDocument Class Reference

A document read from a RemoteDatabase. More...

#include <remote-document.h>

Inheritance diagram for RemoteDocument:

Inheritance graph
[legend]
Collaboration diagram for RemoteDocument:

Collaboration graph
[legend]

List of all members.

Public Member Functions

string do_get_value (Xapian::valueno slot) const
 Implementation of virtual methods.
void do_get_all_values (map< Xapian::valueno, string > &values_) const
 Implementation of virtual methods.
string do_get_data () const
 Implementation of virtual methods.

Private Member Functions

void operator= (const RemoteDocument &)
 Don't allow assignment.
 RemoteDocument (const RemoteDocument &)
 Don't allow copying.
 RemoteDocument (const Xapian::Database::Internal *db, Xapian::docid did_, const string &data_, map< Xapian::valueno, string > &values_)
 Private constructor - only called by RemoteDocument::open_document().

Friends

class RemoteDatabase
 RemoteDocument::open_document() needs to call our private constructor.


Detailed Description

A document read from a RemoteDatabase.

Definition at line 28 of file remote-document.h.


Constructor & Destructor Documentation

RemoteDocument::RemoteDocument ( const RemoteDocument  )  [private]

Don't allow copying.

RemoteDocument::RemoteDocument ( const Xapian::Database::Internal db,
Xapian::docid  did_,
const string &  data_,
map< Xapian::valueno, string > &  values_ 
) [inline, private]

Private constructor - only called by RemoteDocument::open_document().

Parameters:
values_ The values to set - passed by non-const reference, and may be modified by the call.

Definition at line 43 of file remote-document.h.

References Xapian::Document::Internal::set_all_values(), and Xapian::Document::Internal::set_data().


Member Function Documentation

void RemoteDocument::do_get_all_values ( map< Xapian::valueno, string > &  values_  )  const

Implementation of virtual methods.

Definition at line 38 of file remote-document.cc.

References Assert, and LOGCALL_VOID.

string RemoteDocument::do_get_data (  )  const [virtual]

Implementation of virtual methods.

Reimplemented from Xapian::Document::Internal.

Definition at line 46 of file remote-document.cc.

References Assert, LOGCALL, and RETURN.

string RemoteDocument::do_get_value ( Xapian::valueno  slot  )  const [virtual]

Implementation of virtual methods.

Reimplemented from Xapian::Document::Internal.

Definition at line 29 of file remote-document.cc.

References Assert, LOGCALL, and RETURN.

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

Don't allow assignment.


Friends And Related Function Documentation

friend class RemoteDatabase [friend]

RemoteDocument::open_document() needs to call our private constructor.

Definition at line 36 of file remote-document.h.


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.