#include <libmpd++/Ratio.hh>
Public Types | |
using | size_type = size_t |
Public Member Functions | |
Ratio () | |
Ratio (const std::string &ratio_str) | |
Ratio (size_type numerator, size_type denominator) | |
virtual | ~Ratio () |
bool | operator== (const Ratio &other) const |
operator std::string () const | |
size_type | numerator () const |
Ratio & | numerator (size_type num) |
size_type | denominator () const |
Ratio & | denominator (size_type den) |
Ratio class
Container for attribute values matching DASH MPD schema RatioType as found in ISO 23009-1:2022 Clause 5.3.3.3.
using com::bbc::libmpdpp::Ratio::size_type = size_t |
|
inline |
com::bbc::libmpdpp::Ratio::Ratio | ( | const std::string & | ratio_str | ) |
|
inlinevirtual |
|
inline |
|
inline |
com::bbc::libmpdpp::Ratio::operator std::string | ( | ) | const |
bool com::bbc::libmpdpp::Ratio::operator== | ( | const Ratio & | other | ) | const |