1#ifndef _BBC_PARSE_DASH_MPD_FRAME_RATE_HH_
2#define _BBC_PARSE_DASH_MPD_FRAME_RATE_HH_
80 : m_numerator(other.m_numerator)
81 , m_denominator(other.m_denominator)
91 : m_numerator(other.m_numerator)
92 , m_denominator(other.m_denominator)
107 m_numerator = other.m_numerator;
108 m_denominator = other.m_denominator;
120 m_numerator = other.m_numerator;
121 m_denominator = other.m_denominator;
133 return m_numerator == other.m_numerator && m_denominator == other.m_denominator;
151 operator std::string()
const;
186 void setXMLElement(xmlpp::Element &elem)
const;
192 void convertString(
const std::string &frame_rate_str);
194 size_type m_numerator;
195 size_type m_denominator;
AdaptationSet class.
Definition AdaptationSet.hh:60
Definition FrameRate.hh:38
FrameRate(const FrameRate &other)
Definition FrameRate.hh:79
FrameRate()
Definition FrameRate.hh:46
bool operator==(const FrameRate &other) const
Definition FrameRate.hh:132
FrameRate & operator=(const FrameRate &other)
Definition FrameRate.hh:106
size_type denominator() const
Definition FrameRate.hh:170
FrameRate(const std::string &frame_rate_str)
FrameRate(FrameRate &&other)
Definition FrameRate.hh:90
FrameRate & denominator(size_type den)
Definition FrameRate.hh:177
virtual ~FrameRate()
Definition FrameRate.hh:97
FrameRate(size_type numerator, size_type denominator=1)
Definition FrameRate.hh:68
bool operator!=(const FrameRate &other) const
Definition FrameRate.hh:143
size_type numerator() const
Definition FrameRate.hh:157
FrameRate & operator=(FrameRate &&other)
Definition FrameRate.hh:119
FrameRate & numerator(size_type num)
Definition FrameRate.hh:164
size_t size_type
Type used to hold numerators and denominators.
Definition FrameRate.hh:40
#define LIBMPDPP_NAMESPACE_END
Definition macros.hh:54
#define LIBMPDPP_PUBLIC_API
Used to mark something as part of the public API.
Definition macros.hh:21
#define LIBMPDPP_NAMESPACE_BEGIN
Definition macros.hh:50