1#ifndef _BBC_PARSE_DASH_MPD_URI_HH_
2#define _BBC_PARSE_DASH_MPD_URI_HH_
43 URI(
const char *uri) :m_uri(uri) {validate();};
44 URI(
const std::string &uri) :m_uri(uri) {validate();};
45 URI(std::string &&uri) :m_uri(
std::move(uri)) {validate();};
46 URI(
const URI &other) :m_uri(other.m_uri) {};
53 URI &
operator=(
const std::string &val) { m_uri = val; validate();
return *
this; };
54 URI &
operator=(std::string &&val) { m_uri = std::move(val); validate();
return *
this; };
56 bool operator==(
const URI &other)
const {
return m_uri == other.m_uri; };
58 operator std::string()
const {
return m_uri; };
59 const std::string &
str()
const {
return m_uri; };
74 void setXMLElement(xmlpp::Element&)
const;
std::ostream & operator<<(std::ostream &os, const com::bbc::libmpdpp ::URI &uri)
AdaptationSet class.
Definition AdaptationSet.hh:60
Definition Representation.hh:55
Definition SegmentBase.hh:41
URI & operator=(URI &&other)
Definition URI.hh:52
URI(const char *uri)
Definition URI.hh:43
URI & operator=(std::string &&val)
Definition URI.hh:54
URI(const URI &other)
Definition URI.hh:46
URI(const std::string &uri)
Definition URI.hh:44
URI(std::string &&uri)
Definition URI.hh:45
URI resolveUsingBaseURLs(const std::list< BaseURL > &base_urls) const
URI & operator=(const std::string &val)
Definition URI.hh:53
URI()
Definition URI.hh:42
URI & operator=(const URI &other)
Definition URI.hh:51
URI(URI &&other)
Definition URI.hh:47
bool operator==(const URI &other) const
Definition URI.hh:56
const std::string & str() const
Definition URI.hh:59
bool isAbsoluteURL() const
virtual ~URI()
Definition URI.hh:49
#define LIBMPDPP_NAMESPACE_CLASS(A)
Definition macros.hh:61
#define LIBMPDPP_NAMESPACE_END
Definition macros.hh:54
#define LIBMPDPP_PUBLIC_API
Used to mark something as part of the public API.
Definition macros.hh:21
#define LIBMPDPP_NAMESPACE_BEGIN
Definition macros.hh:50
Definition SegmentAvailability.hh:87