 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
56 std::map<std::string, GUIGlObject_AbstractAdd*>::iterator i;
83 const std::vector<GUIGlObject_AbstractAdd*>&
91 std::vector<GUIGlID> ret;
98 ret.push_back(i->getGlID());
105 ret.push_back(i->getGlID());
112 ret.push_back(i->getGlID());
119 ret.push_back(i->getGlID());
124 if ((i->getType() & typeFilter) != 0) {
125 ret.push_back(i->getGlID());
static std::vector< GUIGlID > getIDList(GUIGlObjectType typeFilter)
Returns the list of gl-ids of all additional objects that match the given type.
GUIGlObject_AbstractAdd(GUIGlObjectType type, const std::string &id)
constructor
const std::string & getFullName() const
static std::vector< GUIGlObject_AbstractAdd * > myObjectList
The list of all addtional objects currently loaded.
static void remove(GUIGlObject_AbstractAdd *o)
Removes an object.
static GUIGlObject_AbstractAdd * get(const std::string &name)
Returns a named object.
reserved GLO type to pack all RouteElements (note: In this case the sorting of GLO_<element> is impor...
reserved GLO type to pack shapes
static void clearDictionary()
Clears the dictionary (the objects will not be deleted)
reserved GLO type to pack all netElements
static const std::vector< GUIGlObject_AbstractAdd * > & getObjectList()
Returns the list of all additional objects.
static std::map< std::string, GUIGlObject_AbstractAdd * > myObjects
Map from names of loaded additional objects to the objects themselves.
reserved GLO type to pack all additionals
~GUIGlObject_AbstractAdd()
destructor