UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
anonymous_namespace{upnptools.cpp} Namespace Reference

Classes

struct  ErrorString
 Sample: assign {UPNP_E_SUCCESS, "UPNP_E_SUCCESS"}. More...
 

Variables

constexpr ErrorString ErrorMessages []
 Array with text names of error messages.
 

Class Documentation

◆ anonymous_namespace{upnptools.cpp}::ErrorString

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.

Variable Documentation

◆ ErrorMessages

constexpr ErrorString anonymous_namespace{upnptools.cpp}::ErrorMessages[]
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.