Classes | |
struct | ErrorString |
Sample: assign {UPNP_E_SUCCESS, "UPNP_E_SUCCESS"}. More... | |
Variables | |
constexpr ErrorString | ErrorMessages [] |
Array with text names of error messages. | |
struct anonymous_namespace{upnptools.cpp}::ErrorString |
Sample: assign {UPNP_E_SUCCESS, "UPNP_E_SUCCESS"}.
Table with assignment of the integer message number to its text string.
Definition at line 18 of file upnptools.cpp.
Class Members | ||
---|---|---|
int | rc | Error code. |
const char * | rcError | Error description. |
|
constexpr |
Array with text names of error messages.
This const array is initialized with the character string names of the UPNP_E_* error messages so we can translate the integer number of a message to its human readable name for output.
Definition at line 30 of file upnptools.cpp.