#include <TDBReadonlyDiskIndex.h>
Inheritance diagram for Tagcoll::TDBReadonlyDiskIndex< ITEM, TAG >:
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 |
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.
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. |
virtual Tagcoll::TDBReadonlyDiskIndex< ITEM, TAG >::~TDBReadonlyDiskIndex | ( | ) | [inline, virtual] |
TDBDiskIndex<ITEM, TAG> Tagcoll::TDBReadonlyDiskIndex< ITEM, TAG >::diskColl [protected] |