A utility class providing conversion functions for the BookAvailability enum.
More...
#include <utilities.hpp>
|
| static const string | status_tostring (BookAvailability status) |
| | Converts a BookAvailability enum value to its corresponding string representation.
|
| |
| static const BookAvailability | status_toenum (string status) |
| | Converts a string representation of a BookAvailability enum value to the corresponding enum value.
|
| |
A utility class providing conversion functions for the BookAvailability enum.
◆ status_toenum()
Converts a string representation of a BookAvailability enum value to the corresponding enum value.
- Parameters
-
| status | The string representation of the BookAvailability enum value. |
- Returns
- The BookAvailability enum value.
- Exceptions
-
| string | Thrown if an invalid string representation is provided. |
◆ status_tostring()
Converts a BookAvailability enum value to its corresponding string representation.
- Parameters
-
| status | The BookAvailability enum value. |
- Returns
- The string representation of the BookAvailability enum value.
- Exceptions
-
| string | Thrown if an invalid BookAvailability enum value is provided. |
The documentation for this class was generated from the following file: