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

#include <libmpd++/MultipleSegmentBase.hh>

Inheritance diagram for com::bbc::libmpdpp::MultipleSegmentBase:
Collaboration diagram for com::bbc::libmpdpp::MultipleSegmentBase:

Public Types

using duration_type = SegmentBase::duration_type
 
- Public Types inherited from com::bbc::libmpdpp::SegmentBase
using duration_type = std::chrono::microseconds
 

Public Member Functions

 MultipleSegmentBase ()
 
 MultipleSegmentBase (const MultipleSegmentBase &other)
 
 MultipleSegmentBase (MultipleSegmentBase &&other)
 
virtual ~MultipleSegmentBase ()
 
MultipleSegmentBaseoperator= (const MultipleSegmentBase &other)
 
MultipleSegmentBaseoperator= (MultipleSegmentBase &&other)
 
bool operator== (const MultipleSegmentBase &other) const
 
bool hasDuration () const
 
const std::optional< unsigned int > & duration () const
 
MultipleSegmentBaseduration (const std::nullopt_t &)
 
MultipleSegmentBaseduration (unsigned int val)
 
duration_type durationAsDurationType () const
 
bool hasStartNumber () const
 
const std::optional< unsigned int > & startNumber () const
 
MultipleSegmentBasestartNumber (const std::nullopt_t &)
 
MultipleSegmentBasestartNumber (unsigned int val)
 
bool hasEndNumber () const
 
const std::optional< unsigned int > & endNumber () const
 
MultipleSegmentBaseendNumber (const std::nullopt_t &)
 
MultipleSegmentBaseendNumber (unsigned int val)
 
bool hasSegmentTimeline () const
 
const std::optional< SegmentTimeline > & segmentTimeline () const
 
MultipleSegmentBasesegmentTimeline (const std::nullopt_t &)
 
MultipleSegmentBasesegmentTimeline (const SegmentTimeline &val)
 
MultipleSegmentBasesegmentTimeline (SegmentTimeline &&val)
 
bool hasBitstreamSwitching () const
 
const std::optional< URL > & bitstreamSwitching () const
 
MultipleSegmentBasebitstreamSwitching (const std::nullopt_t &)
 
MultipleSegmentBasebitstreamSwitching (const URL &val)
 
MultipleSegmentBasebitstreamSwitching (URL &&val)
 
unsigned long segmentNumberToTime (unsigned long segment_number) const
 
duration_type segmentNumberToDurationType (unsigned long segment_number) const
 
unsigned long timeOffsetToSegmentNumber (unsigned long time_offset) const
 
unsigned long durationTypeToSegmentNumber (const duration_type &offset) const
 
- Public Member Functions inherited from com::bbc::libmpdpp::SegmentBase
 SegmentBase ()
 
 SegmentBase (const SegmentBase &other)
 
 SegmentBase (SegmentBase &&other)
 
virtual ~SegmentBase ()
 
SegmentBaseoperator= (const SegmentBase &other)
 
SegmentBaseoperator= (SegmentBase &&other)
 
bool operator== (const SegmentBase &other) const
 
bool hasTimescale () const
 
const std::optional< unsigned int > & timescale () const
 
SegmentBasetimescale (const std::nullopt_t &)
 
SegmentBasetimescale (unsigned int val)
 
bool hasEptDelta () const
 
const std::optional< int > & eptDelta () const
 
SegmentBaseeptDelta (const std::nullopt_t &)
 
SegmentBaseeptDelta (int val)
 
bool hasPdDelta () const
 
const std::optional< int > & pdDelta () const
 
SegmentBasepdDelta (const std::nullopt_t &)
 
SegmentBasepdDelta (int val)
 
bool hasPresentationTimeOffest () const
 
const std::optional< unsigned long > & presentationTimeOffest () const
 
SegmentBasepresentationTimeOffest (const std::nullopt_t &)
 
SegmentBasepresentationTimeOffest (unsigned long val)
 
bool hasPresentationDuration () const
 
const std::optional< unsigned long > & presentationDuration () const
 
SegmentBasepresentationDuration (const std::nullopt_t &)
 
SegmentBasepresentationDuration (unsigned long val)
 
bool hasTimeShiftBufferDepth () const
 
const std::optional< duration_type > & timeShiftBufferDepth () const
 
SegmentBasetimeShiftBufferDepth (const std::nullopt_t &)
 
SegmentBasetimeShiftBufferDepth (const duration_type &val)
 
SegmentBasetimeShiftBufferDepth (duration_type &&val)
 
bool hasIndexRange () const
 
const std::optional< SingleRFC7233Range > & indexRange () const
 
SegmentBaseindexRange (const std::nullopt_t &)
 
SegmentBaseindexRange (const SingleRFC7233Range &val)
 
SegmentBaseindexRange (SingleRFC7233Range &&val)
 
bool indexRangeExact () const
 
SegmentBaseindexRangeExact (bool val)
 
bool hasAvailabilityTimeOffset () const
 
const std::optional< double > & availabilityTimeOffset () const
 
SegmentBaseavailabilityTimeOffset (const std::nullopt_t &)
 
SegmentBaseavailabilityTimeOffset (double val)
 
bool availabilityTimeComplete () const
 
SegmentBaseavailabilityTimeComplete (bool val)
 
bool hasInitialization () const
 
const std::optional< URL > & initialization () const
 
SegmentBaseinitialization (const std::nullopt_t &)
 
SegmentBaseinitialization (const URL &val)
 
SegmentBaseinitialization (URL &&val)
 
bool hasRepresentationIndex () const
 
const std::optional< URL > & representationIndex () const
 
SegmentBaserepresentationIndex (const std::nullopt_t &)
 
SegmentBaserepresentationIndex (const URL &val)
 
SegmentBaserepresentationIndex (URL &&val)
 
bool hasFailoverContent () const
 
const std::optional< FailoverContent > & failoverContent () const
 
SegmentBasefailoverContent (const std::nullopt_t &)
 
SegmentBasefailoverContent (const FailoverContent &val)
 
SegmentBasefailoverContent (FailoverContent &&val)
 

Detailed Description

MultipleSegmentBase class

Container for DASH MPD schema MultipleSegmentBaseType as found in ISO 23009-1:2022 Clause 5.3.9.2.3.

This is the base type for SegmentList and SegmentTemplate classes.

Member Typedef Documentation

◆ duration_type

Constructor & Destructor Documentation

◆ MultipleSegmentBase() [1/3]

com::bbc::libmpdpp::MultipleSegmentBase::MultipleSegmentBase ( )

◆ MultipleSegmentBase() [2/3]

com::bbc::libmpdpp::MultipleSegmentBase::MultipleSegmentBase ( const MultipleSegmentBase & other)

◆ MultipleSegmentBase() [3/3]

com::bbc::libmpdpp::MultipleSegmentBase::MultipleSegmentBase ( MultipleSegmentBase && other)

◆ ~MultipleSegmentBase()

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

Member Function Documentation

◆ bitstreamSwitching() [1/4]

const std::optional< URL > & com::bbc::libmpdpp::MultipleSegmentBase::bitstreamSwitching ( ) const
inline

◆ bitstreamSwitching() [2/4]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::bitstreamSwitching ( const std::nullopt_t & )
inline

◆ bitstreamSwitching() [3/4]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::bitstreamSwitching ( const URL & val)
inline

◆ bitstreamSwitching() [4/4]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::bitstreamSwitching ( URL && val)
inline

◆ duration() [1/3]

const std::optional< unsigned int > & com::bbc::libmpdpp::MultipleSegmentBase::duration ( ) const
inline

◆ duration() [2/3]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::duration ( const std::nullopt_t & )
inline

◆ duration() [3/3]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::duration ( unsigned int val)
inline

◆ durationAsDurationType()

duration_type com::bbc::libmpdpp::MultipleSegmentBase::durationAsDurationType ( ) const

◆ durationTypeToSegmentNumber()

unsigned long com::bbc::libmpdpp::MultipleSegmentBase::durationTypeToSegmentNumber ( const duration_type & offset) const

◆ endNumber() [1/3]

const std::optional< unsigned int > & com::bbc::libmpdpp::MultipleSegmentBase::endNumber ( ) const
inline

◆ endNumber() [2/3]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::endNumber ( const std::nullopt_t & )
inline

◆ endNumber() [3/3]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::endNumber ( unsigned int val)
inline

◆ hasBitstreamSwitching()

bool com::bbc::libmpdpp::MultipleSegmentBase::hasBitstreamSwitching ( ) const
inline

◆ hasDuration()

bool com::bbc::libmpdpp::MultipleSegmentBase::hasDuration ( ) const
inline

◆ hasEndNumber()

bool com::bbc::libmpdpp::MultipleSegmentBase::hasEndNumber ( ) const
inline

◆ hasSegmentTimeline()

bool com::bbc::libmpdpp::MultipleSegmentBase::hasSegmentTimeline ( ) const
inline

◆ hasStartNumber()

bool com::bbc::libmpdpp::MultipleSegmentBase::hasStartNumber ( ) const
inline

◆ operator=() [1/2]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::operator= ( const MultipleSegmentBase & other)

◆ operator=() [2/2]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::operator= ( MultipleSegmentBase && other)

◆ operator==()

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

◆ segmentNumberToDurationType()

duration_type com::bbc::libmpdpp::MultipleSegmentBase::segmentNumberToDurationType ( unsigned long segment_number) const

◆ segmentNumberToTime()

unsigned long com::bbc::libmpdpp::MultipleSegmentBase::segmentNumberToTime ( unsigned long segment_number) const

◆ segmentTimeline() [1/4]

const std::optional< SegmentTimeline > & com::bbc::libmpdpp::MultipleSegmentBase::segmentTimeline ( ) const
inline

◆ segmentTimeline() [2/4]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::segmentTimeline ( const SegmentTimeline & val)
inline

◆ segmentTimeline() [3/4]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::segmentTimeline ( const std::nullopt_t & )
inline

◆ segmentTimeline() [4/4]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::segmentTimeline ( SegmentTimeline && val)
inline

◆ startNumber() [1/3]

const std::optional< unsigned int > & com::bbc::libmpdpp::MultipleSegmentBase::startNumber ( ) const
inline

◆ startNumber() [2/3]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::startNumber ( const std::nullopt_t & )
inline

◆ startNumber() [3/3]

MultipleSegmentBase & com::bbc::libmpdpp::MultipleSegmentBase::startNumber ( unsigned int val)
inline

◆ timeOffsetToSegmentNumber()

unsigned long com::bbc::libmpdpp::MultipleSegmentBase::timeOffsetToSegmentNumber ( unsigned long time_offset) const

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