#include <inmemory_document.h>


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 InMemoryDocument &) |
| Don't allow assignment. | |
| InMemoryDocument (const InMemoryDocument &) | |
| Don't allow copying. | |
| InMemoryDocument (const Xapian::Database::Internal *db, Xapian::docid did_) | |
| Private constructor - only called by InMemoryDatabase::open_document(). | |
Friends | |
| class | InMemoryDatabase |
| InMemoryDatabase::open_document() needs to call our private constructor. | |
Definition at line 28 of file inmemory_document.h.
| InMemoryDocument::InMemoryDocument | ( | const InMemoryDocument & | ) | [private] |
Don't allow copying.
| InMemoryDocument::InMemoryDocument | ( | const Xapian::Database::Internal * | db, | |
| Xapian::docid | did_ | |||
| ) | [inline, private] |
Private constructor - only called by InMemoryDatabase::open_document().
Definition at line 39 of file inmemory_document.h.
| void InMemoryDocument::do_get_all_values | ( | map< Xapian::valueno, string > & | values_ | ) | const |
Implementation of virtual methods.
| string InMemoryDocument::do_get_data | ( | ) | const [virtual] |
Implementation of virtual methods.
Reimplemented from Xapian::Document::Internal.
Definition at line 54 of file inmemory_document.cc.
References InMemoryDatabase::closed, Xapian::Document::Internal::database, Xapian::Document::Internal::did, InMemoryDatabase::doclists, Xapian::Internal::RefCntPtr< T >::get(), LOGCALL, and RETURN.
| string InMemoryDocument::do_get_value | ( | Xapian::valueno | slot | ) | const [virtual] |
Implementation of virtual methods.
Reimplemented from Xapian::Document::Internal.
Definition at line 30 of file inmemory_document.cc.
References Xapian::Document::Internal::database, Xapian::Document::Internal::did, Xapian::Internal::RefCntPtr< T >::get(), LOGCALL, RETURN, and InMemoryDatabase::valuelists.
| void InMemoryDocument::operator= | ( | const InMemoryDocument & | ) | [private] |
Don't allow assignment.
friend class InMemoryDatabase [friend] |
InMemoryDatabase::open_document() needs to call our private constructor.
Definition at line 36 of file inmemory_document.h.