The RegistrationFactory class is a singleton class that is responsible for creating Registration objects.
More...
#include <registrationfactory.h>
|
| Registration * | createRegistration (const QString &type, const QString &name, const QString &affiliation, const QString &email, const QDate &bookingDate, const QString &additionalInfo) |
| | Creates Registration objects based on the arguments provided.
|
| |
The RegistrationFactory class is a singleton class that is responsible for creating Registration objects.
◆ createRegistration()
| Registration * RegistrationFactory::createRegistration |
( |
const QString & | type, |
|
|
const QString & | name, |
|
|
const QString & | affiliation, |
|
|
const QString & | email, |
|
|
const QDate & | bookingDate, |
|
|
const QString & | additionalInfo ) |
Creates Registration objects based on the arguments provided.
- Parameters
-
| type | The type of registration to create. |
| name | The name of the person registering. |
| affiliation | The affiliation of the person registering. |
| email | The email of the person registering. |
| bookingDate | The date the person is registering for. |
| additionalInfo | Additional information about the person registering. |
- Returns
- A pointer to the created Registration object.
◆ getInstance()
The documentation for this class was generated from the following files: