AdaptationSet class. More...
#include <libmpd++/AdaptationSet.hh>
Public Types | |
using | time_type = std::chrono::system_clock::time_point |
Date-time type. | |
using | duration_type = std::chrono::microseconds |
Time duration type. | |
![]() | |
enum | VideoScan { VIDEO_SCAN_PROGRESSIVE , VIDEO_SCAN_INTERLACED , VIDEO_SCAN_UNKNOWN } |
Public Member Functions | |
AdaptationSet () | |
AdaptationSet (const AdaptationSet &other) | |
AdaptationSet (AdaptationSet &&other) | |
virtual | ~AdaptationSet () |
AdaptationSet & | operator= (const AdaptationSet &other) |
AdaptationSet & | operator= (AdaptationSet &&other) |
bool | operator== (const AdaptationSet &other) const |
bool | hasId () const |
const std::optional< unsigned int > & | id () const |
AdaptationSet & | id (const std::nullopt_t &) |
AdaptationSet & | id (unsigned int id) |
AdaptationSet & | id (const std::optional< unsigned int > &id) |
AdaptationSet & | id (std::optional< unsigned int > &&id) |
bool | hasGroup () const |
const std::optional< unsigned int > & | group () const |
AdaptationSet & | group (const std::nullopt_t &) |
AdaptationSet & | group (unsigned int group) |
AdaptationSet & | group (const std::optional< unsigned int > &group) |
AdaptationSet & | group (std::optional< unsigned int > &&group) |
bool | hasLang () const |
const std::optional< std::string > & | lang () const |
AdaptationSet & | lang (const std::nullopt_t &) |
AdaptationSet & | lang (const std::string &lang) |
AdaptationSet & | lang (std::string &&lang) |
AdaptationSet & | lang (const std::optional< std::string > &lang) |
AdaptationSet & | lang (std::optional< std::string > &&lang) |
bool | hasContentType () const |
const std::optional< RFC6838ContentType > & | contentType () const |
AdaptationSet & | contentType (const std::nullopt_t &) |
AdaptationSet & | contentType (const RFC6838ContentType &content_type) |
AdaptationSet & | contentType (RFC6838ContentType &&content_type) |
AdaptationSet & | contentType (const std::optional< RFC6838ContentType > &content_type) |
AdaptationSet & | contentType (std::optional< RFC6838ContentType > &&content_type) |
bool | hasPar () const |
const std::optional< Ratio > & | par () const |
AdaptationSet & | par (const std::nullopt_t &) |
AdaptationSet & | par (const Ratio &par) |
AdaptationSet & | par (Ratio &&par) |
AdaptationSet & | par (const std::optional< Ratio > &par) |
AdaptationSet & | par (std::optional< Ratio > &&par) |
bool | hasMinBandwidth () const |
const std::optional< unsigned int > & | minBandwidth () const |
AdaptationSet & | minBandwidth (const std::nullopt_t &) |
AdaptationSet & | minBandwidth (unsigned int min_bandwidth) |
AdaptationSet & | minBandwidth (const std::optional< unsigned int > &min_bandwidth) |
AdaptationSet & | minBandwidth (std::optional< unsigned int > &&min_bandwidth) |
bool | hasMaxBandwidth () const |
const std::optional< unsigned int > & | maxBandwidth () const |
AdaptationSet & | maxBandwidth (const std::nullopt_t &) |
AdaptationSet & | maxBandwidth (unsigned int max_bandwidth) |
AdaptationSet & | maxBandwidth (const std::optional< unsigned int > &max_bandwidth) |
AdaptationSet & | maxBandwidth (std::optional< unsigned int > &&max_bandwidth) |
bool | hasMinWidth () const |
const std::optional< unsigned int > & | minWidth () const |
AdaptationSet & | minWidth (const std::nullopt_t &) |
AdaptationSet & | minWidth (unsigned int min_width) |
AdaptationSet & | minWidth (const std::optional< unsigned int > &min_width) |
AdaptationSet & | minWidth (std::optional< unsigned int > &&min_width) |
bool | hasMaxWidth () const |
const std::optional< unsigned int > & | maxWidth () const |
AdaptationSet & | maxWidth (const std::nullopt_t &) |
AdaptationSet & | maxWidth (unsigned int max_width) |
AdaptationSet & | maxWidth (const std::optional< unsigned int > &max_width) |
AdaptationSet & | maxWidth (std::optional< unsigned int > &&max_width) |
bool | hasMinHeight () const |
const std::optional< unsigned int > & | minHeight () const |
AdaptationSet & | minHeight (const std::nullopt_t &) |
AdaptationSet & | minHeight (unsigned int min_height) |
AdaptationSet & | minHeight (const std::optional< unsigned int > &min_height) |
AdaptationSet & | minHeight (std::optional< unsigned int > &&min_height) |
bool | hasMaxHeight () const |
const std::optional< unsigned int > & | maxHeight () const |
AdaptationSet & | maxHeight (const std::nullopt_t &) |
AdaptationSet & | maxHeight (unsigned int max_height) |
AdaptationSet & | maxHeight (const std::optional< unsigned int > &max_height) |
AdaptationSet & | maxHeight (std::optional< unsigned int > &&max_height) |
bool | hasMinFrameRate () const |
const std::optional< FrameRate > & | minFrameRate () const |
AdaptationSet & | minFrameRate (const std::nullopt_t &) |
AdaptationSet & | minFrameRate (const FrameRate &min_frame_rate) |
AdaptationSet & | minFrameRate (FrameRate &&min_frame_rate) |
AdaptationSet & | minFrameRate (const std::optional< FrameRate > &min_frame_rate) |
AdaptationSet & | minFrameRate (std::optional< FrameRate > &&min_frame_rate) |
bool | hasMaxFrameRate () const |
const std::optional< FrameRate > & | maxFrameRate () const |
AdaptationSet & | maxFrameRate (const std::nullopt_t &) |
AdaptationSet & | maxFrameRate (const FrameRate &max_frame_rate) |
AdaptationSet & | maxFrameRate (FrameRate &&max_frame_rate) |
AdaptationSet & | maxFrameRate (const std::optional< FrameRate > &max_frame_rate) |
AdaptationSet & | maxFrameRate (std::optional< FrameRate > &&max_frame_rate) |
bool | segmentAlignment () const |
AdaptationSet & | segmentAlignment (bool segment_alignment) |
bool | subsegmentAlignment () const |
AdaptationSet & | subsegmentAlignment (bool subsegment_alignment) |
const SAP & | subsegmentStartsWithSAP () const |
AdaptationSet & | subsegmentStartsWithSAP (const SAP &subsegment_starts_with_sap) |
AdaptationSet & | subsegmentStartsWithSAP (SAP &&subsegment_starts_with_sap) |
bool | hasBitstreamSwitching () const |
const std::optional< bool > & | bitstreamSwitching () const |
AdaptationSet & | bitstreamSwitching (const std::nullopt_t &) |
AdaptationSet & | bitstreamSwitching (bool bitstream_switching) |
AdaptationSet & | bitstreamSwitching (const std::optional< bool > &bitstream_switching) |
AdaptationSet & | bitstreamSwitching (std::optional< bool > &&bitstream_switching) |
const std::list< unsigned int > & | initializationSetRefs () const |
unsigned int | initializationSetRef (std::list< unsigned int >::size_type idx) const |
bool | initializationSetRefsContains (unsigned int ref) const |
AdaptationSet & | initializationSetRefAdd (unsigned int ref) |
AdaptationSet & | initializationSetRefRemove (unsigned int ref) |
AdaptationSet & | initializationSetRefs (const std::list< unsigned int > &initialization_set_refs) |
AdaptationSet & | initializationSetRefs (std::list< unsigned int > &&initialization_set_refs) |
bool | hasInitializationPrincipal () const |
const std::optional< URI > & | initializationPrincipal () const |
AdaptationSet & | initializationPrincipal (const std::nullopt_t &) |
AdaptationSet & | initializationPrincipal (const URI &initialization_principal) |
AdaptationSet & | initializationPrincipal (URI &&initialization_principal) |
AdaptationSet & | initializationPrincipal (const std::optional< URI > &initialization_principal) |
AdaptationSet & | initializationPrincipal (std::optional< URI > &&initialization_principal) |
const std::list< Descriptor > & | accessibilities () const |
const Descriptor & | accessibility (std::list< Descriptor >::size_type idx) const |
bool | accessibilitiesContains (const Descriptor &descriptor) const |
AdaptationSet & | accessibilitiesRemove (const Descriptor &accessibility) |
const std::list< Descriptor > & | roles () const |
const Descriptor & | role (std::list< Descriptor >::size_type idx) const |
bool | rolesContains (const Descriptor &descriptor) const |
AdaptationSet & | rolesRemove (const Descriptor &role) |
const std::list< Descriptor > & | ratings () const |
const Descriptor & | rating (std::list< Descriptor >::size_type idx) const |
bool | ratingsContains (const Descriptor &descriptor) const |
AdaptationSet & | ratingsRemove (const Descriptor &rating) |
const std::list< Descriptor > & | viewpoints () const |
const Descriptor & | viewpoint (std::list< Descriptor >::size_type idx) const |
bool | viewpointsContains (const Descriptor &descriptor) const |
AdaptationSet & | viewpointsRemove (const Descriptor &viewpoint) |
const std::list< ContentComponent > & | contentComponents () const |
const ContentComponent & | contentComponent (std::list< ContentComponent >::size_type idx) const |
bool | contentComponentsContains (const ContentComponent &content_component) const |
AdaptationSet & | contentComponentsRemove (const ContentComponent &content_component) |
const std::list< BaseURL > & | baseURLs () const |
const BaseURL & | baseURL (std::list< BaseURL >::size_type idx) const |
bool | baseURLsContains (const BaseURL &base_url) const |
AdaptationSet & | baseURLsRemove (const BaseURL &base_url) |
std::list< BaseURL > | getBaseURLs () const |
bool | hasSegmentBase () const |
const std::optional< SegmentBase > & | segmentBase () const |
AdaptationSet & | segmentBase (const std::nullopt_t &) |
AdaptationSet & | segmentBase (const SegmentBase &seg_base) |
AdaptationSet & | segmentBase (SegmentBase &&seg_base) |
bool | hasSegmentList () const |
const std::optional< SegmentList > & | segmentList () const |
AdaptationSet & | segmentList (const std::nullopt_t &) |
AdaptationSet & | segmentList (const SegmentList &seg_list) |
AdaptationSet & | segmentList (SegmentList &&seg_list) |
bool | hasSegmentTemplate () const |
const std::optional< SegmentTemplate > & | segmentTemplate () const |
AdaptationSet & | segmentTemplate (const std::nullopt_t &) |
AdaptationSet & | segmentTemplate (const SegmentTemplate &seg_template) |
AdaptationSet & | segmentTemplate (SegmentTemplate &&seg_template) |
const std::list< Representation > & | representations () const |
const Representation & | representation (std::list< Representation >::size_type idx) const |
bool | representationsContains (const Representation &representation) const |
AdaptationSet & | representationsRemove (const Representation &representation) |
void | selectAllRepresentations () |
void | selectRepresentation (const Representation &rep, bool deselect_others=false) |
void | deselectAllRepresentations () |
void | deselectRepresentation (const Representation &rep) |
const std::unordered_set< const Representation * > & | selectedRepresentations () const |
std::list< SegmentAvailability > | selectedSegmentAvailability (const time_type &query_time) const |
std::list< SegmentAvailability > | selectedInitializationSegments () const |
MPD * | getMPD () |
const MPD * | getMPD () const |
Period * | getPeriod () |
const Period * | getPeriod () const |
std::list< unsignedint >::const_iterator | initializationSetRefsBegin () const |
std::list< unsignedint >::iterator | initializationSetRefsBegin () |
std::list< unsignedint >::const_iterator | initializationSetRefsEnd () const |
std::list< unsignedint >::iterator | initializationSetRefsEnd () |
AdaptationSet & | initializationSetRefRemove (const std::list< unsigned int >::const_iterator &it) |
AdaptationSet & | initializationSetRefRemove (const std::list< unsigned int >::iterator &it) |
std::list< Descriptor >::const_iterator | accessibilitiesBegin () const |
std::list< Descriptor >::iterator | accessibilitiesBegin () |
std::list< Descriptor >::const_iterator | accessibilitiesEnd () const |
std::list< Descriptor >::iterator | accessibilitiesEnd () |
AdaptationSet & | accessibilitiesAdd (const Descriptor &accessibility) |
AdaptationSet & | accessibilitiesAdd (Descriptor &&accessibility) |
AdaptationSet & | accessibilitiesRemove (const std::list< Descriptor >::const_iterator &it) |
AdaptationSet & | accessibilitiesRemove (const std::list< Descriptor >::iterator &it) |
std::list< Descriptor >::const_iterator | rolesBegin () const |
std::list< Descriptor >::iterator | rolesBegin () |
std::list< Descriptor >::const_iterator | rolesEnd () const |
std::list< Descriptor >::iterator | rolesEnd () |
AdaptationSet & | rolesAdd (const Descriptor &role) |
AdaptationSet & | rolesAdd (Descriptor &&role) |
AdaptationSet & | rolesRemove (const std::list< Descriptor >::const_iterator &it) |
AdaptationSet & | rolesRemove (const std::list< Descriptor >::iterator &it) |
std::list< Descriptor >::const_iterator | ratingsBegin () const |
std::list< Descriptor >::iterator | ratingsBegin () |
std::list< Descriptor >::const_iterator | ratingsEnd () const |
std::list< Descriptor >::iterator | ratingsEnd () |
AdaptationSet & | ratingsAdd (const Descriptor &rating) |
AdaptationSet & | ratingsAdd (Descriptor &&rating) |
AdaptationSet & | ratingsRemove (const std::list< Descriptor >::const_iterator &it) |
AdaptationSet & | ratingsRemove (const std::list< Descriptor >::iterator &it) |
std::list< Descriptor >::const_iterator | viewpointsBegin () const |
std::list< Descriptor >::iterator | viewpointsBegin () |
std::list< Descriptor >::const_iterator | viewpointsEnd () const |
std::list< Descriptor >::iterator | viewpointsEnd () |
AdaptationSet & | viewpointsAdd (const Descriptor &viewpoint) |
AdaptationSet & | viewpointsAdd (Descriptor &&viewpoint) |
AdaptationSet & | viewpointsRemove (const std::list< Descriptor >::const_iterator &it) |
AdaptationSet & | viewpointsRemove (const std::list< Descriptor >::iterator &it) |
std::list< ContentComponent >::const_iterator | contentComponentsBegin () const |
std::list< ContentComponent >::iterator | contentComponentsBegin () |
std::list< ContentComponent >::const_iterator | contentComponentsEnd () const |
std::list< ContentComponent >::iterator | contentComponentsEnd () |
AdaptationSet & | contentComponentsAdd (const ContentComponent &content_component) |
AdaptationSet & | contentComponentsAdd (ContentComponent &&content_component) |
AdaptationSet & | contentComponentsRemove (const std::list< ContentComponent >::const_iterator &it) |
AdaptationSet & | contentComponentsRemove (const std::list< ContentComponent >::iterator &it) |
std::list< BaseURL >::const_iterator | baseURLsBegin () const |
std::list< BaseURL >::iterator | baseURLsBegin () |
std::list< BaseURL >::const_iterator | baseURLsEnd () const |
std::list< BaseURL >::iterator | baseURLsEnd () |
AdaptationSet & | baseURLsAdd (const BaseURL &base_url) |
AdaptationSet & | baseURLsAdd (BaseURL &&base_url) |
AdaptationSet & | baseURLsRemove (const std::list< BaseURL >::const_iterator &it) |
AdaptationSet & | baseURLsRemove (const std::list< BaseURL >::iterator &it) |
AdaptationSet & | segmentBase (const std::optional< SegmentBase > &seg_base) |
AdaptationSet & | segmentBase (std::optional< SegmentBase > &&seg_base) |
AdaptationSet & | segmentList (const std::optional< SegmentList > &seg_list) |
AdaptationSet & | segmentList (std::optional< SegmentList > &&seg_list) |
AdaptationSet & | segmentTemplate (const std::optional< SegmentTemplate > &seg_template) |
AdaptationSet & | segmentTemplate (std::optional< SegmentTemplate > &&seg_template) |
std::list< Representation >::const_iterator | representationsBegin () const |
std::list< Representation >::iterator | representationsBegin () |
std::list< Representation >::const_iterator | representationsEnd () const |
std::list< Representation >::iterator | representationsEnd () |
AdaptationSet & | representationsAdd (const Representation &representation) |
AdaptationSet & | representationsAdd (Representation &&representation) |
AdaptationSet & | representationsRemove (const std::list< Representation >::const_iterator &it) |
AdaptationSet & | representationsRemove (const std::list< Representation >::iterator &it) |
void | selectRepresentation (const std::list< Representation >::const_iterator &rep_it, bool deselect_others=false) |
void | selectRepresentation (const std::list< Representation >::iterator &rep_it, bool deselect_others=false) |
void | deselectRepresentation (const std::list< Representation >::const_iterator &rep_it) |
void | deselectRepresentation (const std::list< Representation >::iterator &rep_it) |
![]() | |
RepresentationBase () | |
RepresentationBase (const RepresentationBase &to_copy) | |
RepresentationBase (RepresentationBase &&to_move) | |
virtual | ~RepresentationBase () |
RepresentationBase & | operator= (const RepresentationBase &to_copy) |
RepresentationBase & | operator= (RepresentationBase &&to_move) |
bool | operator== (const RepresentationBase &to_compare) const |
const std::list< URI > & | profiles () const |
const URI & | profile (std::list< URI >::size_type idx) const |
RepresentationBase & | profilesRemove (const URI &val) |
bool | hasWidth () const |
const std::optional< unsigned int > & | width () const |
RepresentationBase & | width (const std::nullopt_t &) |
RepresentationBase & | width (unsigned int val) |
bool | hasHeight () const |
const std::optional< unsigned int > & | height () const |
RepresentationBase & | height (const std::nullopt_t &) |
bool | hasSar () const |
const std::optional< Ratio > & | sar () const |
RepresentationBase & | sar (const std::nullopt_t &) |
bool | hasFrameRate () const |
const std::optional< FrameRate > & | frameRate () const |
RepresentationBase & | frameRate (const std::nullopt_t &) |
RepresentationBase & | frameRate (FrameRate::size_type numerator, FrameRate::size_type denominator=1) |
const std::list< unsigned int > & | audioSamplingRates () const |
unsigned int | audioSamplingRate (std::list< unsigned int >::size_type idx) const |
RepresentationBase & | audioSamplingRatesAdd (unsigned int val) |
RepresentationBase & | audioSamplingRatesRemove (unsigned int val) |
bool | hasMimeType () const |
const std::optional< std::string > & | mimeType () const |
RepresentationBase & | mimeType (const std::nullopt_t &) |
const std::list< std::string > & | segmentProfiles () const |
const std::string & | segmentProfile (std::list< std::string >::size_type idx) const |
RepresentationBase & | segmentProfilesRemove (const std::string &val) |
bool | hasCodecs () const |
const std::optional< Codecs > & | codecs () const |
RepresentationBase & | codecs (const std::nullopt_t &) |
const std::list< std::string > & | containerProfiles () const |
const std::string & | containerProfile (std::list< std::string >::size_type idx) const |
RepresentationBase & | containerProfilesRemove (const std::string &val) |
bool | hasMaximumSAPPeriod () const |
const std::optional< double > & | maximumSAPPeriod () const |
RepresentationBase & | maximumSAPPeriod (const std::nullopt_t &) |
bool | hasStartWithSAP () const |
const std::optional< SAP > & | startWithSAP () const |
RepresentationBase & | startWithSAP (const std::nullopt_t &) |
bool | hasMaxPlayoutRate () const |
const std::optional< double > & | maxPlayoutRate () const |
RepresentationBase & | maxPlayoutRate (const std::nullopt_t &) |
bool | hasCodingDependency () const |
const std::optional< bool > & | codingDependency () const |
RepresentationBase & | codingDependency (const std::nullopt_t &) |
bool | hasScanType () const |
const std::optional< VideoScan > & | scanType () const |
RepresentationBase & | scanType (const std::nullopt_t &) |
unsigned int | selectionPriority () const |
RepresentationBase & | selectionPriority (unsigned int val) |
bool | hasTag () const |
const std::optional< std::string > & | tag () const |
RepresentationBase & | tag (const std::nullopt_t &) |
const std::list< Descriptor > & | framePackings () const |
const Descriptor & | framePacking (std::list< Descriptor >::size_type idx) const |
RepresentationBase & | framePackingsRemove (const Descriptor &val) |
const std::list< Descriptor > & | audioChannelConfigurations () const |
const Descriptor & | audioChannelConfiguration (std::list< Descriptor >::size_type idx) const |
RepresentationBase & | audioChannelConfigurationsRemove (const Descriptor &val) |
const std::list< ContentProtection > & | contentProtections () const |
const ContentProtection & | contentProtection (std::list< ContentProtection >::size_type idx) const |
RepresentationBase & | contentProtectionsRemove (const ContentProtection &val) |
bool | hasOutputProtection () const |
const std::optional< Descriptor > & | outputProtection () const |
RepresentationBase & | outputProtection (const std::nullopt_t &) |
const std::list< Descriptor > & | essentialProperties () const |
const Descriptor & | essentialProperty (std::list< Descriptor >::size_type idx) const |
RepresentationBase & | essentialPropertiesRemove (const Descriptor &val) |
const std::list< Descriptor > & | supplementalProperties () const |
const Descriptor & | supplementalProperty (std::list< Descriptor >::size_type idx) const |
RepresentationBase & | supplementalPropertiesRemove (const Descriptor &val) |
const std::list< EventStream > & | inbandEventStreams () const |
const EventStream & | inbandEventStream (std::list< EventStream >::size_type idx) const |
RepresentationBase & | inbandEventStreamsRemove (const EventStream &val) |
const std::list< Switching > & | switchings () const |
const Switching & | switching (std::list< Switching >::size_type idx) const |
RepresentationBase & | switchingsRemove (const Switching &val) |
const std::list< RandomAccess > & | randomAccesses () const |
const RandomAccess & | randomAccess (std::list< RandomAccess >::size_type idx) const |
RepresentationBase & | randomAccessesRemove (const RandomAccess &val) |
const std::list< Label > & | groupLabels () const |
const Label & | groupLabel (std::list< Label >::size_type idx) const |
RepresentationBase & | groupLabelsRemove (const Label &val) |
const std::list< Label > & | labels () const |
const Label & | label (std::list< Label >::size_type idx) const |
RepresentationBase & | labelsRemove (const Label &val) |
const std::list< ProducerReferenceTime > & | producerReferenceTimes () const |
const ProducerReferenceTime & | producerReferenceTime (std::list< ProducerReferenceTime >::size_type idx) const |
RepresentationBase & | producerReferenceTimesRemove (const ProducerReferenceTime &val) |
const std::list< ContentPopularityRate > & | contentPopularityRates () const |
const ContentPopularityRate & | contentPopularityRate (std::list< ContentPopularityRate >::size_type idx) const |
RepresentationBase & | contentPopularityRatesRemove (const ContentPopularityRate &val) |
const std::list< Resync > & | resyncs () const |
const Resync & | resync (std::list< Resync >::size_type idx) const |
RepresentationBase & | resyncsRemove (const Resync &val) |
std::list< URI >::const_iterator | profilesBegin () const |
std::list< URI >::iterator | profilesBegin () |
std::list< URI >::const_iterator | profilesEnd () const |
std::list< URI >::iterator | profilesEnd () |
RepresentationBase & | profiles (const std::list< URI > &_profiles) |
RepresentationBase & | profiles (std::list< URI > &&_profiles) |
RepresentationBase & | profilesAdd (const URI &val) |
RepresentationBase & | profilesAdd (URI &&val) |
RepresentationBase & | profilesRemove (const std::list< URI >::const_iterator &it) |
RepresentationBase & | profilesRemove (const std::list< URI >::iterator &it) |
RepresentationBase & | height (unsigned int val) |
RepresentationBase & | height (const std::optional< unsigned int > &val) |
RepresentationBase & | height (std::optional< unsigned int > &&val) |
RepresentationBase & | sar (const Ratio &val) |
RepresentationBase & | sar (Ratio &&val) |
RepresentationBase & | sar (const std::optional< Ratio > &val) |
RepresentationBase & | sar (std::optional< Ratio > &&val) |
RepresentationBase & | frameRate (const FrameRate &val) |
RepresentationBase & | frameRate (FrameRate &&val) |
RepresentationBase & | frameRate (const std::optional< FrameRate > &val) |
RepresentationBase & | frameRate (std::optional< FrameRate > &&val) |
std::list< unsignedint >::const_iterator | audioSamplingRatesBegin () const |
std::list< unsignedint >::iterator | audioSamplingRatesBegin () |
std::list< unsignedint >::const_iterator | audioSamplingRatesEnd () const |
std::list< unsignedint >::iterator | audioSamplingRatesEnd () |
RepresentationBase & | audioSamplingRates (const std::list< unsigned int > &rates) |
RepresentationBase & | audioSamplingRates (std::list< unsigned int > &&rates) |
RepresentationBase & | audioSamplingRatesRemove (const std::list< unsigned int >::const_iterator &it) |
RepresentationBase & | audioSamplingRatesRemove (const std::list< unsigned int >::iterator &it) |
RepresentationBase & | mimeType (const std::string &val) |
RepresentationBase & | mimeType (std::string &&val) |
RepresentationBase & | mimeType (const std::optional< std::string > &val) |
RepresentationBase & | mimeType (std::optional< std::string > &&val) |
RepresentationBase & | segmentProfiles (const std::list< std::string > &profiles) |
RepresentationBase & | segmentProfiles (std::list< std::string > &&profiles) |
std::list< std::string >::const_iterator | segmentProfilesBegin () const |
std::list< std::string >::iterator | segmentProfilesBegin () |
std::list< std::string >::const_iterator | segmentProfilesEnd () const |
std::list< std::string >::iterator | segmentProfilesEnd () |
RepresentationBase & | segmentProfilesAdd (const std::string &val) |
RepresentationBase & | segmentProfilesAdd (std::string &&val) |
RepresentationBase & | segmentProfilesRemove (const std::list< std::string >::const_iterator &it) |
RepresentationBase & | segmentProfilesRemove (const std::list< std::string >::iterator &it) |
RepresentationBase & | codecs (const Codecs &val) |
RepresentationBase & | codecs (Codecs &&val) |
RepresentationBase & | codecs (const std::optional< Codecs > &val) |
RepresentationBase & | codecs (std::optional< Codecs > &&val) |
RepresentationBase & | containerProfiles (const std::list< std::string > &profiles) |
RepresentationBase & | containerProfiles (std::list< std::string > &&profiles) |
std::list< std::string >::const_iterator | containerProfilesBegin () const |
std::list< std::string >::iterator | containerProfilesBegin () |
std::list< std::string >::const_iterator | containerProfilesEnd () const |
std::list< std::string >::iterator | containerProfilesEnd () |
RepresentationBase & | containerProfilesAdd (const std::string &val) |
RepresentationBase & | containerProfilesAdd (std::string &&val) |
RepresentationBase & | containerProfilesRemove (const std::list< std::string >::const_iterator &it) |
RepresentationBase & | containerProfilesRemove (const std::list< std::string >::iterator &it) |
RepresentationBase & | maximumSAPPeriod (double val) |
RepresentationBase & | maximumSAPPeriod (const std::optional< double > &val) |
RepresentationBase & | maximumSAPPeriod (std::optional< double > &&val) |
RepresentationBase & | startWithSAP (const SAP &val) |
RepresentationBase & | startWithSAP (SAP &&val) |
RepresentationBase & | startWithSAP (const std::optional< SAP > &val) |
RepresentationBase & | startWithSAP (std::optional< SAP > &&val) |
RepresentationBase & | maxPlayoutRate (double val) |
RepresentationBase & | maxPlayoutRate (const std::optional< double > &val) |
RepresentationBase & | maxPlayoutRate (std::optional< double > &&val) |
RepresentationBase & | codingDependency (bool val) |
RepresentationBase & | codingDependency (const std::optional< bool > &val) |
RepresentationBase & | codingDependency (std::optional< bool > &&val) |
RepresentationBase & | scanType (const VideoScan &val) |
RepresentationBase & | scanType (VideoScan &&val) |
RepresentationBase & | scanType (const std::optional< VideoScan > &val) |
RepresentationBase & | scanType (std::optional< VideoScan > &&val) |
RepresentationBase & | tag (const std::string &val) |
RepresentationBase & | tag (std::string &&val) |
RepresentationBase & | tag (const std::optional< std::string > &val) |
RepresentationBase & | tag (std::optional< std::string > &&val) |
RepresentationBase & | framePackings (const std::list< Descriptor > &packings) |
RepresentationBase & | framePackings (std::list< Descriptor > &&packings) |
std::list< Descriptor >::const_iterator | framePackingsBegin () const |
std::list< Descriptor >::iterator | framePackingsBegin () |
std::list< Descriptor >::const_iterator | framePackingsEnd () const |
std::list< Descriptor >::iterator | framePackingsEnd () |
RepresentationBase & | framePackingsAdd (const Descriptor &val) |
RepresentationBase & | framePackingsAdd (Descriptor &&val) |
RepresentationBase & | framePackingsRemove (const std::list< Descriptor >::const_iterator &it) |
RepresentationBase & | framePackingsRemove (const std::list< Descriptor >::iterator &it) |
RepresentationBase & | audioChannelConfigurations (const std::list< Descriptor > &packings) |
RepresentationBase & | audioChannelConfigurations (std::list< Descriptor > &&packings) |
std::list< Descriptor >::const_iterator | audioChannelConfigurationsBegin () const |
std::list< Descriptor >::iterator | audioChannelConfigurationsBegin () |
std::list< Descriptor >::const_iterator | audioChannelConfigurationsEnd () const |
std::list< Descriptor >::iterator | audioChannelConfigurationsEnd () |
RepresentationBase & | audioChannelConfigurationsAdd (const Descriptor &val) |
RepresentationBase & | audioChannelConfigurationsAdd (Descriptor &&val) |
RepresentationBase & | audioChannelConfigurationsRemove (const std::list< Descriptor >::const_iterator &it) |
RepresentationBase & | audioChannelConfigurationsRemove (const std::list< Descriptor >::iterator &it) |
RepresentationBase & | contentProtections (const std::list< ContentProtection > &protections) |
RepresentationBase & | contentProtections (std::list< ContentProtection > &&protections) |
std::list< ContentProtection >::const_iterator | contentProtectionsBegin () const |
std::list< ContentProtection >::iterator | contentProtectionsBegin () |
std::list< ContentProtection >::const_iterator | contentProtectionsEnd () const |
std::list< ContentProtection >::iterator | contentProtectionsEnd () |
RepresentationBase & | contentProtectionsAdd (const ContentProtection &val) |
RepresentationBase & | contentProtectionsAdd (ContentProtection &&val) |
RepresentationBase & | contentProtectionsRemove (const std::list< ContentProtection >::const_iterator &it) |
RepresentationBase & | contentProtectionsRemove (const std::list< ContentProtection >::iterator &it) |
RepresentationBase & | outputProtection (const Descriptor &val) |
RepresentationBase & | outputProtection (Descriptor &&val) |
RepresentationBase & | outputProtection (const std::optional< Descriptor > &val) |
RepresentationBase & | outputProtection (std::optional< Descriptor > &&val) |
RepresentationBase & | essentialProperties (const std::list< Descriptor > &properties) |
RepresentationBase & | essentialProperties (std::list< Descriptor > &&properties) |
std::list< Descriptor >::const_iterator | essentialPropertiesBegin () const |
std::list< Descriptor >::iterator | essentialPropertiesBegin () |
std::list< Descriptor >::const_iterator | essentialPropertiesEnd () const |
std::list< Descriptor >::iterator | essentialPropertiesEnd () |
RepresentationBase & | essentialPropertiesAdd (const Descriptor &val) |
RepresentationBase & | essentialPropertiesAdd (Descriptor &&val) |
RepresentationBase & | essentialPropertiesRemove (const std::list< Descriptor >::const_iterator &it) |
RepresentationBase & | essentialPropertiesRemove (const std::list< Descriptor >::iterator &it) |
RepresentationBase & | supplementalProperties (const std::list< Descriptor > &properties) |
RepresentationBase & | supplementalProperties (std::list< Descriptor > &&properties) |
std::list< Descriptor >::const_iterator | supplementalPropertiesBegin () const |
std::list< Descriptor >::iterator | supplementalPropertiesBegin () |
std::list< Descriptor >::const_iterator | supplementalPropertiesEnd () const |
std::list< Descriptor >::iterator | supplementalPropertiesEnd () |
RepresentationBase & | supplementalPropertiesAdd (const Descriptor &val) |
RepresentationBase & | supplementalPropertiesAdd (Descriptor &&val) |
RepresentationBase & | supplementalPropertiesRemove (const std::list< Descriptor >::const_iterator &it) |
RepresentationBase & | supplementalPropertiesRemove (const std::list< Descriptor >::iterator &it) |
RepresentationBase & | inbandEventStreams (const std::list< EventStream > &streams) |
RepresentationBase & | inbandEventStreams (std::list< EventStream > &&streams) |
std::list< EventStream >::const_iterator | inbandEventStreamsBegin () const |
std::list< EventStream >::iterator | inbandEventStreamsBegin () |
std::list< EventStream >::const_iterator | inbandEventStreamsEnd () const |
std::list< EventStream >::iterator | inbandEventStreamsEnd () |
RepresentationBase & | inbandEventStreamsAdd (const EventStream &val) |
RepresentationBase & | inbandEventStreamsAdd (EventStream &&val) |
RepresentationBase & | inbandEventStreamsRemove (const std::list< EventStream >::const_iterator &it) |
RepresentationBase & | inbandEventStreamsRemove (const std::list< EventStream >::iterator &it) |
RepresentationBase & | switchings (const std::list< Switching > &_switchings) |
RepresentationBase & | switchings (std::list< Switching > &&_switchings) |
std::list< Switching >::const_iterator | switchingsBegin () const |
std::list< Switching >::iterator | switchingsBegin () |
std::list< Switching >::const_iterator | switchingsEnd () const |
std::list< Switching >::iterator | switchingsEnd () |
RepresentationBase & | switchingsAdd (const Switching &val) |
RepresentationBase & | switchingsAdd (Switching &&val) |
RepresentationBase & | switchingsRemove (const std::list< Switching >::const_iterator &it) |
RepresentationBase & | switchingsRemove (const std::list< Switching >::iterator &it) |
RepresentationBase & | randomAccesses (const std::list< RandomAccess > &accesses) |
RepresentationBase & | randomAccesses (std::list< RandomAccess > &&accesses) |
std::list< RandomAccess >::const_iterator | randomAccessesBegin () const |
std::list< RandomAccess >::iterator | randomAccessesBegin () |
std::list< RandomAccess >::const_iterator | randomAccessesEnd () const |
std::list< RandomAccess >::iterator | randomAccessesEnd () |
RepresentationBase & | randomAccessesAdd (const RandomAccess &val) |
RepresentationBase & | randomAccessesAdd (RandomAccess &&val) |
RepresentationBase & | randomAccessesRemove (const std::list< RandomAccess >::const_iterator &it) |
RepresentationBase & | randomAccessesRemove (const std::list< RandomAccess >::iterator &it) |
RepresentationBase & | groupLabels (const std::list< Label > &labels) |
RepresentationBase & | groupLabels (std::list< Label > &&labels) |
std::list< Label >::const_iterator | groupLabelsBegin () const |
std::list< Label >::iterator | groupLabelsBegin () |
std::list< Label >::const_iterator | groupLabelsEnd () const |
std::list< Label >::iterator | groupLabelsEnd () |
RepresentationBase & | groupLabelsAdd (const Label &val) |
RepresentationBase & | groupLabelsAdd (Label &&val) |
RepresentationBase & | groupLabelsRemove (const std::list< Label >::const_iterator &it) |
RepresentationBase & | groupLabelsRemove (const std::list< Label >::iterator &it) |
RepresentationBase & | labels (const std::list< Label > &_labels) |
RepresentationBase & | labels (std::list< Label > &&_labels) |
std::list< Label >::const_iterator | labelsBegin () const |
std::list< Label >::iterator | labelsBegin () |
std::list< Label >::const_iterator | labelsEnd () const |
std::list< Label >::iterator | labelsEnd () |
RepresentationBase & | labelsAdd (const Label &val) |
RepresentationBase & | labelsAdd (Label &&val) |
RepresentationBase & | labelsRemove (const std::list< Label >::const_iterator &it) |
RepresentationBase & | labelsRemove (const std::list< Label >::iterator &it) |
RepresentationBase & | producerReferenceTimes (const std::list< ProducerReferenceTime > ×) |
RepresentationBase & | producerReferenceTimes (std::list< ProducerReferenceTime > &×) |
std::list< ProducerReferenceTime >::const_iterator | producerReferenceTimesBegin () const |
std::list< ProducerReferenceTime >::iterator | producerReferenceTimesBegin () |
std::list< ProducerReferenceTime >::const_iterator | producerReferenceTimesEnd () const |
std::list< ProducerReferenceTime >::iterator | producerReferenceTimesEnd () |
RepresentationBase & | producerReferenceTimesAdd (const ProducerReferenceTime &val) |
RepresentationBase & | producerReferenceTimesAdd (ProducerReferenceTime &&val) |
RepresentationBase & | producerReferenceTimesRemove (const std::list< ProducerReferenceTime >::const_iterator &it) |
RepresentationBase & | producerReferenceTimesRemove (const std::list< ProducerReferenceTime >::iterator &it) |
RepresentationBase & | contentPopularityRates (const std::list< ContentPopularityRate > &rates) |
RepresentationBase & | contentPopularityRates (std::list< ContentPopularityRate > &&rates) |
std::list< ContentPopularityRate >::const_iterator | contentPopularityRatesBegin () const |
std::list< ContentPopularityRate >::iterator | contentPopularityRatesBegin () |
std::list< ContentPopularityRate >::const_iterator | contentPopularityRatesEnd () const |
std::list< ContentPopularityRate >::iterator | contentPopularityRatesEnd () |
RepresentationBase & | contentPopularityRatesAdd (const ContentPopularityRate &val) |
RepresentationBase & | contentPopularityRatesAdd (ContentPopularityRate &&val) |
RepresentationBase & | contentPopularityRatesRemove (const std::list< ContentPopularityRate >::const_iterator &it) |
RepresentationBase & | contentPopularityRatesRemove (const std::list< ContentPopularityRate >::iterator &it) |
RepresentationBase & | resyncs (const std::list< Resync > &_resyncs) |
RepresentationBase & | resyncs (std::list< Resync > &&_resyncs) |
std::list< Resync >::const_iterator | resyncsBegin () const |
std::list< Resync >::iterator | resyncsBegin () |
std::list< Resync >::const_iterator | resyncsEnd () const |
std::list< Resync >::iterator | resyncsEnd () |
RepresentationBase & | resyncsAdd (const Resync &val) |
RepresentationBase & | resyncsAdd (Resync &&val) |
RepresentationBase & | resyncsRemove (const std::list< Resync >::const_iterator &it) |
RepresentationBase & | resyncsRemove (const std::list< Resync >::iterator &it) |
AdaptationSet class.
This is the container for the AdaptationSet element from an MPD, and follows the AdaptationSetType from the DASH MPD XML schema found in ISO 23009-1:2022 Clause 5.3.3.3.
The AdaptationSet also allows the application to mark child Representations as "selected". The selected set of Representations can then be queried to find out the availability of the next media segments or to find the initialization segments associated with those representations.
using com::bbc::libmpdpp::AdaptationSet::duration_type = std::chrono::microseconds |
Time duration type.
using com::bbc::libmpdpp::AdaptationSet::time_type = std::chrono::system_clock::time_point |
Date-time type.
com::bbc::libmpdpp::AdaptationSet::AdaptationSet | ( | ) |
Default constructor
Creates an empty AdaptationSet object which can be attached to a Period.
com::bbc::libmpdpp::AdaptationSet::AdaptationSet | ( | const AdaptationSet & | other | ) |
Copy constructor
Creates a new AdaptationSet object which is a copy of other
.
other | The AdaptationSet object to copy. |
com::bbc::libmpdpp::AdaptationSet::AdaptationSet | ( | AdaptationSet && | other | ) |
Move constructor
Creates a new AdaptationSet object which transfers the resources from other
.
other | The AdaptationSet object to move. |
|
inlinevirtual |
Destructor
|
inline |
Get the list of Accessibility child elements
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::accessibilitiesAdd | ( | const Descriptor & | accessibility | ) |
Add a Descriptor to the Accessibility elements
accessibility | The Accessibility Descriptor to add to the list of Accessibility elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::accessibilitiesAdd | ( | Descriptor && | accessibility | ) |
Add a Descriptor to the Accessibility elements
accessibility | The Accessibility Descriptor to add to the list of Accessibility elements. |
|
inline |
Get the start of Accessibility elements list iterator
|
inline |
Get the start of Accessibility elements list iterator
bool com::bbc::libmpdpp::AdaptationSet::accessibilitiesContains | ( | const Descriptor & | descriptor | ) | const |
Check if an Accessibility Descriptor is in the list
descriptor | The Accessibility Descriptor to look for. |
true
if a Descriptor with the same value as descriptor
is found, otherwise false
.
|
inline |
Get the end of Accessibility elements list iterator
|
inline |
Get the end of Accessibility elements list iterator
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::accessibilitiesRemove | ( | const Descriptor & | accessibility | ) |
Remove an Accessibility Descriptor from the Accessibility elements
If the Descriptor accessibility
exists in the Accessibility elements, remove it from the list.
accessibility | The Accessibility Descriptor to remove from the list of Accessibility elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::accessibilitiesRemove | ( | const std::list< Descriptor >::const_iterator & | it | ) |
Remove an Accessibility Descriptor from the Accessibility elements
Removes the Accessibility Descriptor, referenced by the iterator it
, from the list of Accessibility elements.
it | An iterator referencing an entry in the Accessibility elements list. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::accessibilitiesRemove | ( | const std::list< Descriptor >::iterator & | it | ) |
Remove an Accessibility Descriptor from the Accessibility elements
Removes the Accessibility Descriptor, referenced by the iterator it
, from the list of Accessibility elements.
it | An iterator referencing an entry in the Accessibility elements list. |
const Descriptor & com::bbc::libmpdpp::AdaptationSet::accessibility | ( | std::list< Descriptor >::size_type | idx | ) | const |
Get an Accessibility element
Gets the Accessibility Descriptor element at index idx
in the Accessibility elements list.
idx | The index of the element to fetch. |
idx
. std::out_of_range | If idx is beyond the end of the list. |
const BaseURL & com::bbc::libmpdpp::AdaptationSet::baseURL | ( | std::list< BaseURL >::size_type | idx | ) | const |
Get an BaseURL element
Gets the BaseURL element at index idx
in the BaseURL elements list.
idx | The index of the element to fetch. |
idx
. std::out_of_range | If idx is beyond the end of the list. |
|
inline |
Get the list of BaseURL child elements
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::baseURLsAdd | ( | BaseURL && | base_url | ) |
Add a BaseURL to the BaseURL elements
base_url | The BaseURL to add to the list of BaseURL elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::baseURLsAdd | ( | const BaseURL & | base_url | ) |
Add a BaseURL to the BaseURL elements
base_url | The BaseURL to add to the list of BaseURL elements. |
|
inline |
Get the start of BaseURL elements list iterator
|
inline |
Get the start of BaseURL elements list iterator
bool com::bbc::libmpdpp::AdaptationSet::baseURLsContains | ( | const BaseURL & | base_url | ) | const |
Check if a BaseURL is in the list
base_url | The BaseURL to look for. |
true
if a BaseURL with the same value as base_url
is found, otherwise false
.
|
inline |
Get the end of BaseURL elements list iterator
|
inline |
Get the end of BaseURL elements list iterator
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::baseURLsRemove | ( | const BaseURL & | base_url | ) |
Remove a BaseURL from the BaseURL elements
If the BaseURL base_url
exists in the BaseURL elements, remove it from the list.
base_url | The BaseURL to remove from the list of BaseURL elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::baseURLsRemove | ( | const std::list< BaseURL >::const_iterator & | it | ) |
Remove a BaseURL from the BaseURL elements
Removes the BaseURL, referenced by the iterator it
, from the list of BaseURL elements.
it | An iterator referencing an entry in the BaseURL elements list. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::baseURLsRemove | ( | const std::list< BaseURL >::iterator & | it | ) |
Remove a BaseURL from the BaseURL elements
Removes the BaseURL, referenced by the iterator it
, from the list of BaseURL elements.
it | An iterator referencing an entry in the BaseURL elements list. |
|
inline |
Get the optional @bitstreamSwitching attribute value
|
inline |
Set the @bitstreamSwitching attribute value
bitstream_switching | The bitstream switching flag value to set in the @bitstreamSwitching attribute. |
|
inline |
Unset the @bitstreamSwitching attribute value
|
inline |
Set the @bitstreamSwitching attribute value (optional value copy)
Copy the optional bitstream_switching
into the value of the @bitstreamSwitching attribute.
bitstream_switching | The optional bitstream switching flag to copy into the @bitstreamSwitching attribute. |
|
inline |
Set the @bitstreamSwitching attribute value (optional value move)
Move the optional bitstream_switching
into the @bitstreamSwitching attribute.
bitstream_switching | The optional bitstream switching flag to move into the @bitstreamSwitching attribute. |
const ContentComponent & com::bbc::libmpdpp::AdaptationSet::contentComponent | ( | std::list< ContentComponent >::size_type | idx | ) | const |
Get an ContentComponent element
Gets the ContentComponent element at index idx
in the ContentComponent elements list.
idx | The index of the element to fetch. |
idx
. std::out_of_range | If idx is beyond the end of the list. |
|
inline |
Get the list of ContentComponent child elements
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::contentComponentsAdd | ( | const ContentComponent & | content_component | ) |
Add a ContentComponent to the ContentComponent elements
content_component | The ContentComponent to add to the list of ContentComponent elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::contentComponentsAdd | ( | ContentComponent && | content_component | ) |
Add a ContentComponent to the ContentComponent elements
content_component | The ContentComponent to add to the list of ContentComponent elements. |
|
inline |
Get the start of ContentComponent elements list iterator
|
inline |
Get the start of ContentComponent elements list iterator
bool com::bbc::libmpdpp::AdaptationSet::contentComponentsContains | ( | const ContentComponent & | content_component | ) | const |
Check if a ContentComponent is in the list
content_component | The ContentComponent to look for. |
true
if a ContentComponent with the same value as content_component
is found, otherwise false
.
|
inline |
Get the end of ContentComponent elements list iterator
|
inline |
Get the end of ContentComponent elements list iterator
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::contentComponentsRemove | ( | const ContentComponent & | content_component | ) |
Remove a ContentComponent from the ContentComponent elements
If the ContentComponent content_component
exists in the ContentComponent elements, remove it from the list.
content_component | The ContentComponent to remove from the list of ContentComponent elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::contentComponentsRemove | ( | const std::list< ContentComponent >::const_iterator & | it | ) |
Remove a ContentComponent from the ContentComponent elements
Removes the ContentComponent, referenced by the iterator it
, from the list of ContentComponent elements.
it | An iterator referencing an entry in the ContentComponent elements list. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::contentComponentsRemove | ( | const std::list< ContentComponent >::iterator & | it | ) |
Remove a ContentComponent from the ContentComponent elements
Removes the ContentComponent, referenced by the iterator it
, from the list of ContentComponent elements.
it | An iterator referencing an entry in the ContentComponent elements list. |
|
inline |
Get the optional @contentType attribute value
|
inline |
Set the @contentType attribute value (copy)
Set the @contentType attribute to a copy of the content_type
value.
content_type | The RFC6838 content type to set the @contentType attribute to. |
|
inline |
Unset the @contentType attribute value
Removes any value currently set for the @contentType attribute.
|
inline |
Set the @contentType attribute value (optional value copy)
Copy the optional value from content_type
to the @contentType attribute.
content_type | The optional RFC6838 content type value to copy into the @contentType attribute. |
|
inline |
Set the @contentType attribute value (move)
Move the RFC6838 content type value, content_type
, into the @contentType attribute.
content_type | The RFC6838 content type to move to the @contentType attribute. |
|
inline |
Set the @contentType attribute value (optional value move)
Move the optional value from content_type
into the @contentType attribute.
content_type | The optional RFC6838 content type value to move into the @contentType attribute. |
void com::bbc::libmpdpp::AdaptationSet::deselectAllRepresentations | ( | ) |
Deselect all Representations
This will empty the set of selected Representation objects.
void com::bbc::libmpdpp::AdaptationSet::deselectRepresentation | ( | const Representation & | rep | ) |
Deselect a Representation
This will remove the Representation, rep
, from the set of selected Representation objects.
rep | The Representation to remove from the set of selected Representation objects. |
void com::bbc::libmpdpp::AdaptationSet::deselectRepresentation | ( | const std::list< Representation >::const_iterator & | rep_it | ) |
Deselect a Representation
This will remove the Representation, referenced by the rep_it
iterator, from the set of selected Representation objects.
rep_it | The iterator referencing the Representation to remove. |
void com::bbc::libmpdpp::AdaptationSet::deselectRepresentation | ( | const std::list< Representation >::iterator & | rep_it | ) |
Deselect a Representation
This will remove the Representation, referenced by the rep_it
iterator, from the set of selected Representation objects.
rep_it | The iterator referencing the Representation to remove. |
std::list< BaseURL > com::bbc::libmpdpp::AdaptationSet::getBaseURLs | ( | ) | const |
Get the list of BaseURL entries that apply for this AdaptationSet
MPD * com::bbc::libmpdpp::AdaptationSet::getMPD | ( | ) |
Get the MPD this AdaptationSet is attached to
nullptr
if this object is not attached to an MPD. const MPD * com::bbc::libmpdpp::AdaptationSet::getMPD | ( | ) | const |
Get the MPD this AdaptationSet is attached to
nullptr
if this object is not attached to an MPD.
|
inline |
Get the Period this AdaptationSet is attached to
nullptr
if this object is not attached to a Period.
|
inline |
Get the Period this AdaptationSet is attached to
nullptr
if this object is not attached to a Period.
|
inline |
Get the optional @group attribute value
|
inline |
Unset the @group attribute value
|
inline |
Set the @group attribute value
group | The optional group number to copy to this AdaptationSet. |
|
inline |
Set the @group attribute value
group | The optional group number to move to this AdaptationSet. |
|
inline |
Set the @group attribute value
group | The group number to assign this AdaptationSet. |
|
inline |
Check if the @bitstreamSwitching attribute is set
true
if the @bitstreamSwitching attribute has a value, otherwise false
.
|
inline |
Check if the @contentType attribute is set
true
if the @contentType attribute has a value, otherwise false
.
|
inline |
Check if the @group attribute is set
true
if the @group attribute has a value, otherwise false
.
|
inline |
Check if the @id attribute is set
true
if the @id attribute has a value, otherwise false
.
|
inline |
Check if the @initializationPrincipal attribute is set
true
if the @initializationPrincipal attribute has a value, otherwise false
.
|
inline |
Check if the @lang attribute is set
true
if the @lang attribute has a value, otherwise false
.
|
inline |
Check if the @maxBandwidth attribute is set
true
if the @maxBandwidth attribute has a value, otherwise false
.
|
inline |
Check if the @maxFrameRate attribute is set
true
if the @maxFrameRate attribute has a value, otherwise false
.
|
inline |
Check if the @maxHeight attribute is set
true
if the @maxHeight attribute has a value, otherwise false
.
|
inline |
Check if the @maxWidth attribute is set
true
if the @maxWidth attribute has a value, otherwise false
.
|
inline |
Check if the @minBandwidth attribute is set
true
if the @minBandwidth attribute has a value, otherwise false
.
|
inline |
Check if the @minFrameRate attribute is set
true
if the @minFrameRate attribute has a value, otherwise false
.
|
inline |
Check if the @minHeight attribute is set
true
if the @minHeight attribute has a value, otherwise false
.
|
inline |
Check if the @minWidth attribute is set
true
if the @minWidth attribute has a value, otherwise false
.
|
inline |
Check if the @par attribute is set
true
if the @par attribute has a value, otherwise false
.
|
inline |
Check if a SegmentBase element is present
true
if a SegmentBase has been set, otherwise false
.
|
inline |
Check if a SegmentList element is present
true
if a SegmentList has been set, otherwise false
.
|
inline |
Check if a SegmentTemplate element is present
true
if a SegmentTemplate has been set, otherwise false
.
|
inline |
Get the optional @id attribute value
|
inline |
Unset the @id attribute value
|
inline |
Set the @id attribute value
id | An optional number to copy into the @id attribute value. |
|
inline |
Set the @id attribute value
id | An optional number to move into the @id attribute value. |
|
inline |
Set the @id attribute value
id | The number to assign this AdaptationSet. |
|
inline |
Get the optional @initializationPrincipal attribute value
|
inline |
Unset the @initializationPrincipal attribute value
|
inline |
Set the @initializationPrincipal attribute value (optional value copy)
Copy the optional initialization_principal
into the value of the @initializationPrincipal attribute.
initialization_principal | The optional Initialization Principle URL to copy into the @initializationPrincipal attribute. |
|
inline |
Set the @initializationPrincipal attribute value (copy)
initialization_principal | The Initialization Principle URL to set for the @initializationPrincipal attribute. |
|
inline |
Set the @initializationPrincipal attribute value (optional value move)
Move the optional initialization_principal
into the value of the @initializationPrincipal attribute.
initialization_principal | The optional Initialization Principle URL to move into the @initializationPrincipal attribute. |
|
inline |
Set the @initializationPrincipal attribute value (move)
initialization_principal | The Initialization Principle URL to move into the @initializationPrincipal attribute. |
|
inline |
Get the Initialization Set reference at the given list index
idx | The list index of the Initialization Set reference to retrieve. |
idx
. std::out_of_range | if idx is after the end of the Initialization Set reference list. |
|
inline |
Add an Initialization Set reference to the list of Initialization Set references
ref | The Initialization Set reference value to add. |
|
inline |
Remove an Initialization Set reference from the list of Initialization Set references (by iterator)
it | An iterator pointing to an entry in the list of Initialization Set references. |
|
inline |
Remove an Initialization Set reference from the list of Initialization Set references (by iterator)
it | An iterator pointing to an entry in the list of Initialization Set references. |
|
inline |
Remove an Initialization Set reference from the list of Initialization Set references (by value)
ref | The Initialization Set reference value to remove from the list of Initialization Set references. |
|
inline |
Get the list of Initialization Set references from the @initializationSetRefs attribute value
|
inline |
Set the list of Initialization Set references (copy)
Set the list of Initialization Set references to a copy of the list in initialization_set_refs
. This replaces the current list.
initialization_set_refs | A list of Initialization Set references to copy into this list of Initialization Set references. |
|
inline |
Set the list of Initialization Set references (move)
Replace the list of Initialization Set references with the list from initialization_set_refs
.
initialization_set_refs | A list of Initialization Set references to move into this list of Initialization Set references. |
|
inline |
Get an iterator pointing to the start of the Initialization Set references list
|
inline |
Get an iterator pointing to the start of the Initialization Set references list
|
inline |
Check if the Initialization Set reference list contains a given reference value
ref | The reference value to check. |
true
if the Initialization Set reference list contains the value of ref
, otherwise false
.
|
inline |
Get an iterator pointing to the end of the Initialization Set references list
|
inline |
Get an iterator pointing to the end of the Initialization Set references list
|
inline |
Get the optional @lang attribute value
|
inline |
Unset the @lang attribute value
|
inline |
Set the @lang attribute value (optional value copy)
Copy the optional lang
value as the setting for the @lang attribute.
lang | The optional language identifier to set the @lang attribute to. |
|
inline |
Set the @lang attribute value (copy)
Copies the lang
value into the @lang attribute.
lang | The language identifier to set the @lang attribute to. |
|
inline |
Set the @lang attribute value (optional value move)
Move the optional lang
value as the setting for the @lang attribute.
lang | The optional language identifier to set the @lang attribute to. |
|
inline |
Set the @lang attribute value (move)
Move the lang
value into the @lang attribute.
lang | The language identifier to set the @lang attribute to. |
|
inline |
Get the optional @maxBandwidth attribute value
|
inline |
Unset the @maxBandwidth attribute value
|
inline |
Set the @maxBandwidth attribute value (optional value copy)
Copy the optional max_bandwidth
into the value of the @maxBandwidth attribute.
max_bandwidth | The optional maximum bandwidth to copy into the @maxBandwidth attribute. |
|
inline |
Set the @maxBandwidth attribute value (optional value move)
Move the optional max_bandwidth
into the @maxBandwidth attribute.
max_bandwidth | The optional maximum bandwidth to move into the @maxBandwidth attribute. |
|
inline |
Set the @maxBandwidth attribute value
max_bandwidth | The maximum bandwidth value to set for the @maxBandwidth attribute. |
|
inline |
Get the optional @maxFrameRate attribute value
|
inline |
Set the @maxFrameRate attribute value (copy)
Copy the max_frame_rate
value into the @maxFrameRate attribute.
max_frame_rate | The maximum video frame rate to copy into the @maxFrameRate attribute. |
|
inline |
Unset the @maxFrameRate attribute value
|
inline |
Set the @maxFrameRate attribute value (optional value copy)
Copy the optional max_frame_rate
into the value of the @maxFrameRate attribute.
max_frame_rate | The optional maximum video frame rate to copy into the @maxFrameRate attribute. |
|
inline |
Set the @maxFrameRate attribute value (move)
Move the max_frame_rate
value into the @maxFrameRate attribute.
max_frame_rate | The maximum video frame rate to move into the @maxFrameRate attribute. |
|
inline |
Set the @maxFrameRate attribute value (optional value move)
Move the optional max_frame_rate
into the @maxFrameRate attribute.
max_frame_rate | The optional maximum video frame rate to move into the @maxFrameRate attribute. |
|
inline |
Get the optional @maxHeight attribute value
|
inline |
Unset the @maxHeight attribute value
|
inline |
Set the @maxHeight attribute value (optional value copy)
Copy the optional max_height
into the value of the @maxHeight attribute.
max_height | The optional maximum video height to copy into the @maxHeight attribute. |
|
inline |
Set the @maxHeight attribute value (optional value move)
Move the optional max_height
into the @maxHeight attribute.
max_height | The optional maximum video height to move into the @maxHeight attribute. |
|
inline |
Set the @maxHeight attribute value
max_height | The maximum video height value to set for the @maxHeight attribute. |
|
inline |
Get the optional @maxWidth attribute value
|
inline |
Unset the @maxWidth attribute value
|
inline |
Set the @maxWidth attribute value (optional value copy)
Copy the optional max_width
into the value of the @maxWidth attribute.
max_width | The optional maximum video width to copy into the @maxWidth attribute. |
|
inline |
Set the @maxWidth attribute value (optional value move)
Move the optional max_width
into the @maxWidth attribute.
max_width | The optional maximum video width to move into the @maxWidth attribute. |
|
inline |
Set the @maxWidth attribute value
max_width | The maximum video width value to set for the @maxWidth attribute. |
|
inline |
Get the optional @minBandwidth attribute value
|
inline |
Unset the @minBandwidth attribute value
|
inline |
Set the @minBandwidth attribute value (optional value copy)
Copy the optional min_bandwidth
into the value of the @minBandwidth attribute.
min_bandwidth | The optional minimum bandwidth to copy into the @minBandwidth attribute. |
|
inline |
Set the @minBandwidth attribute value (optional value move)
Move the optional min_bandwidth
into the @minBandwidth attribute.
min_bandwidth | The optional minimum bandwidth to move into the @minBandwidth attribute. |
|
inline |
Set the @minBandwidth attribute value
min_bandwidth | The minimum bandwidth value to set for the @minBandwidth attribute. |
|
inline |
Get the optional @minFrameRate attribute value
|
inline |
Set the @minFrameRate attribute value (copy)
Copy the min_frame_rate
value into the @minFrameRate attribute.
min_frame_rate | The minimum video frame rate to copy into the @minFrameRate attribute. |
|
inline |
Unset the @minFrameRate attribute value
|
inline |
Set the @minFrameRate attribute value (optional value copy)
Copy the optional min_frame_rate
into the value of the @minFrameRate attribute.
min_frame_rate | The optional minimum video frame rate to copy into the @minFrameRate attribute. |
|
inline |
Set the @minFrameRate attribute value (move)
Move the min_frame_rate
value into the @minFrameRate attribute.
min_frame_rate | The minimum video frame rate to move into the @minFrameRate attribute. |
|
inline |
Set the @minFrameRate attribute value (optional value move)
Move the optional min_frame_rate
into the @minFrameRate attribute.
min_frame_rate | The optional minimum video frame rate to move into the @minFrameRate attribute. |
|
inline |
Get the optional @minHeight attribute value
|
inline |
Unset the @minHeight attribute value
|
inline |
Set the @minHeight attribute value (optional value copy)
Copy the optional min_height
into the value of the @minHeight attribute.
min_height | The optional minimum video height to copy into the @minHeight attribute. |
|
inline |
Set the @minHeight attribute value (optional value move)
Move the optional min_height
into the @minHeight attribute.
min_height | The optional minimum video height to move into the @minHeight attribute. |
|
inline |
Set the @minHeight attribute value
min_height | The minimum video height value to set for the @minHeight attribute. |
|
inline |
Get the optional @minWidth attribute value
|
inline |
Unset the @minWidth attribute value
|
inline |
Set the @minWidth attribute value (optional value copy)
Copy the optional min_width
into the value of the @minWidth attribute.
min_width | The optional minimum video width to copy into the @minWidth attribute. |
|
inline |
Set the @minWidth attribute value (optional value move)
Move the optional min_width
into the @minWidth attribute.
min_width | The optional minimum video width to move into the @minWidth attribute. |
|
inline |
Set the @minWidth attribute value
min_width | The minimum video width value to set for the @minWidth attribute. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::operator= | ( | AdaptationSet && | other | ) |
Move operator
Transfers the resources from other
into this AdaptationSet object.
other | The AdaptationSet object to move. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::operator= | ( | const AdaptationSet & | other | ) |
Copy operator
Copies the values from other
into this AdaptationSet object.
other | The AdaptationSet object to copy. |
bool com::bbc::libmpdpp::AdaptationSet::operator== | ( | const AdaptationSet & | other | ) | const |
Equality operator
Compare the value of this AdaptationSet to other
.
other | The AdaptationSet object to compare this object to. |
true
if this AdaptationSet object contains the same values as other
, otherwise false
.
|
inline |
Get the optional @par attribute value
|
inline |
Set the @par attribute value (copy)
Copy the Ratio par
as the value of the @par attribute.
par | The picture aspect ratio to copy into the @par attribute. |
|
inline |
Unset the @par attribute value
|
inline |
Set the @par attribute value (optional value copy)
Copy the optional Ratio par
into the value of the @par attribute.
par | The optional picture aspect ratio to copy into the @par attribute. |
|
inline |
Set the @par attribute value (move)
Move the Ratio par
into the value of the @par attribute.
par | The picture aspect ratio to move into the @par attribute. |
|
inline |
Set the @par attribute value (optional value move)
Move the optional Ratio par
into the value of the @par attribute.
par | The optional picture aspect ratio to move into the @par attribute. |
const Descriptor & com::bbc::libmpdpp::AdaptationSet::rating | ( | std::list< Descriptor >::size_type | idx | ) | const |
Get an Rating element
Gets the Rating Descriptor element at index idx
in the Rating elements list.
idx | The index of the element to fetch. |
idx
. std::out_of_range | If idx is beyond the end of the list. |
|
inline |
Get the list of Rating child elements
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::ratingsAdd | ( | const Descriptor & | rating | ) |
Add a Descriptor to the Rating elements
rating | The Rating Descriptor to add to the list of Rating elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::ratingsAdd | ( | Descriptor && | rating | ) |
Add a Descriptor to the Rating elements
rating | The Rating Descriptor to add to the list of Rating elements. |
|
inline |
Get the start of Rating elements list iterator
|
inline |
Get the start of Rating elements list iterator
bool com::bbc::libmpdpp::AdaptationSet::ratingsContains | ( | const Descriptor & | descriptor | ) | const |
Check if a Rating Descriptor is in the list
descriptor | The Rating Descriptor to look for. |
true
if a Descriptor with the same value as descriptor
is found, otherwise false
.
|
inline |
Get the end of Rating elements list iterator
|
inline |
Get the end of Rating elements list iterator
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::ratingsRemove | ( | const Descriptor & | rating | ) |
Remove a Rating Descriptor from the Rating elements
If the Descriptor rating
exists in the Rating elements, remove it from the list.
rating | The Rating Descriptor to remove from the list of Rating elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::ratingsRemove | ( | const std::list< Descriptor >::const_iterator & | it | ) |
Remove a Rating Descriptor from the Rating elements
Removes the Rating Descriptor, referenced by the iterator it
, from the list of Rating elements.
it | An iterator referencing an entry in the Rating elements list. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::ratingsRemove | ( | const std::list< Descriptor >::iterator & | it | ) |
Remove a Rating Descriptor from the Rating elements
Removes the Rating Descriptor, referenced by the iterator it
, from the list of Rating elements.
it | An iterator referencing an entry in the Rating elements list. |
const Representation & com::bbc::libmpdpp::AdaptationSet::representation | ( | std::list< Representation >::size_type | idx | ) | const |
Get an Representation element
Gets the Representation element at index idx
in the Representation elements list.
idx | The index of the element to fetch. |
idx
. std::out_of_range | If idx is beyond the end of the list. |
|
inline |
Get the list of Representation child elements
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::representationsAdd | ( | const Representation & | representation | ) |
Add a Representation to the Representation elements
representation | The Representation to add to the list of Representation elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::representationsAdd | ( | Representation && | representation | ) |
Add a Representation to the Representation elements
representation | The Representation to add to the list of Representation elements. |
|
inline |
Get the start of Representation elements list iterator
|
inline |
Get the start of Representation elements list iterator
bool com::bbc::libmpdpp::AdaptationSet::representationsContains | ( | const Representation & | representation | ) | const |
Check if a Representation is in the list
representation | The Representation to look for. |
true
if a Representation with the same value as representation
is found, otherwise false
.
|
inline |
Get the end of Representation elements list iterator
|
inline |
Get the end of Representation elements list iterator
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::representationsRemove | ( | const Representation & | representation | ) |
Remove a Representation from the Representation elements
If the Representation representation
exists in the Representation elements, remove it from the list.
representation | The Representation to remove from the list of Representation elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::representationsRemove | ( | const std::list< Representation >::const_iterator & | it | ) |
Remove a Representation from the Representation elements
Removes the Representation, referenced by the iterator it
, from the list of Representation elements.
it | An iterator referencing an entry in the Representation elements list. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::representationsRemove | ( | const std::list< Representation >::iterator & | it | ) |
Remove a Representation from the Representation elements
Removes the Representation, referenced by the iterator it
, from the list of Representation elements.
it | An iterator referencing an entry in the Representation elements list. |
const Descriptor & com::bbc::libmpdpp::AdaptationSet::role | ( | std::list< Descriptor >::size_type | idx | ) | const |
Get an Role element
Gets the Role Descriptor element at index idx
in the Role elements list.
idx | The index of the element to fetch. |
idx
. std::out_of_range | If idx is beyond the end of the list. |
|
inline |
Get the list of Role child elements
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::rolesAdd | ( | const Descriptor & | role | ) |
Add a Descriptor to the Role elements
role | The Role Descriptor to add to the list of Role elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::rolesAdd | ( | Descriptor && | role | ) |
Add a Descriptor to the Role elements
role | The Role Descriptor to add to the list of Role elements. |
|
inline |
Get the start of Role elements list iterator
|
inline |
Get the start of Role elements list iterator
bool com::bbc::libmpdpp::AdaptationSet::rolesContains | ( | const Descriptor & | descriptor | ) | const |
Check if a Role Descriptor is in the list
descriptor | The Role Descriptor to look for. |
true
if a Descriptor with the same value as descriptor
is found, otherwise false
.
|
inline |
Get the end of Role elements list iterator
|
inline |
Get the end of Role elements list iterator
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::rolesRemove | ( | const Descriptor & | role | ) |
Remove a Role Descriptor from the Role elements
If the Descriptor role
exists in the Role elements, remove it from the list.
role | The Role Descriptor to remove from the list of Role elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::rolesRemove | ( | const std::list< Descriptor >::const_iterator & | it | ) |
Remove a Role Descriptor from the Role elements
Removes the Role Descriptor, referenced by the iterator it
, from the list of Role elements.
it | An iterator referencing an entry in the Role elements list. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::rolesRemove | ( | const std::list< Descriptor >::iterator & | it | ) |
Remove a Role Descriptor from the Role elements
Removes the Role Descriptor, referenced by the iterator it
, from the list of Role elements.
it | An iterator referencing an entry in the Role elements list. |
|
inline |
Get the @segmentAlignment attribute value
This indicates that all segments in child Representations align without overlap.
|
inline |
Set the @segmentAlignment attribute value
This indicates that all segments in child Representation entries align without overlap. The default for this attribute is false, therefore setting this value to false will omit it from any XML output.
segment_alignment | The value to set the segment alignment flag (@segmentAlignment attribute) to. |
|
inline |
Get the optional SegmentBase
|
inline |
Set the SegmentBase
Copy the SegmentBase from seg_base
as the SegmentBase for this AdaptationSet.
seg_base | The SegmentBase to set on this AdaptationSet. |
|
inline |
Unset the optional SegmentBase
Removes the SegmentBase element from this AdaptationSet.
|
inline |
Set the SegmentBase
Set the SegmentBase of this AdaptationSet to seg_base
.
seg_base | The SegmentBase to set in this AdaptationSet. |
|
inline |
Set the SegmentBase
Move the value of SegmentBase seg_base
as the SegmentBase for this AdaptationSet.
seg_base | The SegmentBase to set on this AdaptationSet. |
|
inline |
Set the SegmentBase
Set the SegmentBase of this AdaptationSet to seg_base
.
seg_base | The SegmentBase to set in this AdaptationSet. |
|
inline |
Get the optional SegmentList
|
inline |
Set the SegmentList
Copy the SegmentList from seg_list
as the SegmentList for this AdaptationSet.
seg_list | The SegmentList to set on this AdaptationSet. |
|
inline |
Unset the optional SegmentList
Removes the SegmentList element from this AdaptationSet.
|
inline |
Set the SegmentList
Set the SegmentList of this AdaptationSet to seg_list
.
seg_list | The SegmentList to set in this AdaptationSet. |
|
inline |
Set the SegmentList
Move the value of SegmentList seg_list
as the SegmentList for this AdaptationSet.
seg_list | The SegmentList to set on this AdaptationSet. |
|
inline |
Set the SegmentList
Set the SegmentList of this AdaptationSet to seg_list
.
seg_list | The SegmentList to set in this AdaptationSet. |
|
inline |
Get the optional SegmentTemplate
|
inline |
Set the SegmentTemplate
Copy the SegmentTemplate from seg_template
as the SegmentTemplate for this AdaptationSet.
seg_template | The SegmentTemplate to set on this AdaptationSet. |
|
inline |
Unset the optional SegmentTemplate
Removes the SegmentTemplate element from this AdaptationSet.
|
inline |
Set the SegmentTemplate
Set the SegmentTemplate of this AdaptationSet to seg_template
.
seg_template | The SegmentTemplate to set in this AdaptationSet. |
|
inline |
Set the SegmentTemplate
Move the value of SegmentTemplate seg_template
as the SegmentTemplate for this AdaptationSet.
seg_template | The SegmentTemplate to set on this AdaptationSet. |
|
inline |
Set the SegmentTemplate
Set the SegmentTemplate of this AdaptationSet to seg_template
.
seg_template | The SegmentTemplate to set in this AdaptationSet. |
void com::bbc::libmpdpp::AdaptationSet::selectAllRepresentations | ( | ) |
Mark all Representations as selected
This will mark all child Represtation objects as selected for this AdaptationSet.
std::list< SegmentAvailability > com::bbc::libmpdpp::AdaptationSet::selectedInitializationSegments | ( | ) | const |
Get the list of initialization segment availability metadata for all selected Representation objects
This obtains a list of initialization segment availability metadata, for all currently selected Representation objects. The returned list will be empty if there are no initialization segments for the selected Representations.
|
inline |
Get the set of selected Representation objects
std::list< SegmentAvailability > com::bbc::libmpdpp::AdaptationSet::selectedSegmentAvailability | ( | const time_type & | query_time | ) | const |
Get the list of media segment availability metadata for all selected Representation objects
This obtains a list of media segment availability metadata, for all currently selected Representation objects, for media segments available on or after query_time
. The returned list will be empty if there are no media segments on or after query_time
available in the parent Period associated with this AdaptationSet, i.e. the query_time
is after the end of the Period or after the MPD/@pvailabilityEndTime.
query_time | The time to find media segments at or after from the selected Representation objects. |
void com::bbc::libmpdpp::AdaptationSet::selectRepresentation | ( | const Representation & | rep, |
bool | deselect_others = false ) |
Mark a Representation as selected
rep | The Representation to add to the list of selected Representation objects. |
deselect_others | true if other representations already selected should be deselected. |
void com::bbc::libmpdpp::AdaptationSet::selectRepresentation | ( | const std::list< Representation >::const_iterator & | rep_it, |
bool | deselect_others = false ) |
Mark a Representation as selected
rep_it | The iterator for the Representation to add to the list of selected Representation objects. |
deselect_others | true if other representations, that are already selected, should be deselected. |
void com::bbc::libmpdpp::AdaptationSet::selectRepresentation | ( | const std::list< Representation >::iterator & | rep_it, |
bool | deselect_others = false ) |
Mark a Representation as selected
rep_it | The iterator for the Representation to add to the list of selected Representation objects. |
deselect_others | true if other representations, that are already selected, should be deselected. |
|
inline |
Get the @subsegmentAlignment attribute value
This indicates that all subsegments in child Representations align without overlap.
|
inline |
Set the @subsegmentAlignment attribute value
This indicates that all subsegments in child Representation entries align without overlap. The default for this attribute is false, therefore setting this value to false will omit it from any XML output.
subsegment_alignment | The value to set the segment alignment flag (@subsegmentAlignment attribute) to. |
|
inline |
Get the @subsegmentStartsWithSAP attribute value
|
inline |
Set the @subsegmentStartsWithSAP attribute value (copy)
The default for this value is 0, therefore setting this to 0 will cause it to be omitted from any XML output.
subsegment_starts_with_sap | The subsegment start with SAP value to copy to the @subsegmentStartsWithSAP attribute. |
|
inline |
Set the @subsegmentStartsWithSAP attribute value (move)
The default for this value is 0, therefore setting this to 0 will cause it to be omitted from any XML output.
subsegment_starts_with_sap | The subsegment start with SAP value to move to the @subsegmentStartsWithSAP attribute. |
const Descriptor & com::bbc::libmpdpp::AdaptationSet::viewpoint | ( | std::list< Descriptor >::size_type | idx | ) | const |
Get an Viewpoint element
Gets the Viewpoint Descriptor element at index idx
in the Viewpoint elements list.
idx | The index of the element to fetch. |
idx
. std::out_of_range | If idx is beyond the end of the list. |
|
inline |
Get the list of Viewpoint child elements
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::viewpointsAdd | ( | const Descriptor & | viewpoint | ) |
Add a Descriptor to the Viewpoint elements
viewpoint | The Viewpoint Descriptor to add to the list of Viewpoint elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::viewpointsAdd | ( | Descriptor && | viewpoint | ) |
Add a Descriptor to the Viewpoint elements
viewpoint | The Viewpoint Descriptor to add to the list of Viewpoint elements. |
|
inline |
Get the start of Viewpoint elements list iterator
|
inline |
Get the start of Viewpoint elements list iterator
bool com::bbc::libmpdpp::AdaptationSet::viewpointsContains | ( | const Descriptor & | descriptor | ) | const |
Check if a Viewpoint Descriptor is in the list
descriptor | The Viewpoint Descriptor to look for. |
true
if a Descriptor with the same value as descriptor
is found, otherwise false
.
|
inline |
Get the end of Viewpoint elements list iterator
|
inline |
Get the end of Viewpoint elements list iterator
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::viewpointsRemove | ( | const Descriptor & | viewpoint | ) |
Remove a Viewpoint Descriptor from the Viewpoint elements
If the Descriptor viewpoint
exists in the Viewpoint elements, remove it from the list.
viewpoint | The Viewpoint Descriptor to remove from the list of Viewpoint elements. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::viewpointsRemove | ( | const std::list< Descriptor >::const_iterator & | it | ) |
Remove a Viewpoint Descriptor from the Viewpoint elements
Removes the Viewpoint Descriptor, referenced by the iterator it
, from the list of Viewpoint elements.
it | An iterator referencing an entry in the Viewpoint elements list. |
AdaptationSet & com::bbc::libmpdpp::AdaptationSet::viewpointsRemove | ( | const std::list< Descriptor >::iterator & | it | ) |
Remove a Viewpoint Descriptor from the Viewpoint elements
Removes the Viewpoint Descriptor, referenced by the iterator it
, from the list of Viewpoint elements.
it | An iterator referencing an entry in the Viewpoint elements list. |