1#ifndef _BBC_PARSE_DASH_MPD_CONTENT_PROTECTION_HH_
2#define _BBC_PARSE_DASH_MPD_CONTENT_PROTECTION_HH_
59 const std::optional<std::string> &
value = std::nullopt,
60 const std::optional<std::string> &
id = std::nullopt,
61 const std::optional<std::string> &
robustness = std::nullopt,
62 const std::optional<std::string> &ref_id = std::nullopt,
63 const std::optional<std::string> &
ref = std::nullopt);
65 const std::optional<std::string> &
value = std::nullopt,
66 const std::optional<std::string> &
id = std::nullopt,
67 const std::optional<std::string> &
robustness = std::nullopt,
68 const std::optional<std::string> &ref_id = std::nullopt,
69 const std::optional<std::string> &
ref = std::nullopt);
104 const std::optional<std::string> &
robustness()
const {
return m_robustness; };
112 bool hasRefId()
const {
return m_refId.has_value(); };
113 const std::optional<std::string> &
refId()
const {
return m_refId; };
121 bool hasRef()
const {
return m_ref.has_value(); };
122 const std::optional<std::string> &
ref()
const {
return m_ref; };
151 void setXMLElement(xmlpp::Element &element)
const;
155 std::optional<std::string> m_robustness;
156 std::optional<std::string> m_refId;
157 std::optional<std::string> m_ref;
Definition ContentProtection.hh:37
virtual ~ContentProtection()
Definition ContentProtection.hh:86
ContentProtection()=delete
ContentProtection(ContentProtection &&to_move)
bool hasRobustness() const
Definition ContentProtection.hh:103
ContentProtection & operator=(const ContentProtection &to_copy)
ContentProtection & refId(const std::optional< std::string > &val)
Definition ContentProtection.hh:117
bool hasRef() const
Definition ContentProtection.hh:121
ContentProtection & operator=(ContentProtection &&to_move)
const std::optional< std::string > & refId() const
Definition ContentProtection.hh:113
ContentProtection & robustness(const std::optional< std::string > &val)
Definition ContentProtection.hh:108
ContentProtection & robustness(const std::nullopt_t &)
Definition ContentProtection.hh:105
ContentProtection & refId(const std::string &val)
Definition ContentProtection.hh:115
ContentProtection & refId(std::string &&val)
Definition ContentProtection.hh:116
ContentProtection & robustness(std::optional< std::string > &&val)
Definition ContentProtection.hh:109
ContentProtection & ref(const std::nullopt_t &)
Definition ContentProtection.hh:123
ContentProtection & ref(const std::string &val)
Definition ContentProtection.hh:124
ContentProtection & ref(std::optional< std::string > &&val)
Definition ContentProtection.hh:127
ContentProtection(URI &&scheme_id, const std::optional< std::string > &value=std::nullopt, const std::optional< std::string > &id=std::nullopt, const std::optional< std::string > &robustness=std::nullopt, const std::optional< std::string > &ref_id=std::nullopt, const std::optional< std::string > &ref=std::nullopt)
ContentProtection(const ContentProtection &to_copy)
const std::optional< std::string > & robustness() const
Definition ContentProtection.hh:104
ContentProtection & robustness(const std::string &val)
Definition ContentProtection.hh:106
ContentProtection & ref(std::string &&val)
Definition ContentProtection.hh:125
bool operator==(const ContentProtection &other) const
Compares this ContentProtection with another for equality. This operator overload allows checking if ...
bool hasRefId() const
Definition ContentProtection.hh:112
ContentProtection(const URI &scheme_id, const std::optional< std::string > &value=std::nullopt, const std::optional< std::string > &id=std::nullopt, const std::optional< std::string > &robustness=std::nullopt, const std::optional< std::string > &ref_id=std::nullopt, const std::optional< std::string > &ref=std::nullopt)
ContentProtection & ref(const std::optional< std::string > &val)
Definition ContentProtection.hh:126
ContentProtection & robustness(std::string &&val)
Definition ContentProtection.hh:107
const std::optional< std::string > & ref() const
Definition ContentProtection.hh:122
ContentProtection & refId(const std::nullopt_t &)
Definition ContentProtection.hh:114
ContentProtection & refId(std::optional< std::string > &&val)
Definition ContentProtection.hh:118
const std::optional< std::string > & value() const
Definition Descriptor.hh:180
Definition RepresentationBase.hh:54
#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