1#ifndef _BBC_PARSE_DASH_MPD_URL_HH_
2#define _BBC_PARSE_DASH_MPD_URL_HH_
52 const std::optional<URI> &
sourceURL()
const {
return m_sourceURL; };
53 URL &
sourceURL(
const std::nullopt_t&) { m_sourceURL.reset();
return *
this; };
58 bool hasRange()
const {
return m_range.has_value(); };
59 const std::optional<SingleRFC7233Range> &
range()
const {
return m_range; };
60 URL &
range(
const std::nullopt_t&) { m_range.reset();
return *
this; };
74 void setXMLElement(xmlpp::Element&)
const;
79 std::optional<URI> m_sourceURL;
80 std::optional<SingleRFC7233Range> m_range;
AdaptationSet class.
Definition AdaptationSet.hh:60
Definition MultipleSegmentBase.hh:39
Definition Representation.hh:55
Definition SegmentBase.hh:41
Definition SingleRFC7233Range.hh:35
URL & sourceURL(const std::nullopt_t &)
Definition URL.hh:53
const std::optional< URI > & sourceURL() const
Definition URL.hh:52
const std::optional< SingleRFC7233Range > & range() const
Definition URL.hh:59
URL & operator=(const URL &)
URL & range(const SingleRFC7233Range &val)
Definition URL.hh:61
URL & sourceURL(const URI &val)
Definition URL.hh:54
bool operator==(const URL &other) const
URL & sourceURL(URI &&val)
Definition URL.hh:55
URL & range(const std::nullopt_t &)
Definition URL.hh:60
bool hasSourceURL() const
Definition URL.hh:51
bool hasRange() const
Definition URL.hh:58
virtual ~URL()
Definition URL.hh:43
URL & range(SingleRFC7233Range &&val)
Definition URL.hh:62
#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