libnpupnp: UPnPDeviceDesc Class Reference

libnpupnp 4.1.0 An almost compatible successor for the Portable UPnP reference library

Public Member Functions | Public Attributes | List of all members
UPnPDeviceDesc Class Reference

## Public Member Functions
| UPnPDeviceDesc (const std::string &url, const std::string &description)

## Public Attributes
bool | ok {false}
| Parse success status.
std::string | deviceType
| Device Type: e.g. urn:schemas-upnp-org:device:MediaServer:1.
std::string | friendlyName
| User-configurable name (usually), e.g. Lounge-streamer.
std::string | UDN
std::string | descURL
| URL this was downloaded from.
std::string | URLBase
| Base for all relative URLs. e.g. http://192.168.4.4:49152/.
std::string | manufacturer
| Manufacturer: e.g. D-Link, PacketVideo.
std::string | modelName
| Model name: e.g. MediaTomb, DNS-327L.
std::string | XMLText
| Raw downloaded document.
std::vector< UPnPServiceDesc > | services
| Services provided by this device.
std::vector< UPnPDeviceDesc > | embedded

## Member Data Documentation

## ◆ embedded

std::vector<UPnPDeviceDesc> UPnPDeviceDesc::embedded

Embedded devices. We use UPnPDeviceDesc for convenience, but they can't recursively have embedded devices (and they just get a copy of the root URLBase).

## ◆ UDN

std::string UPnPDeviceDesc::UDN

Unique Device Number. This is the same as the deviceID in the discovery message. e.g. uuid:a7bdcd12-e6c1-4c7e-b588-3bbc959eda8d

The documentation for this class was generated from the following file:

- /home/dockes/projets/mpdupnp/npupnp/inc/upnpdescription.h