Cupt
Public Member Functions | List of all members
cupt::download::Uri Class Reference

uniform resource indentifier, "download path" More...

#include <cupt/download/uri.hpp>

Public Member Functions

 Uri (const string &uri)
 constructor More...
 
 Uri (const Uri &other)
 copy constructor More...
 
Urioperator= (const Uri &other)
 assignment operator More...
 
virtual ~Uri ()
 destructor
 
string getProtocol () const
 gets protocol name
 
string getHost () const
 gets host name
 
string getOpaque () const
 gets the path without protocol specification
 
 operator string () const
 gets string representation
 

Detailed Description

uniform resource indentifier, "download path"

Constructor & Destructor Documentation

◆ Uri() [1/2]

cupt::download::Uri::Uri ( const string &  uri)

constructor

Parameters
uristring representation of URI

◆ Uri() [2/2]

cupt::download::Uri::Uri ( const Uri other)

copy constructor

Parameters
otherobject to copy from

Member Function Documentation

◆ operator=()

Uri& cupt::download::Uri::operator= ( const Uri other)

assignment operator

Parameters
otherobject to assign from
Returns
reference to self

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