46 #ifdef CHECK_MEMORY_LEAKS
48 #endif // CHECK_MEMORY_LEAKS
56 const std::vector<std::string>& removeByNames)
57 : myPruningBoundary(pruningBoundary), myDoPrune(prune),
58 myRemoveByNames(removeByNames) {}
68 int layer,
bool ignorePruning) {
86 WRITE_ERROR(
"Polygon '" +
id +
"' could not be added.");
98 int layer,
bool ignorePruning) {
113 POICont::iterator i =
myPOICont.find(
id);
115 WRITE_ERROR(
"POI '" +
id +
"' could not be added.");
158 out.
writeXMLHeader(
"additional",
"xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"http://sumo-sim.org/xsd/additional_file.xsd\"");
175 const std::map<std::string, std::string>& attrs = p->
getMap();
176 if (attrs.size() != 0) {
177 for (std::map<std::string, std::string>::const_iterator j = attrs.begin(); j != attrs.end(); ++j) {
208 const std::map<std::string, std::string>& attrs = p->
getMap();
209 if (attrs.size() != 0) {
210 for (std::map<std::string, std::string>::const_iterator j = attrs.begin(); j != attrs.end(); ++j) {