Lines Matching refs:iterators
13 * @brief Iterator that iterates over several iterators one after the other
22 private $iterators;
27 /** do not require all sub iterators to be valid in iteration */
30 /** require all sub iterators to be valid in iteration */
33 /** keys are created from sub iterators position */
36 /** keys are created from sub iterators associated infromation */
44 $this->iterators = new SplObjectStorage();
75 foreach($this->iterators as $iter)
77 if ($inf == $this->iterators->getInfo())
83 $this->iterators->attach($iter, $inf);
89 $this->iterators->detach($iter);
103 return $this->iterators->count();
109 foreach($this->iterators as $iter)
117 * In mode MIT_NEED_ALL we expect all sub iterators to be valid and
124 if (!sizeof($this->iterators)) {
130 foreach($this->iterators as $iter)
145 foreach($this->iterators as $iter)
159 if (!sizeof($this->iterators))
164 foreach($this->iterators as $iter)
170 $key = $this->iterators->getInfo();
201 if (!sizeof($this->iterators))
206 foreach($this->iterators as $iter)