#include <libmpd++/SegmentTemplate.hh>
SegmentTemplate::Variables class
Holds variables used in applying SegmentTemplate attributes to create formatted URLs.
◆ duration_type
◆ Variables() [1/3]
com::bbc::libmpdpp::SegmentTemplate::Variables::Variables |
( |
const std::optional< std::string > & | rep_id = std::nullopt, |
|
|
const std::optional< unsigned long > & | number = std::nullopt, |
|
|
const std::optional< unsigned int > & | bandwidth = std::nullopt, |
|
|
const std::optional< unsigned long > & | time = std::nullopt, |
|
|
const std::optional< unsigned long > & | sub_number = std::nullopt ) |
|
inline |
◆ Variables() [2/3]
com::bbc::libmpdpp::SegmentTemplate::Variables::Variables |
( |
const Variables & | other | ) |
|
|
inline |
◆ Variables() [3/3]
com::bbc::libmpdpp::SegmentTemplate::Variables::Variables |
( |
Variables && | other | ) |
|
|
inline |
◆ ~Variables()
virtual com::bbc::libmpdpp::SegmentTemplate::Variables::~Variables |
( |
| ) |
|
|
inlinevirtual |
◆ bandwidth() [1/4]
std::optional< unsigned int > & com::bbc::libmpdpp::SegmentTemplate::Variables::bandwidth |
( |
| ) |
|
|
inline |
◆ bandwidth() [2/4]
const std::optional< unsigned int > & com::bbc::libmpdpp::SegmentTemplate::Variables::bandwidth |
( |
| ) |
const |
|
inline |
◆ bandwidth() [3/4]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::bandwidth |
( |
const std::nullopt_t & | | ) |
|
|
inline |
◆ bandwidth() [4/4]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::bandwidth |
( |
unsigned int | val | ) |
|
|
inline |
◆ format()
std::string com::bbc::libmpdpp::SegmentTemplate::Variables::format |
( |
const std::string & | format, |
|
|
const std::optional< unsigned int > & | start_number = std::nullopt ) const |
◆ number() [1/4]
std::optional< unsigned long > & com::bbc::libmpdpp::SegmentTemplate::Variables::number |
( |
| ) |
|
|
inline |
◆ number() [2/4]
const std::optional< unsigned long > & com::bbc::libmpdpp::SegmentTemplate::Variables::number |
( |
| ) |
const |
|
inline |
◆ number() [3/4]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::number |
( |
const std::nullopt_t & | | ) |
|
|
inline |
◆ number() [4/4]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::number |
( |
unsigned long | val | ) |
|
|
inline |
◆ operator=() [1/2]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::operator= |
( |
const Variables & | other | ) |
|
|
inline |
◆ operator=() [2/2]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::operator= |
( |
Variables && | other | ) |
|
|
inline |
◆ representationId() [1/5]
std::optional< std::string > & com::bbc::libmpdpp::SegmentTemplate::Variables::representationId |
( |
| ) |
|
|
inline |
◆ representationId() [2/5]
const std::optional< std::string > & com::bbc::libmpdpp::SegmentTemplate::Variables::representationId |
( |
| ) |
const |
|
inline |
◆ representationId() [3/5]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::representationId |
( |
const std::nullopt_t & | | ) |
|
|
inline |
◆ representationId() [4/5]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::representationId |
( |
const std::string & | val | ) |
|
|
inline |
◆ representationId() [5/5]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::representationId |
( |
std::string && | val | ) |
|
|
inline |
◆ subNumber() [1/4]
std::optional< unsigned long > & com::bbc::libmpdpp::SegmentTemplate::Variables::subNumber |
( |
| ) |
|
|
inline |
◆ subNumber() [2/4]
const std::optional< unsigned long > & com::bbc::libmpdpp::SegmentTemplate::Variables::subNumber |
( |
| ) |
const |
|
inline |
◆ subNumber() [3/4]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::subNumber |
( |
const std::nullopt_t & | | ) |
|
|
inline |
◆ subNumber() [4/4]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::subNumber |
( |
unsigned long | val | ) |
|
|
inline |
◆ time() [1/4]
std::optional< unsigned long > & com::bbc::libmpdpp::SegmentTemplate::Variables::time |
( |
| ) |
|
|
inline |
◆ time() [2/4]
const std::optional< unsigned long > & com::bbc::libmpdpp::SegmentTemplate::Variables::time |
( |
| ) |
const |
|
inline |
◆ time() [3/4]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::time |
( |
const std::nullopt_t & | | ) |
|
|
inline |
◆ time() [4/4]
Variables & com::bbc::libmpdpp::SegmentTemplate::Variables::time |
( |
unsigned long | val | ) |
|
|
inline |
◆ timeAsDurationType()
duration_type com::bbc::libmpdpp::SegmentTemplate::Variables::timeAsDurationType |
( |
unsigned int | timescale | ) |
const |
|
inline |
The documentation for this class was generated from the following file: