UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
UPnPsdk::CPort Class Reference

Port subcomponent from an authority component of a URI reference. More...

#include <uri.hpp>

+ Inheritance diagram for UPnPsdk::CPort:
+ Collaboration diagram for UPnPsdk::CPort:

Public Member Functions

 CPort (std::string_view a_uri_sv)
 Initialize the port subcomponent.
 
- Public Member Functions inherited from UPnPsdk::CComponent
STATE state () const
 Get state of the component.
 
const std::string & str () const
 Get the string of the component.
 

Additional Inherited Members

- Public Types inherited from UPnPsdk::CComponent
enum struct  STATE { undef , empty , avail }
 Defines the possible states of a URI component. More...
 
- Protected Attributes inherited from UPnPsdk::CComponent
STATE m_state {STATE::undef}
 Current state of the component.
 
std::string m_component
 Name of the component.
 

Detailed Description

Port subcomponent from an authority component of a URI reference.

Definition at line 257 of file uri.hpp.

Constructor & Destructor Documentation

◆ CPort()

UPnPsdk::CPort::CPort ( std::string_view  a_uri_sv)

Initialize the port subcomponent.

Exceptions
std::invalid_argumentif invalid port number is detected.
Parameters
[in]a_uri_svInput URI string

Definition at line 588 of file uri.cpp.


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