NBNetBuilder::by_id_sorter Class Reference

#include <NBNetBuilder.h>


Detailed Description

Sorts nodes by their ids.

Definition at line 198 of file NBNetBuilder.h.


Public Member Functions

 by_id_sorter ()
 constructor
int operator() (const NBNode *n1, const NBNode *n2) const

Constructor & Destructor Documentation

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

constructor

Definition at line 201 of file NBNetBuilder.h.

00201 { }


Member Function Documentation

int NBNetBuilder::by_id_sorter::operator() ( const NBNode n1,
const NBNode n2 
) const [inline]

Definition at line 203 of file NBNetBuilder.h.

References NBNode::getID().

00203                                                                  {
00204             return n1->getID()<n2->getID();
00205         }


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