Shaka Packager SDK
|
AdaptationSetType specified in MPD. More...
#include <xml_node.h>
Public Member Functions | |
bool | AddAccessibilityElement (const std::string &scheme_id_uri, const std::string &value) WARN_UNUSED_RESULT |
bool | AddRoleElement (const std::string &scheme_id_uri, const std::string &value) WARN_UNUSED_RESULT |
Public Member Functions inherited from shaka::xml::RepresentationBaseXmlNode | |
bool | AddContentProtectionElements (const std::list< ContentProtectionElement > &content_protection_elements) WARN_UNUSED_RESULT |
bool | AddSupplementalProperty (const std::string &scheme_id_uri, const std::string &value) WARN_UNUSED_RESULT |
bool | AddEssentialProperty (const std::string &scheme_id_uri, const std::string &value) WARN_UNUSED_RESULT |
Public Member Functions inherited from shaka::xml::XmlNode | |
XmlNode (const std::string &name) | |
XmlNode (XmlNode &&) | |
XmlNode & | operator= (XmlNode &&) |
bool | AddChild (XmlNode child) WARN_UNUSED_RESULT |
bool | AddElements (const std::vector< Element > &elements) WARN_UNUSED_RESULT |
Adds Elements to this node using the Element struct. | |
bool | SetStringAttribute (const std::string &attribute_name, const std::string &attribute) WARN_UNUSED_RESULT |
bool | SetIntegerAttribute (const std::string &attribute_name, uint64_t number) WARN_UNUSED_RESULT |
bool | SetFloatingPointAttribute (const std::string &attribute_name, double number) WARN_UNUSED_RESULT |
bool | SetId (uint32_t id) WARN_UNUSED_RESULT |
void | AddContent (const std::string &content) |
Similar to SetContent, but appends to the end of existing content. | |
void | SetContent (const std::string &content) |
std::set< std::string > | ExtractReferencedNamespaces () const |
std::string | ToString (const std::string &comment) const |
bool | GetAttribute (const std::string &name, std::string *value) const |
Additional Inherited Members | |
Protected Member Functions inherited from shaka::xml::RepresentationBaseXmlNode | |
RepresentationBaseXmlNode (const std::string &name) | |
bool | AddDescriptor (const std::string &descriptor_name, const std::string &scheme_id_uri, const std::string &value) WARN_UNUSED_RESULT |
AdaptationSetType specified in MPD.
Definition at line 162 of file xml_node.h.
bool shaka::xml::AdaptationSetXmlNode::AddAccessibilityElement | ( | const std::string & | scheme_id_uri, |
const std::string & | value | ||
) |
scheme_id_uri | is content of the schemeIdUri attribute. |
value | is the content of value attribute. |
Definition at line 323 of file xml_node.cc.
bool shaka::xml::AdaptationSetXmlNode::AddRoleElement | ( | const std::string & | scheme_id_uri, |
const std::string & | value | ||
) |
scheme_id_uri | is content of the schemeIdUri attribute. |
value | is the content of value attribute. |
Definition at line 329 of file xml_node.cc.