3 This file is part of the MSP Märklin suite
4 Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef LIBMARKLIN_LOCOTYPE_H_
9 #define LIBMARKLIN_LOCOTYPE_H_
11 #include <msp/datafile/loader.h>
18 class Loader: public Msp::DataFile::Loader
25 LocoType &get_object() const { return ltype; }
27 void function(unsigned, const std::string &);
33 std::map<unsigned, std::string> funcs;
37 unsigned get_article_number() const { return art_nr; }
38 const std::string &get_name() const { return name; }
39 const std::map<unsigned, std::string> &get_functions() const { return funcs; }
42 } // namespace Marklin