Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Protected Member Functions | List of all members
shaka::xml::RepresentationBaseXmlNode Class Reference

#include <xml_node.h>

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

Public Member Functions

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)
 
scoped_xml_ptr< xmlNode > PassScopedPtr ()
 
xmlNodePtr Release ()
 
xmlNodePtr GetRawPtr ()
 

Protected Member Functions

 RepresentationBaseXmlNode (const char *name)
 

Detailed Description

This corresponds to RepresentationBaseType in MPD. RepresentationBaseType is not a concrete element type so this should not get instantiated on its own. AdaptationSet and Representation are subtypes of this.

Definition at line 97 of file xml_node.h.

Member Function Documentation

void shaka::xml::RepresentationBaseXmlNode::AddEssentialProperty ( 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 178 of file xml_node.cc.

void shaka::xml::RepresentationBaseXmlNode::AddSupplementalProperty ( 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 169 of file xml_node.cc.


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