46 WRITE_WARNING(
"Ignoring parking area on edge '" + e->
getID() +
"' due to invalid permissions.");
50 const int cornerDistance = 5;
51 int capacity = (int)((e->
getFinalLength() - 2 * cornerDistance) / 7.5);
53 WRITE_WARNING(
"Ignoring parking area on edge '" + e->
getID() +
"' due to insufficient space.");
73 std::cout <<
"could not find edge for parkingArea '" <<
getID() <<
"'\n";
81 if (oc.
isSet(
"parking-output")) {
83 into.insert(p.
getID());
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
void addEdges2Keep(const OptionsCont &oc, std::set< std::string > &into)
add edges that must be kept
The representation of a single edge during network building.
const std::string & getID() const
Returns the id.
void write(OutputDevice &device, NBEdgeCont &ec) const
#define WRITE_WARNING(msg)
bool isSet(const std::string &name, bool failOnNonExistant=true) const
Returns the information whether the named option is set.
The representation of a single pt stop.
std::string getLaneID(int lane) const
get lane ID
int getNumLanes() const
Returns the number of lanes.
const std::string & getID() const
Storage for edges, including some functionality operating on multiple edges.
SVCPermissions getPermissions(int lane=-1) const
get the union of allowed classes over all lanes or for a specific lane
double getFinalLength() const
get length that will be assigned to the lanes in the final network
vehicle is a passenger car (a "normal" car)
Base class for objects which have an id.
NBEdge * retrieve(const std::string &id, bool retrieveExtracted=false) const
Returns the edge that has the given id.
A storage for options typed value containers)
Static storage of an output device and its base (abstract) implementation.
bool closeTag(const std::string &comment="")
Closes the most recently opened tag and optionally adds a comment.
NBParking(const std::string &id, const std::string &edgeID, const std::string &name="")
Constructor.
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.