25 _priority_index.insert(b);
31 for (priority_index::const_iterator iter = _priority_index.begin(); iter != _priority_index.end(); ++iter)
35 _priority_index.erase(iter);
43 bool unlimited = (cb.limit() <= 0);
47 for (priority_index::const_iterator iter = _priority_index.begin(); iter != _priority_index.end(); ++iter)
50 if (cb.shouldAdd(b)) {
55 if (!unlimited && (added >= cb.limit()))
break;
64 std::set<dtn::data::EID> ret;
67 for (priority_index::const_iterator iter = _priority_index.begin(); iter != _priority_index.end(); ++iter)