Urn.h File Reference
#include <WString.h>
#include <Data/Uuid.h>
Include dependency graph for Urn.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Urn
 Structure for UPnP URNs. More...
 
class  RootDeviceUrn
 A UPnP root device URN. More...
 
class  DeviceUrn
 A UPnP Device URN. More...
 
struct  ServiceUrn
 A UPnP Service URN. More...
 

Macros

#define UPNP_URN_KIND_MAP(XX)
 
#define XX(tag, comment)   tag,
 

Typedefs

using UuidUrn = Urn
 A UPnP root device URN. More...
 
using Usn = Urn
 

Functions

String toString (Urn::Kind kind)
 
String toString (const Urn &urn)
 
bool fromString (const char *s, Urn &urn)
 
bool fromString (const String &s, Urn &urn)
 

Macro Definition Documentation

◆ UPNP_URN_KIND_MAP

#define UPNP_URN_KIND_MAP (   XX)
Value:
XX(none, "invalid") \
XX(uuid, "uuid:{uuid}") \
XX(root, "upnp:rootdevice" \
"uuid:{uuid}::upnp:rootdevice") \
XX(device, "urn:{domain}:device:{deviceType}:{version}" \
"uuid:{uuid}::urn:{domain}:device:{deviceType}:{version}") \
XX(service, "urn:{domain}:service:{serviceType}:{version}" \
"uuid:{uuid}::urn:{domain}:service:{serviceType}:{version}")
#define XX(tag, comment)
Definition: Urn.h:44

◆ XX

#define XX (   tag,
  comment 
)    tag,

Typedef Documentation

◆ Usn

using Usn = Urn

◆ UuidUrn

using UuidUrn = Urn

A UPnP root device URN.

Function Documentation

◆ fromString() [1/2]

bool fromString ( const char *  s,
Urn urn 
)
inline

◆ fromString() [2/2]

bool fromString ( const String s,
Urn urn 
)
inline

◆ toString() [1/2]

String toString ( const Urn urn)
inline

◆ toString() [2/2]

String toString ( Urn::Kind  kind)