Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef RECORD_H
- #define RECORD_H
- #include <QDateTime>
- #include <string>
- class Record
- {
- public:
- Record();
- Record(int, const std::string&, const std::string&,
- const std::string&, QDate);
- Record(const Record &);
- virtual ~Record();
- int getYear() const;
- std::string getName() const;
- std::string getSurname() const;
- std::string getPatronymic() const;
- QDate getDate() const;
- void setYear(int);
- void setName(const std::string&);
- void setSurname(const std::string&);
- void setPatronymic(const std::string&);
- void setDate(QDate);
- private:
- int year;
- std::string name;
- std::string surname;
- std::string patronymic;
- QDate date;
- };
- bool check_string(const std::string&);
- #endif // RECORD_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement