~zorba-coders/zorba/bug1024580

« back to all changes in this revision

Viewing changes to src/store/naive/simple_index_general.h

  • Committer: Rodolfo Ochoa
  • Date: 2012-09-08 16:36:08 UTC
  • mfrom: (10937.1.51 zorba)
  • Revision ID: rodolfo.ochoa@gmail.com-20120908163608-mz55ayoa8lznh7i3
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
 
221
221
  typedef IndexMap::iterator EntryIterator;
222
222
 
 
223
  /*
 
224
   * This iterator iterates over all index keys from all types
 
225
   */
223
226
  class KeyIterator : public Index::KeyIterator
224
227
  {
 
228
  protected:
 
229
    IndexMap::iterator     theIterator;
 
230
    IndexMap* const*       theMaps;
 
231
    ulong                  theCurType;
225
232
  public:
 
233
    KeyIterator(IndexMap* const* aMaps);
226
234
    ~KeyIterator();
227
235
 
228
236
    void open();
229
237
    bool next(store::IndexKey&);
230
238
    void close();
 
239
 
 
240
  private:
 
241
    void setNextIter();
231
242
  };
232
243
 
233
244
  typedef rchandle<KeyIterator> KeyIterator_t;