+void Catalogue::Loader::locomotive(unsigned art_no)
+{
+ map<unsigned, LocoType *>::iterator i=cat.locos.find(art_no);
+ if(i!=cat.locos.end())
+ throw Exception("Duplicate locomotive number");
+
+ RefPtr<LocoType> loco=new LocoType(art_no);
+ load_sub(*loco);
+ unsigned art_nr=loco->get_article_number();
+ cat.locos[art_nr]=loco.release();
+}
+