1 #ifndef LIBR2C2_ARTICLENUMBER_H_
2 #define LIBR2C2_ARTICLENUMBER_H_
6 #include <msp/datafile/objectloader.h>
7 #include <msp/strings/lexicalcast.h>
14 class Loader: public Msp::DataFile::ObjectLoader<ArticleNumber>
17 Loader(ArticleNumber &);
27 ArticleNumber(const std::string &);
28 ArticleNumber(const std::string &, const std::string &, const std::string & = std::string());
30 const std::string &get_vendor() const { return vendor; }
31 const std::string &get_article() const { return article; }
32 const std::string &get_part() const { return part; }
33 std::string str() const;
36 void operator<<(Msp::LexicalConverter &, const ArticleNumber &);