UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
strintmap.hpp File Reference

String to integer and integer to string conversion functions. More...

#include <UPnPsdk/synclog.hpp>
#include <UPnPsdk/port.hpp>
+ Include dependency graph for strintmap.hpp:
+ This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

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.


Class Documentation

◆ UPnPsdk::str_int_entry

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.