14 std::vector<PosVar>::iterator
pos =
18 if (pos !=
vars.end() && (pos->var == var ||
19 (pos->var->getSource() == var->
getSource() &&
28 vars.insert(pos, 1, item);
35 std::vector<PosVar>::const_iterator
pos =
39 if (pos ==
vars.end() || pos->var->getName() !=
name)
47 for(std::vector<PosVar>::const_iterator
pos =
vars.begin();
49 if (
pos->magic == magic)
57 std::vector<SourceVariable*>
result(
vars.size());
59 for(std::vector<PosVar>::const_iterator iter =
vars.begin();
60 iter !=
vars.end(); iter++)
61 result[iter->pos] = iter->var;
65 for(std::vector<PosVar>::const_iterator iter =
vars.begin();
66 iter !=
vars.end(); iter++)
69 (iter->pos - (iter->pos >= pos)));