NBContHelper::node_with_outgoing_finder Class Reference

#include <NBContHelper.h>


Detailed Description

Definition at line 237 of file NBContHelper.h.


Public Member Functions

 node_with_outgoing_finder (const NBEdge *const e)
 constructor
bool operator() (const NBNode *const n) const

Private Member Functions

node_with_outgoing_finderoperator= (const node_with_outgoing_finder &s)
 invalidated assignment operator

Private Attributes

const NBEdge *const myEdge

Constructor & Destructor Documentation

NBContHelper::node_with_outgoing_finder::node_with_outgoing_finder ( const NBEdge *const   e  ) 

constructor

Definition at line 153 of file NBContHelper.cpp.

00154         : myEdge(e) {}


Member Function Documentation

bool NBContHelper::node_with_outgoing_finder::operator() ( const NBNode *const   n  )  const

Definition at line 158 of file NBContHelper.cpp.

References NBNode::getOutgoingEdges(), and myEdge.

00158                                                                               {
00159     const EdgeVector &outgoing = n->getOutgoingEdges();
00160     return std::find(outgoing.begin(), outgoing.end(), myEdge)!=outgoing.end();
00161 }

node_with_outgoing_finder& NBContHelper::node_with_outgoing_finder::operator= ( const node_with_outgoing_finder s  )  [private]

invalidated assignment operator


Field Documentation

Definition at line 245 of file NBContHelper.h.

Referenced by operator()().


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

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