Tagcoll::BasicStringDiskIndex Class Reference

Full TaggedCollection implementation on top of a persistent on-disk TDB database. More...

#include <BasicStringDiskIndex.h>

Inheritance diagram for Tagcoll::BasicStringDiskIndex:

Inheritance graph
[legend]
Collaboration diagram for Tagcoll::BasicStringDiskIndex:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BasicStringDiskIndex (const std::string &file)
 Create a new Indexer.
virtual ~BasicStringDiskIndex ()
const std::string & filename () const

Static Public Member Functions

static void remove (const std::string &dir)

Protected Attributes

StringIndex pkgs
StringIndex tags

Detailed Description

Full TaggedCollection implementation on top of a persistent on-disk TDB database.

It allows to efficiently query a collection without having to store it all into memory.


Constructor & Destructor Documentation

BasicStringDiskIndex::BasicStringDiskIndex const std::string &  file  ) 
 

Create a new Indexer.

Parameters:
dir The directory with the index files

virtual Tagcoll::BasicStringDiskIndex::~BasicStringDiskIndex  )  [inline, virtual]
 


Member Function Documentation

const std::string& Tagcoll::BasicStringDiskIndex::filename  )  const [inline]
 

static void Tagcoll::BasicStringDiskIndex::remove const std::string &  dir  )  [static]
 


Member Data Documentation

StringIndex Tagcoll::BasicStringDiskIndex::pkgs [protected]
 

StringIndex Tagcoll::BasicStringDiskIndex::tags [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Jun 15 20:19:02 2006 for libtagcoll by  doxygen 1.4.6