Conference Registration 2024.07.18.04
|
The Person class represents a person with a name, affiliation, and email. More...
#include <person.h>
Public Member Functions | |
Person (const QString &name, const QString &affiliation, const QString &email) | |
Constructs a Person object with the specified name, affiliation, and email. | |
~Person ()=default | |
Default destructor for the Person class. | |
QString | getName () const |
Returns the name of the person. | |
QString | getAffiliation () const |
Returns the affiliation of the person. | |
QString | getEmail () const |
Returns the email address of the person. | |
QString | toString () const |
Returns a string representation of the person. | |
The Person class represents a person with a name, affiliation, and email.
Person::Person | ( | const QString & | name, |
const QString & | affiliation, | ||
const QString & | email ) |
Constructs a Person object with the specified name, affiliation, and email.
name | The name of the person. |
affiliation | The affiliation of the person. |
The email address of the person. |
QString Person::getAffiliation | ( | ) | const |
Returns the affiliation of the person.
QString Person::getEmail | ( | ) | const |
Returns the email address of the person.
QString Person::getName | ( | ) | const |
Returns the name of the person.
QString Person::toString | ( | ) | const |
Returns a string representation of the person.