1 #include "collection.h"
6 Collection::~Collection()
8 for(TypeList::iterator i = types.begin(); i!=types.end(); ++i)
12 bool Collection::contains(const std::string &n) const
14 return items.count(n);
18 Collection::Loader::Loader(Collection &c):
21 for(TypeList::const_iterator i = coll.types.begin(); i!=coll.types.end(); ++i)
22 (*i)->add_to_loader(*this);
25 } // namespace DataFile