39 #ifdef CHECK_MEMORY_LEAKS
41 #endif // CHECK_MEMORY_LEAKS
66 std::map<std::string, GUIGlObject_AbstractAdd*>::iterator i;
77 std::map<std::string, GUIGlObject_AbstractAdd*>::iterator i =
myObjects.find(name);
92 const std::vector<GUIGlObject_AbstractAdd*>&
100 std::vector<GUIGlID> ret;
102 ret.push_back((*i)->getGlID());
static std::vector< GUIGlID > getIDList()
Returns the list of gl-ids of all additional objects.
static std::map< std::string, GUIGlObject_AbstractAdd * > myObjects
Map from names of loaded additional objects to the objects themselves.
static void remove(GUIGlObject_AbstractAdd *o)
Removes an object.
static GUIGlObject_AbstractAdd * get(const std::string &name)
Returns a named object.
GUIGlObject_AbstractAdd(const std::string &prefix, GUIGlObjectType type, const std::string &id)
static std::vector< GUIGlObject_AbstractAdd * > myObjectList
The list of all addtional objects currently loaded.
~GUIGlObject_AbstractAdd()
static void clearDictionary()
Clears the dictionary (the objects will not be deleted)
static const std::vector< GUIGlObject_AbstractAdd * > & getObjectList()
Returns the list of all additional objects.
const std::string & getFullName() const
Returns the full name appearing in the tool tip.