3 #ifndef __LIST_INDEX_H__
4 #define __LIST_INDEX_H__
7 #include "tools/AutoPtr.h"
10 #include "storage/Index.h"
66 virtual void open(
const std::string& filename,
ReadWrite readwrite=ReadOnly);
100 SubArchInfo(stdString name) : name(name), index(0) {}
103 const std::string& getName()
const
117 stdList<SubArchInfo> sub_archs;
120 stdList<stdString> names;
123 static void name_traverser(
const stdString &name,
void *
self);
Name iterator.
Definition: Index.h:115
Return value of addChannel() and findChannel()
Definition: Index.h:65
ReadWrite
Modes used for open.
Definition: Index.h:27
virtual void open(const std::string &filename, ReadWrite readwrite=ReadOnly)
Open the index.
virtual Result * findChannel(const std::string &channel)
Returns result of the specified channel.
Index based on list of sub-archives.
Definition: ListIndex.h:52
virtual void close()
Closes the index.
virtual Result * addChannel(const std::string &channel)
Adds channel.
Base interface for the archiver's indices.
Definition: Index.h:16
virtual NameIterator * iterator()
Returns iterator.