Conference Registration 2024.07.18.04
Loading...
Searching...
No Matches
registrationfactory.h
Go to the documentation of this file.
1
9#ifndef REGISTRATIONFACTORY_H
10#define REGISTRATIONFACTORY_H
11
12
13class QDate;
14class QString;
15class Registration;
16
17
23{
24public:
30
41 Registration *createRegistration(const QString &type, const QString &name, const QString &affiliation, const QString &email, const QDate &bookingDate, const QString &additionalInfo);
42
43private:
49
52
54 RegistrationFactory &operator=(const RegistrationFactory&) = delete;
55};
56
57#endif // REGISTRATIONFACTORY_H
The RegistrationFactory class is a singleton class that is responsible for creating Registration obje...
Definition registrationfactory.h:23
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.
Definition registrationfactory.cpp:25
static RegistrationFactory & getInstance()
getInstance
Definition registrationfactory.cpp:19
The Registration class represents a registration for an event.
Definition registration.h:24