~zorba-coders/zorba/bug-1047538

« back to all changes in this revision

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

  • Committer: Markos Zaharioudakis
  • Date: 2012-09-12 22:37:32 UTC
  • mfrom: (11033.1.4 zorba)
  • Revision ID: markos_za@yahoo.com-20120912223732-v62wyg52rb4xdytm
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    xs_integer                              theSkip;
58
58
 
59
59
  public:
60
 
    CollectionIter(SimpleCollection* collection, const xs_integer& aSkip);
 
60
    CollectionIter(SimpleCollection* collection, 
 
61
                   const xs_integer& aSkip);
61
62
 
62
63
    ~CollectionIter();
63
64
 
65
66
    bool next(store::Item_t& result);
66
67
    void reset();
67
68
    void close();
 
69
  private:
 
70
    void skip();
68
71
  };
69
72
 
70
73
 
110
113
 
111
114
  TreeId createTreeId();
112
115
 
113
 
  store::Iterator_t getIterator(const xs_integer& aSkip);
 
116
  store::Iterator_t getIterator(const xs_integer& aSkip, 
 
117
                                const zstring& aStart);
114
118
 
115
119
  void addNode(store::Item* node, xs_integer position = xs_integer(-1));
116
120