This class provides a command line interface for the Paillier cryptosystem. It is a singleton class, meaning that only one instance of it can exist at a time.
More...
#include <commandLineInterface.hpp>
|
| commandLineInterface (const commandLineInterface &obj)=delete |
| Delete copy constructor to ensure singleton behavior.
|
|
| ~commandLineInterface () |
| Destroy the command Line Interface object.
|
|
void | help (string msg) const |
| This function displays a help message to the user.
|
|
void | error_failure (string msg) const |
| This function displays an error message indicating a failure.
|
|
void | error_warning (string msg) const |
| This function displays an error message indicating a warning.
|
|
This class provides a command line interface for the Paillier cryptosystem. It is a singleton class, meaning that only one instance of it can exist at a time.
- Author
- Katia Auxilien
- Date
- 21 mai 2024, 16:37:00
◆ commandLineInterface()
Delete copy constructor to ensure singleton behavior.
- Parameters
-
- Author
- Katia Auxilien
- Date
- 21 mai 2024, 16:37:00
◆ ~commandLineInterface()
commandLineInterface::~commandLineInterface |
( |
| ) |
|
Destroy the command Line Interface object.
- Author
- Katia Auxilien
- Date
- 07 June 2024 16:47:00
◆ error_failure()
void commandLineInterface::error_failure |
( |
string | msg | ) |
const |
This function displays an error message indicating a failure.
- Parameters
-
msg | The error message to be displayed. |
- Authors
- Katia Auxilien
- Date
- 28 May 2024 15:33:00
◆ error_warning()
void commandLineInterface::error_warning |
( |
string | msg | ) |
const |
This function displays an error message indicating a warning.
- Parameters
-
msg | The error message to be displayed. |
- Authors
- Katia Auxilien
- Date
- 28 May 2024 15:33:00
◆ getInstance()
This function returns the singleton instance of the class.
- Returns
- commandLineInterface* Pointer to the singleton instance of the class.
- Author
- Katia Auxilien
- Date
- 21 mai 2024, 16:37:00
◆ help()
void commandLineInterface::help |
( |
string | msg | ) |
const |
This function displays a help message to the user.
- Parameters
-
msg | The message to be displayed. |
- Author
- Katia Auxilien
- Date
- 07 June 2024 16:47:00