String to integer and integer to string conversion functions. More...
Go to the source code of this file.
Classes | |
struct | UPnPsdk::str_int_entry |
String to integer map entry. More... | |
class | UPnPsdk::CStrIntMap< T > |
Table with C-strings mapped to an integer id. More... | |
Namespaces | |
namespace | UPnPsdk |
Reengineered Object Oriented UPnP+ program code. | |
String to integer and integer to string conversion functions.
There are some constant mappings of a number to its string name for human readability or for UPnP messages, e.g. error number, HTTP method etc. Because these functions use very effective binary search, the map tables to seach must be sorted by the name-string.
Definition in file strintmap.hpp.
struct UPnPsdk::str_int_entry |
String to integer map entry.
Definition at line 28 of file strintmap.hpp.
Class Members | ||
---|---|---|
const char * | name | A value in string form. |
int | id | Same value in integer form. |