Conference Registration 2024.07.18.04
Loading...
Searching...
No Matches
Person Class Reference

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.
 

Detailed Description

The Person class represents a person with a name, affiliation, and email.

Constructor & Destructor Documentation

◆ Person()

Person::Person ( const QString & name,
const QString & affiliation,
const QString & email )

Constructs a Person object with the specified name, affiliation, and email.

Parameters
nameThe name of the person.
affiliationThe affiliation of the person.
emailThe email address of the person.

Member Function Documentation

◆ getAffiliation()

QString Person::getAffiliation ( ) const

Returns the affiliation of the person.

Returns
The affiliation of the person.

◆ getEmail()

QString Person::getEmail ( ) const

Returns the email address of the person.

Returns
The email address of the person.

◆ getName()

QString Person::getName ( ) const

Returns the name of the person.

Returns
The name of the person.

◆ toString()

QString Person::toString ( ) const

Returns a string representation of the person.

Returns
A string representation of the person.

The documentation for this class was generated from the following files: