Libraries/UPnP/src/include/Network/UPnP/Device.h File Reference
#include "Service.h"
Include dependency graph for Libraries/UPnP/src/include/Network/UPnP/Device.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UPnP::SpecVersion
 
class  UPnP::Device
 Represents any kind of device, including a root device. More...
 

Namespaces

 UPnP
 

Macros

#define UPNP_DEVICE_FIELD_MAP(XX)
 
#define XX(name, req)   name,
 

Functions

String toString (UPnP::Device::Field &field)
 
bool fromString (const char *name, UPnP::Device::Field &field)
 
bool fromString (const String &name, UPnP::Device::Field &field)
 

Macro Definition Documentation

◆ UPNP_DEVICE_FIELD_MAP

#define UPNP_DEVICE_FIELD_MAP (   XX)
Value:
XX(deviceType, required) \
XX(friendlyName, required) \
XX(manufacturer, required) \
XX(manufacturerURL, allowed) \
XX(modelDescription, recommended) \
XX(modelName, required) \
XX(modelNumber, recommended) \
XX(modelURL, allowed) \
XX(serialNumber, recommended) \
XX(UDN, required) \
XX(presentationURL, recommended) \
XX(domain, custom) \
XX(type, custom_required) \
XX(version, custom) \
XX(serverId, custom) \
XX(productNameAndVersion, custom) \
XX(URLBase, deprecated) \
XX(descriptionURL, custom)
#define XX(name, req)
Definition: Libraries/UPnP/src/include/Network/UPnP/Device.h:61

◆ XX

#define XX (   name,
  req 
)    name,

Function Documentation

◆ fromString() [1/2]

bool fromString ( const char *  name,
UPnP::Device::Field field 
)

◆ fromString() [2/2]

bool fromString ( const String name,
UPnP::Device::Field field 
)
inline

◆ toString()

String toString ( UPnP::Device::Field field)