3 This file is part of R²C²
4 Copyright © 2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef LIBR2C2_ARTICLENUMBER_H_
9 #define LIBR2C2_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 &);