Parses an DLNA device xml string to fill the DLNADevice data structure.
More...
#include <XMLDeviceParser.h>
Parses an DLNA device xml string to fill the DLNADevice data structure.
- Author
- Phil Schatzmann
◆ parse()
void tiny_dlna::XMLDeviceParser::parse |
( |
DLNADevice & |
result, |
|
|
const char * |
xmlStr |
|
) |
| |
|
inline |
◆ parseDevice()
void tiny_dlna::XMLDeviceParser::parseDevice |
( |
DLNADevice & |
result | ) |
|
|
inlineprotected |
◆ parseIcon()
int tiny_dlna::XMLDeviceParser::parseIcon |
( |
DLNADevice & |
device, |
|
|
int |
pos |
|
) |
| |
|
inlineprotected |
◆ parseIcons()
void tiny_dlna::XMLDeviceParser::parseIcons |
( |
DLNADevice & |
device | ) |
|
|
inlineprotected |
◆ parseInt()
int tiny_dlna::XMLDeviceParser::parseInt |
( |
int |
pos, |
|
|
const char * |
name, |
|
|
int & |
result |
|
) |
| |
|
inlineprotected |
◆ parseService()
int tiny_dlna::XMLDeviceParser::parseService |
( |
int |
pos | ) |
|
|
inlineprotected |
◆ parseServices()
void tiny_dlna::XMLDeviceParser::parseServices |
( |
| ) |
|
|
inlineprotected |
◆ parseStr() [1/2]
int tiny_dlna::XMLDeviceParser::parseStr |
( |
const char * |
name, |
|
|
const char *& |
result |
|
) |
| |
|
inlineprotected |
◆ parseStr() [2/2]
int tiny_dlna::XMLDeviceParser::parseStr |
( |
int |
pos, |
|
|
const char * |
name, |
|
|
const char *& |
result |
|
) |
| |
|
inlineprotected |
◆ parseVersion()
void tiny_dlna::XMLDeviceParser::parseVersion |
( |
DLNADevice & |
result | ) |
|
|
inlineprotected |
◆ substring()
const char* tiny_dlna::XMLDeviceParser::substring |
( |
char * |
in, |
|
|
int |
pos, |
|
|
int |
end |
|
) |
| |
|
inlineprotected |
extract string, add to string repository and return repository string
◆ p_device
DLNADevice* tiny_dlna::XMLDeviceParser::p_device = nullptr |
|
protected |
◆ str
StrView tiny_dlna::XMLDeviceParser::str |
|
protected |
The documentation for this class was generated from the following file: