Structure for UPnP URNs. More...

#include <Urn.h>

Inheritance diagram for Urn:
Collaboration diagram for Urn:

Public Types

enum class  Kind { XX }
 

Public Member Functions

 Urn (Kind kind=Kind::none)
 
 Urn (const Uuid &uuid)
 
 Urn (const Urn &urn)
 
 Urn (Urn &&urn)
 
 Urn (Kind kind, const String &uuid, const String &domain, const String &type, uint8_t version)
 
 Urn (Kind kind, const Uuid &uuid, const String &domain, const String &type, uint8_t version)
 
 Urn (Kind kind, const String &uuid, const String &domain, const String &type, const String &version)
 
 Urn (const char *urn)
 
 Urn (const String &urn)
 
Urnoperator= (const Urn &urn)
 
Urnoperator= (const String &urn)
 
bool decompose (const char *s)
 
bool decompose (const String &s)
 
String toString () const
 Get URN string. More...
 
 operator String () const
 
 operator bool () const
 Determine if URN is valid. More...
 
bool operator== (const Urn &other) const
 
bool operator== (const String &urn) const
 

Public Attributes

Kind kind {}
 
String uuid
 
String domain
 e.g. PnP::schemas_upnp_org More...
 
String type
 e.g. "Basic" More...
 
uint8_t version {1}
 e.g. 1 More...
 

Detailed Description

Structure for UPnP URNs.

Note
UUID format is not specified for UPnP 1.0, but for later revisions MUST be a standard type as managed by the SSDP::Uuid class.

Member Enumeration Documentation

◆ Kind

enum Urn::Kind
strong
Enumerator
XX 

Constructor & Destructor Documentation

◆ Urn() [1/9]

Urn::Urn ( Kind  kind = Kind::none)
inline

◆ Urn() [2/9]

Urn::Urn ( const Uuid uuid)
inline

◆ Urn() [3/9]

Urn::Urn ( const Urn urn)
inline

◆ Urn() [4/9]

Urn::Urn ( Urn &&  urn)
inline

◆ Urn() [5/9]

Urn::Urn ( Kind  kind,
const String uuid,
const String domain,
const String type,
uint8_t  version 
)
inline

◆ Urn() [6/9]

Urn::Urn ( Kind  kind,
const Uuid uuid,
const String domain,
const String type,
uint8_t  version 
)
inline

◆ Urn() [7/9]

Urn::Urn ( Kind  kind,
const String uuid,
const String domain,
const String type,
const String version 
)
inline

◆ Urn() [8/9]

Urn::Urn ( const char *  urn)
inlineexplicit

◆ Urn() [9/9]

Urn::Urn ( const String urn)
inlineexplicit

Member Function Documentation

◆ decompose() [1/2]

bool Urn::decompose ( const char *  s)

◆ decompose() [2/2]

bool Urn::decompose ( const String s)
inline

◆ operator bool()

Urn::operator bool ( ) const
inlineexplicit

Determine if URN is valid.

◆ operator String()

Urn::operator String ( ) const
inlineexplicit

◆ operator=() [1/2]

Urn& Urn::operator= ( const String urn)
inline

◆ operator=() [2/2]

Urn& Urn::operator= ( const Urn urn)
inline

◆ operator==() [1/2]

bool Urn::operator== ( const String urn) const
inline

◆ operator==() [2/2]

bool Urn::operator== ( const Urn other) const

◆ toString()

String Urn::toString ( ) const

Get URN string.

For example: "urn:upnp-org:service:Basic:1"

Member Data Documentation

◆ domain

String Urn::domain

e.g. PnP::schemas_upnp_org

◆ kind

Kind Urn::kind {}

◆ type

String Urn::type

e.g. "Basic"

◆ uuid

String Urn::uuid

◆ version

uint8_t Urn::version {1}

e.g. 1


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