const std::string& get_descr(iterator& it) const
{ return it->second->description; }
- size_t size() const { return assoc.size(); }
+ bool exists(const std::string& name) const
+ { return assoc.find(name) != assoc.end(); }
iterator begin() const { return assoc.begin(); }
iterator end() const { return assoc.end(); }
//===================
-#define THIS_INSERT(name, descr, class) insert(name, new creator<class>(descr))
+#define NOL_INSERT(name, descr, class) insert(name, new creator<class>(descr))
#endif // !NAMED_OBJECT_LIST_H