6 #include "EntryListener.h"
8 #include "TwoKeyAVLTree.h"
10 class NameIndexEntryIterator
;
13 class NameIndex
: public Index
, private EntryListener
{
15 NameIndex(Volume
*volume
);
18 virtual int32
CountEntries() const;
20 virtual status_t
Changed(Entry
*entry
, const char *oldName
);
23 virtual void EntryAdded(Entry
*entry
);
24 virtual void EntryRemoved(Entry
*entry
);
27 virtual AbstractIndexEntryIterator
*InternalGetIterator();
28 virtual AbstractIndexEntryIterator
*InternalFind(const uint8
*key
,
33 friend class NameIndexEntryIterator
;
35 void _UpdateLiveQueries(Entry
* entry
, const char* oldName
,
42 #endif // NAME_INDEX_H