42 #include <mesosim/MELoop.h>
43 #include <mesosim/MESegment.h>
46 #ifdef CHECK_MEMORY_LEAKS
48 #endif // CHECK_MEMORY_LEAKS
73 for (; it != end; ++it) {
77 fclass = fclass.substr(0, fclass.find_first_of(
"@"));
95 const std::vector<MSEdge*>& edges = ec.
getEdges();
96 for (std::vector<MSEdge*>::const_iterator e = edges.begin(); e != edges.end(); ++e) {
99 const std::vector<MSLane*>& lanes = edge.
getLanes();
100 for (std::vector<MSLane*>::const_iterator lane = lanes.begin(); lane != lanes.end(); ++lane) {
125 for (std::vector<std::string>::const_iterator id_it = ids.begin(); id_it != ids.end(); ++id_it) {
129 std::vector<std::string> laneIDs;
130 for (MSTrafficLightLogic::LaneVectorVector::const_iterator i = lanes.begin(); i != lanes.end(); ++i) {
132 for (MSTrafficLightLogic::LaneVector::const_iterator j = llanes.begin(); j != llanes.end(); ++j) {
133 laneIDs.push_back((*j)->getID());
137 std::string lane_output =
"";
138 for (
unsigned int i1 = 0; i1 < laneIDs.size(); ++i1) {
139 lane_output += laneIDs[i1] +
" ";