00001 #ifndef _STUDENT_HPP_ 00002 #define _STUDENT_HPP_ 00003 00004 #include "person.hpp" 00005 #include "thesis.hpp" 00006 00007 class Student : public virtual Person { 00008 protected: 00009 int matnr; 00010 Thesis* thesis; 00011 00012 public: 00013 Student(std::string vorname, std::string nachname, int matnr); 00014 Student(const Student& s); 00015 virtual Student& operator=(const Student& s); 00016 virtual void setThesis(Thesis* thesis); 00017 virtual ~Student(); 00018 virtual std::string toString() const; 00019 virtual void work(); 00020 }; 00021 00022 #endif