Conference Registration 2024.07.18.04
Loading...
Searching...
No Matches
person.h
Go to the documentation of this file.
1
9#ifndef PERSON_H
10#define PERSON_H
11
12#include <QString>
13
14
19class Person
20{
21public:
28 Person(const QString &name, const QString &affiliation, const QString &email);
29
33 ~Person() = default;
34
39 QString getName() const;
40
45 QString getAffiliation() const;
46
51 QString getEmail() const;
52
57 QString toString() const;
58
59private:
60 QString m_Name;
61 QString m_Affiliation;
62 QString m_Email;
63};
64
65#endif // PERSON_H
The Person class represents a person with a name, affiliation, and email.
Definition person.h:20
QString getAffiliation() const
Returns the affiliation of the person.
Definition person.cpp:23
~Person()=default
Default destructor for the Person class.
QString toString() const
Returns a string representation of the person.
Definition person.cpp:33
QString getEmail() const
Returns the email address of the person.
Definition person.cpp:28
QString getName() const
Returns the name of the person.
Definition person.cpp:18
Person(const QString &name, const QString &affiliation, const QString &email)
Constructs a Person object with the specified name, affiliation, and email.
Definition person.cpp:12