NBConnection.cpp File Reference


Detailed Description

Author:
Daniel Krajzewicz
Date:
Sept 2002
Version:
Id
NBConnection.cpp 8472 2010-03-18 20:00:31Z behrisch

Definition in file NBConnection.cpp.

#include <config.h>
#include <sstream>
#include <iostream>
#include <cassert>
#include "NBEdgeCont.h"
#include "NBEdge.h"
#include "NBConnection.h"

Go to the source code of this file.

Functions

bool operator< (const NBConnection &c1, const NBConnection &c2)


Function Documentation

bool operator< ( const NBConnection c1,
const NBConnection c2 
)

Definition at line 138 of file NBConnection.cpp.

References NBConnection::getFrom(), and NBConnection::getTo().

00138                                                           {
00139     return
00140         std::pair<NBEdge*, NBEdge*>(c1.getFrom(), c1.getTo())
00141         <
00142         std::pair<NBEdge*, NBEdge*>(c2.getFrom(), c2.getTo());
00143 }


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