61 #ifdef CHECK_MEMORY_LEAKS 63 #endif // CHECK_MEMORY_LEAKS 188 for (std::vector<GUIGlObject_AbstractAdd*>::const_iterator it = additionals.begin(); it != additionals.end(); ++it) {
void close()
Closes the device and removes it from the dictionary.
static void writeLocation(OutputDevice &into)
writes the location element
void writeXML(OutputDevice &out, const bool geo=false, const SUMOReal zOffset=0., const std::string laneID="", const SUMOReal pos=0.)
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
virtual ~GNEPOI()
Destructor.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
bool writeXMLHeader(const std::string &rootElement, const std::string &attrs="", const std::string &comment="")
Writes an XML header with optional configuration.
bool isValid(SumoXMLAttr key, const std::string &value)
A point in 2D or 3D with translation and scaling methods.
static void saveToFile(const std::string &file)
save POIs to file
virtual const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
std::string toString(const T &t, std::streamsize accuracy=OUTPUT_ACCURACY)
const std::string & getType() const
Returns the (abstract) type of the Shape.
static OutputDevice & getDevice(const std::string &name)
Returns the described OutputDevice.
std::string getAttribute(SumoXMLAttr key) const
Static storage of an output device and its base (abstract) implementation.
static const std::vector< GUIGlObject_AbstractAdd * > & getObjectList()
Returns the list of all additional objects.
#define WRITE_MESSAGE(msg)
GNEPOI(const std::string &id, const std::string &type, const RGBColor &color, SUMOReal layer, SUMOReal angle, const std::string &imgFile, const Position &pos, SUMOReal width, SUMOReal height)
declare friend class