libmpd++
DASH MPD parsing and manipulation library
 
Loading...
Searching...
No Matches
com::bbc::libmpdpp::URI Class Reference

#include <libmpd++/URI.hh>

Inheritance diagram for com::bbc::libmpdpp::URI:

Public Member Functions

 URI ()
 
 URI (const char *uri)
 
 URI (const std::string &uri)
 
 URI (std::string &&uri)
 
 URI (const URI &other)
 
 URI (URI &&other)
 
virtual ~URI ()
 
URIoperator= (const URI &other)
 
URIoperator= (URI &&other)
 
URIoperator= (const std::string &val)
 
URIoperator= (std::string &&val)
 
bool operator== (const URI &other) const
 
 operator std::string () const
 
const std::string & str () const
 
URI resolveUsingBaseURLs (const std::list< BaseURL > &base_urls) const
 
bool isURL () const
 
bool isAbsoluteURL () const
 

Detailed Description

URI class

Container for URI strings.

This will parse and validate URN and URL strings and can resolve relative URLs using a set of BaseURL objects from the MPD.

Constructor & Destructor Documentation

◆ URI() [1/6]

com::bbc::libmpdpp::URI::URI ( )
inline

◆ URI() [2/6]

com::bbc::libmpdpp::URI::URI ( const char * uri)
inline

◆ URI() [3/6]

com::bbc::libmpdpp::URI::URI ( const std::string & uri)
inline

◆ URI() [4/6]

com::bbc::libmpdpp::URI::URI ( std::string && uri)
inline

◆ URI() [5/6]

com::bbc::libmpdpp::URI::URI ( const URI & other)
inline

◆ URI() [6/6]

com::bbc::libmpdpp::URI::URI ( URI && other)
inline

◆ ~URI()

virtual com::bbc::libmpdpp::URI::~URI ( )
inlinevirtual

Member Function Documentation

◆ isAbsoluteURL()

bool com::bbc::libmpdpp::URI::isAbsoluteURL ( ) const

◆ isURL()

bool com::bbc::libmpdpp::URI::isURL ( ) const

◆ operator std::string()

com::bbc::libmpdpp::URI::operator std::string ( ) const
inline

◆ operator=() [1/4]

URI & com::bbc::libmpdpp::URI::operator= ( const std::string & val)
inline

◆ operator=() [2/4]

URI & com::bbc::libmpdpp::URI::operator= ( const URI & other)
inline

◆ operator=() [3/4]

URI & com::bbc::libmpdpp::URI::operator= ( std::string && val)
inline

◆ operator=() [4/4]

URI & com::bbc::libmpdpp::URI::operator= ( URI && other)
inline

◆ operator==()

bool com::bbc::libmpdpp::URI::operator== ( const URI & other) const
inline

◆ resolveUsingBaseURLs()

URI com::bbc::libmpdpp::URI::resolveUsingBaseURLs ( const std::list< BaseURL > & base_urls) const

◆ str()

const std::string & com::bbc::libmpdpp::URI::str ( ) const
inline

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