~zorba-coders/zorba/ItemFactory

« back to all changes in this revision

Viewing changes to src/store/api/store.h

  • Committer: Tarmac
  • Author(s): Markos Zaharioudakis
  • Date: 2011-12-14 05:06:47 UTC
  • mfrom: (10582.1.2 tempseq)
  • Revision ID: tarmac-20111214050647-6w8b0gny4gzh9rr6
Optimized and cleaned up SimpleTempSeq implementation and its usage. Approved: Markos Zaharioudakis

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
   *                   evaluated lazily. For XQueryP it might be necassary to set
73
73
   *                   this to false.
74
74
   */
75
 
  virtual TempSeq_t createTempSeq(
76
 
        Iterator_t& iterator,
77
 
        bool copyNodes,
78
 
        bool lazy) = 0;
79
 
 
80
 
  /**
81
 
   * Creates a new TempSeq that is initialized with the given vector.
82
 
   */
83
 
  virtual TempSeq_t createTempSeq(const std::vector<Item_t>& item_v) = 0;
 
75
  virtual TempSeq_t createTempSeq(const Iterator_t& iterator, bool lazy) = 0;
 
76
 
 
77
  /**
 
78
   * Creates a new TempSeq that is initialized with the given vector.
 
79
   */
 
80
  virtual TempSeq_t createTempSeq(std::vector<Item_t>& item_v) = 0;
 
81
 
 
82
  /**
 
83
   * Creates a new TempSeq that is initialized with the given vector.
 
84
   */
 
85
  virtual TempSeq_t createTempSeq(Item_t& item) = 0;
84
86
 
85
87
  /**
86
88
   * Creates a new, empty TempSeq.