SUMO - Simulation of Urban MObility
MSPModel_Striping::by_xpos_sorter Class Reference

sorts the persons by position on the lane. If dir is forward, higher x positions come first. More...

#include <MSPModel_Striping.h>

Collaboration diagram for MSPModel_Striping::by_xpos_sorter:
Collaboration graph

Public Member Functions

 by_xpos_sorter (int dir)
 constructor More...
 
bool operator() (const PState *p1, const PState *p2) const
 comparing operation More...
 

Private Member Functions

by_xpos_sorteroperator= (const by_xpos_sorter &)
 Invalidated assignment operator. More...
 

Private Attributes

const int myDir
 

Detailed Description

sorts the persons by position on the lane. If dir is forward, higher x positions come first.

Definition at line 325 of file MSPModel_Striping.h.

Constructor & Destructor Documentation

MSPModel_Striping::by_xpos_sorter::by_xpos_sorter ( int  dir)
inline

constructor

Definition at line 328 of file MSPModel_Striping.h.

Member Function Documentation

bool MSPModel_Striping::by_xpos_sorter::operator() ( const PState p1,
const PState p2 
) const
inline
by_xpos_sorter& MSPModel_Striping::by_xpos_sorter::operator= ( const by_xpos_sorter )
private

Invalidated assignment operator.

Field Documentation

const int MSPModel_Striping::by_xpos_sorter::myDir
private

Definition at line 340 of file MSPModel_Striping.h.


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