Shaka Packager SDK
Public Member Functions | List of all members
shaka::xml::AdaptationSetXmlNode Class Reference

AdaptationSetType specified in MPD. More...

#include <xml_node.h>

Inheritance diagram for shaka::xml::AdaptationSetXmlNode:
shaka::xml::RepresentationBaseXmlNode shaka::xml::XmlNode

Public Member Functions

void AddAccessibilityElement (const std::string &scheme_id_uri, const std::string &value)
 
void AddRoleElement (const std::string &scheme_id_uri, const std::string &value)
 
- Public Member Functions inherited from shaka::xml::RepresentationBaseXmlNode
bool AddContentProtectionElements (const std::list< ContentProtectionElement > &content_protection_elements)
 
void AddSupplementalProperty (const std::string &scheme_id_uri, const std::string &value)
 
void AddEssentialProperty (const std::string &scheme_id_uri, const std::string &value)
 
- Public Member Functions inherited from shaka::xml::XmlNode
 XmlNode (const char *name)
 
bool AddChild (scoped_xml_ptr< xmlNode > child)
 
bool AddElements (const std::vector< Element > &elements)
 Adds Elements to this node using the Element struct.
 
void SetStringAttribute (const char *attribute_name, const std::string &attribute)
 
void SetIntegerAttribute (const char *attribute_name, uint64_t number)
 
void SetFloatingPointAttribute (const char *attribute_name, double number)
 
void SetId (uint32_t id)
 
void SetContent (const std::string &content)
 
std::set< std::string > ExtractReferencedNamespaces ()
 
scoped_xml_ptr< xmlNode > PassScopedPtr ()
 
xmlNodePtr Release ()
 
xmlNodePtr GetRawPtr ()
 

Additional Inherited Members

- Protected Member Functions inherited from shaka::xml::RepresentationBaseXmlNode
 RepresentationBaseXmlNode (const char *name)
 
bool AddDescriptor (const std::string &descriptor_name, const std::string &scheme_id_uri, const std::string &value)
 

Detailed Description

AdaptationSetType specified in MPD.

Definition at line 136 of file xml_node.h.

Member Function Documentation

◆ AddAccessibilityElement()

void shaka::xml::AdaptationSetXmlNode::AddAccessibilityElement ( const std::string &  scheme_id_uri,
const std::string &  value 
)
Parameters
scheme_id_uriis content of the schemeIdUri attribute.
valueis the content of value attribute.

Definition at line 294 of file xml_node.cc.

◆ AddRoleElement()

void shaka::xml::AdaptationSetXmlNode::AddRoleElement ( const std::string &  scheme_id_uri,
const std::string &  value 
)
Parameters
scheme_id_uriis content of the schemeIdUri attribute.
valueis the content of value attribute.

Definition at line 300 of file xml_node.cc.


The documentation for this class was generated from the following files: