3 #ifndef __AUTO_INDEX_H__
4 #define __AUTO_INDEX_H__
7 #include "tools/AutoPtr.h"
8 #include "tools/NoCopy.h"
11 #include "storage/Index.h"
27 virtual void open(
const stdString &filename,
ReadWrite readwrite=ReadOnly);
Name iterator.
Definition: Index.h:115
virtual void open(const stdString &filename, ReadWrite readwrite=ReadOnly)
Open an index.
General Index for reading.
Definition: AutoIndex.h:20
Return value of addChannel() and findChannel()
Definition: Index.h:65
ReadWrite
Modes used for open.
Definition: Index.h:27
virtual Result * addChannel(const stdString &channel)
Add a channel to the index.
virtual NameIterator * iterator()
Get NameIterator, located on first channel.
virtual Result * findChannel(const stdString &channel)
Obtain the RTree for a channel.
virtual void close()
Close the index.
Base interface for the archiver's indices.
Definition: Index.h:16