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

#include <libmpd++/SegmentList.hh>

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

Public Types

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

Public Member Functions

 SegmentList ()
 
 SegmentList (const SegmentList &other)
 
 SegmentList (SegmentList &&other)
 
virtual ~SegmentList ()
 
SegmentListoperator= (const SegmentList &other)
 
SegmentListoperator= (SegmentList &&other)
 
bool operator== (const SegmentList &other) const
 
bool hasXLink () const
 
const std::optional< XLink > & xLink () const
 
SegmentListxLink (const std::nullopt_t &)
 
SegmentListxLink (const XLink &val)
 
SegmentListxLink (XLink &&val)
 
const std::list< SegmentURL > & segmentURLs () const
 
std::list< SegmentURL >::const_iterator segmentURLsBegin () const
 
std::list< SegmentURL >::const_iterator segmentURLsEnd () const
 
std::list< SegmentURL >::iterator segmentURLsBegin ()
 
std::list< SegmentURL >::iterator segmentURLsEnd ()
 
SegmentListsegmentURLAdd (const SegmentURL &val)
 
SegmentListsegmentURLAdd (SegmentURL &&val)
 
SegmentListsegmentURLRemove (const SegmentURL &val)
 
SegmentListsegmentURLRemove (const std::list< SegmentURL >::const_iterator &it)
 
SegmentListsegmentURLRemove (const std::list< SegmentURL >::iterator &it)
 
const std::string & getMediaURLForSegment (unsigned long segment_number) const
 
const std::string & getMediaURLForSegmentTime (unsigned long time) const
 
const std::string & getMediaURLForSegmentTime (const duration_type &time) const
 
const std::string & getInitializationURL () const
 
- Public Member Functions inherited from com::bbc::libmpdpp::MultipleSegmentBase
 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

SegmentList class

Container for DASH MPD schema SegmentListType found in ISO 23009-1:2022 Clause 5.3.9.3.3.

Member Typedef Documentation

◆ duration_type

Constructor & Destructor Documentation

◆ SegmentList() [1/3]

com::bbc::libmpdpp::SegmentList::SegmentList ( )
inline

◆ SegmentList() [2/3]

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

◆ SegmentList() [3/3]

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

◆ ~SegmentList()

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

Member Function Documentation

◆ getInitializationURL()

const std::string & com::bbc::libmpdpp::SegmentList::getInitializationURL ( ) const

◆ getMediaURLForSegment()

const std::string & com::bbc::libmpdpp::SegmentList::getMediaURLForSegment ( unsigned long segment_number) const

◆ getMediaURLForSegmentTime() [1/2]

const std::string & com::bbc::libmpdpp::SegmentList::getMediaURLForSegmentTime ( const duration_type & time) const

◆ getMediaURLForSegmentTime() [2/2]

const std::string & com::bbc::libmpdpp::SegmentList::getMediaURLForSegmentTime ( unsigned long time) const

◆ hasXLink()

bool com::bbc::libmpdpp::SegmentList::hasXLink ( ) const
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

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

◆ segmentURLAdd() [1/2]

SegmentList & com::bbc::libmpdpp::SegmentList::segmentURLAdd ( const SegmentURL & val)
inline

◆ segmentURLAdd() [2/2]

SegmentList & com::bbc::libmpdpp::SegmentList::segmentURLAdd ( SegmentURL && val)
inline

◆ segmentURLRemove() [1/3]

SegmentList & com::bbc::libmpdpp::SegmentList::segmentURLRemove ( const SegmentURL & val)
inline

◆ segmentURLRemove() [2/3]

SegmentList & com::bbc::libmpdpp::SegmentList::segmentURLRemove ( const std::list< SegmentURL >::const_iterator & it)
inline

◆ segmentURLRemove() [3/3]

SegmentList & com::bbc::libmpdpp::SegmentList::segmentURLRemove ( const std::list< SegmentURL >::iterator & it)
inline

◆ segmentURLs()

const std::list< SegmentURL > & com::bbc::libmpdpp::SegmentList::segmentURLs ( ) const
inline

◆ segmentURLsBegin() [1/2]

std::list< SegmentURL >::iterator com::bbc::libmpdpp::SegmentList::segmentURLsBegin ( )
inline

◆ segmentURLsBegin() [2/2]

std::list< SegmentURL >::const_iterator com::bbc::libmpdpp::SegmentList::segmentURLsBegin ( ) const
inline

◆ segmentURLsEnd() [1/2]

std::list< SegmentURL >::iterator com::bbc::libmpdpp::SegmentList::segmentURLsEnd ( )
inline

◆ segmentURLsEnd() [2/2]

std::list< SegmentURL >::const_iterator com::bbc::libmpdpp::SegmentList::segmentURLsEnd ( ) const
inline

◆ xLink() [1/4]

const std::optional< XLink > & com::bbc::libmpdpp::SegmentList::xLink ( ) const
inline

◆ xLink() [2/4]

SegmentList & com::bbc::libmpdpp::SegmentList::xLink ( const std::nullopt_t & )
inline

◆ xLink() [3/4]

SegmentList & com::bbc::libmpdpp::SegmentList::xLink ( const XLink & val)
inline

◆ xLink() [4/4]

SegmentList & com::bbc::libmpdpp::SegmentList::xLink ( XLink && val)
inline

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