3 This file is part of the MSP Märklin suite
4 Copyright © 2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef LIBMARKLIN_ARTICLENUMBER_H_
9 #define LIBMARKLIN_ARTICLENUMBER_H_
13 #include <msp/strings/lexicalcast.h>
25 bool operator<(const Part &) const;
28 std::vector<Part> parts;
32 ArticleNumber(unsigned);
33 ArticleNumber(const std::string &);
35 std::string str() const;
37 bool operator<(const ArticleNumber &) const;
40 void operator>>(const Msp::LexicalConverter &, ArticleNumber &);
41 void operator<<(Msp::LexicalConverter &, const ArticleNumber &);
43 } // namespace Marklin