MSEdge::by_id_sorter Class Reference

#include <MSEdge.h>


Detailed Description

Sorts edges by their ids.

Definition at line 423 of file MSEdge.h.


Public Member Functions

 by_id_sorter ()
 constructor
int operator() (const MSEdge *const e1, const MSEdge *const e2) const
 comparing operator

Constructor & Destructor Documentation

MSEdge::by_id_sorter::by_id_sorter (  )  [inline, explicit]

constructor

Definition at line 426 of file MSEdge.h.

00426 { }


Member Function Documentation

int MSEdge::by_id_sorter::operator() ( const MSEdge *const   e1,
const MSEdge *const   e2 
) const [inline]

comparing operator

Definition at line 429 of file MSEdge.h.

References MSEdge::getID().

00429                                                                                {
00430             return e1->getID()<e2->getID();
00431         }


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

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