NBJoinedEdgesMap.cpp File Reference


Detailed Description

Author:
Daniel Krajzewicz
Date:
Tue, 29.05.2005
Version:
Id
NBJoinedEdgesMap.cpp 8472 2010-03-18 20:00:31Z behrisch

Definition in file NBJoinedEdgesMap.cpp.

#include <config.h>
#include <cassert>
#include <iostream>
#include "NBJoinedEdgesMap.h"
#include "NBEdgeCont.h"
#include "NBEdge.h"
#include <algorithm>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const NBJoinedEdgesMap &jemap)

Variables

NBJoinedEdgesMap gJoinedEdges


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const NBJoinedEdgesMap jemap 
)

Definition at line 80 of file NBJoinedEdgesMap.cpp.

References NBJoinedEdgesMap::myLengths, and NBJoinedEdgesMap::myMap.

00080                                                           {
00081     NBJoinedEdgesMap::JoinedEdgesMap::const_iterator i;
00082     for (i=jemap.myMap.begin(); i!=jemap.myMap.end(); ++i) {
00083         os << (*i).first << "\t";
00084         const NBJoinedEdgesMap::MappedEdgesVector &e = (*i).second;
00085         for (NBJoinedEdgesMap::MappedEdgesVector::const_iterator j=e.begin(); j!=e.end(); ++j) {
00086             os << (*j) << ":" << jemap.myLengths.find(*j)->second << "\t";
00087         }
00088         os << std::endl;
00089     }
00090     return os;
00091 }


Variable Documentation


Generated on Wed May 5 00:06:38 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6