3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
23 Author(string const & name, string const & email)
24 : name_(name), email_(email) {}
26 string const name() const {
30 string const email() const {
34 friend std::istream & operator>>(std::istream & os, Author & a);
47 int record(Author const & a);
49 void record(int id, Author const & a);
51 Author const & get(int id);
53 typedef std::map<int, Author> Authors;
55 Authors::const_iterator begin() const;
57 Authors::const_iterator end() const;
65 bool operator==(Author const & l, Author const & r);
67 std::ostream & operator<<(std::ostream & os, Author const & a);
69 std::istream & operator>>(std::istream & os, Author & a);