21 iter != vertexmap.
end();
25 _map.insert(make_pair(vertex->
get_id(), vertex));
33 iter != vertexmap.
end();
37 _map.insert(make_pair(vertex->
get_id(), vertex));
61 os <<
"SvtxVertexMap_v1: size = " <<
_map.size() << endl;
68 if (iter ==
_map.end())
return nullptr;
75 if (iter ==
_map.end())
return nullptr;
81 unsigned int index = 0;
82 if (!
_map.empty()) index =
_map.rbegin()->first + 1;
83 _map.insert(make_pair(index, vertex));
84 _map[index]->set_id(index);