4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
27 Author(std::string const & name, std::string const & email)
28 : name_(name), email_(email) {}
30 std::string const name() const {
34 std::string const email() const {
38 friend std::istream & operator>>(std::istream & os, Author & a);
51 int record(Author const & a);
53 void record(int id, Author const & a);
55 Author const & get(int id);
57 typedef std::map<int, Author> Authors;
59 Authors::const_iterator begin() const;
61 Authors::const_iterator end() const;
69 bool operator==(Author const & l, Author const & r);
71 std::ostream & operator<<(std::ostream & os, Author const & a);
73 std::istream & operator>>(std::istream & os, Author & a);