Tagcoll::TDBReadonlyDiskIndex< ITEM, TAG > Class Template Reference

TDBDiskIndex operating on a read-only database, and storing the changes in a PatchList. More...

#include <TDBReadonlyDiskIndex.h>

Inheritance diagram for Tagcoll::TDBReadonlyDiskIndex< ITEM, TAG >:

Inheritance graph
[legend]
Collaboration diagram for Tagcoll::TDBReadonlyDiskIndex< ITEM, TAG >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TDBReadonlyDiskIndex (const std::string &pkgidx, const std::string &tagidx, Converter< ITEM, std::string > &fromitem, Converter< TAG, std::string > &fromtag, Converter< std::string, ITEM > &toitem, Converter< std::string, TAG > &totag)
 Create a new TDBDiskIndex.
virtual ~TDBReadonlyDiskIndex ()

Protected Attributes

TDBDiskIndex< ITEM, TAG > diskColl

Detailed Description

template<class ITEM, class TAG>
class Tagcoll::TDBReadonlyDiskIndex< ITEM, TAG >

TDBDiskIndex operating on a read-only database, and storing the changes in a PatchList.


Constructor & Destructor Documentation

template<class ITEM, class TAG>
Tagcoll::TDBReadonlyDiskIndex< ITEM, TAG >::TDBReadonlyDiskIndex ( const std::string &  pkgidx,
const std::string &  tagidx,
Converter< ITEM, std::string > &  fromitem,
Converter< TAG, std::string > &  fromtag,
Converter< std::string, ITEM > &  toitem,
Converter< std::string, TAG > &  totag 
) [inline]

Create a new TDBDiskIndex.

Parameters:
pkgidx The file name of the package index
tagidx The file name of the tag index
fromitem,fromtag,toitem,totag The Converter-s used to convert ITEMS and TAGS to and from strings. If 0 is passed, this TDBDiskIndex will only be able to work with string items and string tags.

template<class ITEM, class TAG>
virtual Tagcoll::TDBReadonlyDiskIndex< ITEM, TAG >::~TDBReadonlyDiskIndex (  )  [inline, virtual]


Member Data Documentation

template<class ITEM, class TAG>
TDBDiskIndex<ITEM, TAG> Tagcoll::TDBReadonlyDiskIndex< ITEM, TAG >::diskColl [protected]


The documentation for this class was generated from the following file:
Generated on Sat Aug 19 01:19:56 2006 for libtagcoll by  doxygen 1.4.7