37 class S :
public Scan<Cell2> {
39 inline S(std::vector<Cell2*>& cell) :
40 idx_(cell.begin()), cell_(cell) {}
41 inline S(
const S&
scan) : idx_(
scan.idx_), cell_(
scan.cell_) {}
42 inline bool eos()
const {
return idx_ == cell_.end(); }
43 inline Cell2& operator++(
int) {
return *(*idx_++); }
44 inline Scan2* clone()
const {
return new S(*
this); }
46 std::vector<Cell2*>::iterator idx_;
47 std::vector<Cell2*>& cell_;
49 void addCell(Cell2* cell,
uint level);
50 std::vector<Cell2*> cell_;