3 This file is part of the MSP Märklin suite
4 Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
14 LocoType::LocoType(unsigned an):
18 unsigned LocoType::get_max_function() const
22 return (--funcs.end())->first;
26 LocoType::Loader::Loader(LocoType <):
27 Msp::DataFile::BasicLoader<LocoType>(lt)
29 add("function", &Loader::function);
30 add("name", &LocoType::name);
33 void LocoType::Loader::function(unsigned i, const string &f)
38 } // namespace Marklin