1#ifndef _BBC_PARSE_DASH_MPD_SEGMENT_BASE_HH_
2#define _BBC_PARSE_DASH_MPD_SEGMENT_BASE_HH_
58 const std::optional<unsigned int> &
timescale()
const {
return m_timescale; };
64 const std::optional<int> &
eptDelta()
const {
return m_eptDelta; };
69 bool hasPdDelta()
const {
return m_pdDelta.has_value(); };
70 const std::optional<int> &
pdDelta()
const {
return m_pdDelta; };
95 const std::optional<SingleRFC7233Range> &
indexRange()
const {
return m_indexRange; };
130 const std::optional<FailoverContent> &
failoverContent()
const {
return m_failoverContent; };
141 void setXMLElement(xmlpp::Element&)
const;
147 std::optional<unsigned int> m_timescale;
148 std::optional<int> m_eptDelta;
149 std::optional<int> m_pdDelta;
150 std::optional<unsigned long> m_presentationTimeOffset;
151 std::optional<unsigned long> m_presentationDuration;
152 std::optional<duration_type> m_timeShiftBufferDepth;
153 std::optional<SingleRFC7233Range> m_indexRange;
154 bool m_indexRangeExact;
155 std::optional<double> m_availabilityTimeOffset;
156 bool m_availabilityTimeComplete;
158 std::optional<URL> m_initialization;
159 std::optional<URL> m_representationIndex;
160 std::optional<FailoverContent> m_failoverContent;
AdaptationSet class.
Definition AdaptationSet.hh:60
Definition FailoverContent.hh:39
Definition Representation.hh:55
Definition SegmentBase.hh:41
SegmentBase & availabilityTimeComplete(bool val)
Definition SegmentBase.hh:112
SegmentBase & initialization(const std::nullopt_t &)
Definition SegmentBase.hh:117
bool hasTimeShiftBufferDepth() const
Definition SegmentBase.hh:87
SegmentBase & representationIndex(const std::nullopt_t &)
Definition SegmentBase.hh:124
const std::optional< int > & eptDelta() const
Definition SegmentBase.hh:64
SegmentBase & timeShiftBufferDepth(const duration_type &val)
Definition SegmentBase.hh:90
SegmentBase & eptDelta(const std::nullopt_t &)
Definition SegmentBase.hh:65
SegmentBase & timescale(unsigned int val)
Definition SegmentBase.hh:60
SegmentBase & failoverContent(const std::nullopt_t &)
Definition SegmentBase.hh:131
bool indexRangeExact() const
Definition SegmentBase.hh:101
SegmentBase & presentationTimeOffest(unsigned long val)
Definition SegmentBase.hh:78
const std::optional< FailoverContent > & failoverContent() const
Definition SegmentBase.hh:130
SegmentBase(const SegmentBase &other)
const std::optional< duration_type > & timeShiftBufferDepth() const
Definition SegmentBase.hh:88
SegmentBase & pdDelta(const std::nullopt_t &)
Definition SegmentBase.hh:71
SegmentBase & representationIndex(URL &&val)
Definition SegmentBase.hh:126
SegmentBase & presentationDuration(unsigned long val)
Definition SegmentBase.hh:84
const std::optional< URL > & initialization() const
Definition SegmentBase.hh:116
virtual ~SegmentBase()
Definition SegmentBase.hh:49
SegmentBase & failoverContent(FailoverContent &&val)
Definition SegmentBase.hh:133
bool hasRepresentationIndex() const
Definition SegmentBase.hh:122
SegmentBase & availabilityTimeOffset(const std::nullopt_t &)
Definition SegmentBase.hh:107
SegmentBase & availabilityTimeOffset(double val)
Definition SegmentBase.hh:108
const std::optional< URL > & representationIndex() const
Definition SegmentBase.hh:123
SegmentBase & representationIndex(const URL &val)
Definition SegmentBase.hh:125
SegmentBase & indexRange(SingleRFC7233Range &&val)
Definition SegmentBase.hh:98
const std::optional< unsigned long > & presentationTimeOffest() const
Definition SegmentBase.hh:76
bool hasEptDelta() const
Definition SegmentBase.hh:63
bool hasInitialization() const
Definition SegmentBase.hh:115
bool hasFailoverContent() const
Definition SegmentBase.hh:129
const std::optional< int > & pdDelta() const
Definition SegmentBase.hh:70
bool hasTimescale() const
Definition SegmentBase.hh:57
SegmentBase & indexRange(const SingleRFC7233Range &val)
Definition SegmentBase.hh:97
SegmentBase & operator=(const SegmentBase &other)
bool hasAvailabilityTimeOffset() const
Definition SegmentBase.hh:105
SegmentBase & failoverContent(const FailoverContent &val)
Definition SegmentBase.hh:132
SegmentBase(SegmentBase &&other)
const std::optional< double > & availabilityTimeOffset() const
Definition SegmentBase.hh:106
bool hasPresentationTimeOffest() const
Definition SegmentBase.hh:75
bool hasPdDelta() const
Definition SegmentBase.hh:69
const std::optional< SingleRFC7233Range > & indexRange() const
Definition SegmentBase.hh:95
std::chrono::microseconds duration_type
Definition SegmentBase.hh:43
bool hasIndexRange() const
Definition SegmentBase.hh:94
SegmentBase & timescale(const std::nullopt_t &)
Definition SegmentBase.hh:59
SegmentBase & pdDelta(int val)
Definition SegmentBase.hh:72
bool operator==(const SegmentBase &other) const
SegmentBase & presentationTimeOffest(const std::nullopt_t &)
Definition SegmentBase.hh:77
bool availabilityTimeComplete() const
Definition SegmentBase.hh:111
SegmentBase & initialization(const URL &val)
Definition SegmentBase.hh:118
SegmentBase & operator=(SegmentBase &&other)
SegmentBase & indexRange(const std::nullopt_t &)
Definition SegmentBase.hh:96
SegmentBase & presentationDuration(const std::nullopt_t &)
Definition SegmentBase.hh:83
SegmentBase & eptDelta(int val)
Definition SegmentBase.hh:66
const std::optional< unsigned int > & timescale() const
Definition SegmentBase.hh:58
const std::optional< unsigned long > & presentationDuration() const
Definition SegmentBase.hh:82
SegmentBase & indexRangeExact(bool val)
Definition SegmentBase.hh:102
SegmentBase & initialization(URL &&val)
Definition SegmentBase.hh:119
SegmentBase & timeShiftBufferDepth(duration_type &&val)
Definition SegmentBase.hh:91
SegmentBase & timeShiftBufferDepth(const std::nullopt_t &)
Definition SegmentBase.hh:89
bool hasPresentationDuration() const
Definition SegmentBase.hh:81
Definition SingleRFC7233Range.hh:35
#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