NBEdge::connections_sorter Class Reference

#include <NBEdge.h>


Detailed Description

Definition at line 1068 of file NBEdge.h.


Public Member Functions

 connections_sorter ()
 constructor
int operator() (const Connection &c1, const Connection &c2) const

Constructor & Destructor Documentation

NBEdge::connections_sorter::connections_sorter (  )  [inline, explicit]

constructor

Definition at line 1071 of file NBEdge.h.

01071 { }


Member Function Documentation

int NBEdge::connections_sorter::operator() ( const Connection c1,
const Connection c2 
) const [inline]

Definition at line 1073 of file NBEdge.h.

References NBEdge::Connection::fromLane, and NBEdge::Connection::toLane.

01073                                                                          {
01074             if (c1.fromLane!=c2.fromLane) {
01075                 return c1.fromLane<c2.fromLane;
01076             }
01077             return c1.toLane<c2.toLane;
01078         }


The documentation for this class was generated from the following file:

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