| 52 | } |
| 53 | |
| 54 | void EdgeBasedGraphFactory::GetEdgeBasedEdges( |
| 55 | util::DeallocatingVector<EdgeBasedEdge> &output_edge_list) |
| 56 | { |
| 57 | BOOST_ASSERT_MSG(0 == output_edge_list.size(), "Vector is not empty"); |
| 58 | using std::swap; // Koenig swap |
| 59 | swap(m_edge_based_edge_list, output_edge_list); |
| 60 | } |
| 61 | |
| 62 | void EdgeBasedGraphFactory::GetEdgeBasedNodeSegments(std::vector<EdgeBasedNodeSegment> &nodes) |
| 63 | { |
no test coverage detected