shaka-packager/docs/d1/de7/classshaka_1_1xml_1_1Adapta...

208 lines
18 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>DASH Media Packaging SDK: shaka::xml::AdaptationSetXmlNode Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">DASH Media Packaging SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
<li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="../../annotated.html"><span>Classes</span></a></li>
<li><a href="../../files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="../../search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="../../annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="../../classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="../../hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="../../functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../d8/daf/namespaceshaka.html">shaka</a></li><li class="navelem"><b>xml</b></li><li class="navelem"><a class="el" href="../../d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html">AdaptationSetXmlNode</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::xml::AdaptationSetXmlNode Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>AdaptationSetType specified in MPD.
<a href="../../d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="../../dd/de7/xml__node_8h_source.html">xml_node.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for shaka::xml::AdaptationSetXmlNode:</div>
<div class="dyncontent">
<div class="center">
<img src="../../d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.png" usemap="#shaka::xml::AdaptationSetXmlNode_map" alt=""/>
<map id="shaka::xml::AdaptationSetXmlNode_map" name="shaka::xml::AdaptationSetXmlNode_map">
<area href="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html" alt="shaka::xml::RepresentationBaseXmlNode" shape="rect" coords="0,56,238,80"/>
<area href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html" alt="shaka::xml::XmlNode" shape="rect" coords="0,0,238,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2718eede55bb89447a74ff802b95fdb1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html#a2718eede55bb89447a74ff802b95fdb1">AddRoleElement</a> (const std::string &amp;scheme_id_uri, const std::string &amp;value)</td></tr>
<tr class="separator:a2718eede55bb89447a74ff802b95fdb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html">shaka::xml::RepresentationBaseXmlNode</a></td></tr>
<tr class="memitem:ae5315d28398d004403b5da1ddd984a7f inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae5315d28398d004403b5da1ddd984a7f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>AddContentProtectionElements</b> (const std::list&lt; <a class="el" href="../../da/d43/structshaka_1_1ContentProtectionElement.html">ContentProtectionElement</a> &gt; &amp;content_protection_elements)</td></tr>
<tr class="separator:ae5315d28398d004403b5da1ddd984a7f inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58965505799f01c99768823caeb66a6b inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html#a58965505799f01c99768823caeb66a6b">AddSupplementalProperty</a> (const std::string &amp;scheme_id_uri, const std::string &amp;value)</td></tr>
<tr class="separator:a58965505799f01c99768823caeb66a6b inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshaka_1_1xml_1_1XmlNode"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1xml_1_1XmlNode')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html">shaka::xml::XmlNode</a></td></tr>
<tr class="memitem:a52ffb838d25293eafbea9f05fb1c2d17 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a52ffb838d25293eafbea9f05fb1c2d17">XmlNode</a> (const char *name)</td></tr>
<tr class="separator:a52ffb838d25293eafbea9f05fb1c2d17 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f8deed2a9bb707c40db24374b3b7fbd inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a5f8deed2a9bb707c40db24374b3b7fbd">AddChild</a> (scoped_xml_ptr&lt; xmlNode &gt; child)</td></tr>
<tr class="separator:a5f8deed2a9bb707c40db24374b3b7fbd inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31d77d822a66991f48b67bfad3fa86d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31d77d822a66991f48b67bfad3fa86d0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a31d77d822a66991f48b67bfad3fa86d0">AddElements</a> (const std::vector&lt; <a class="el" href="../../de/da9/structshaka_1_1Element.html">Element</a> &gt; &amp;elements)</td></tr>
<tr class="memdesc:a31d77d822a66991f48b67bfad3fa86d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds Elements to this node using the <a class="el" href="../../de/da9/structshaka_1_1Element.html">Element</a> struct. <br/></td></tr>
<tr class="separator:a31d77d822a66991f48b67bfad3fa86d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc83f9dbaedc8ba0fc9cc1153ac23329 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#afc83f9dbaedc8ba0fc9cc1153ac23329">SetStringAttribute</a> (const char *attribute_name, const std::string &amp;attribute)</td></tr>
<tr class="separator:afc83f9dbaedc8ba0fc9cc1153ac23329 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab15dbcc1a051218dc16f44584276ad20 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ab15dbcc1a051218dc16f44584276ad20">SetIntegerAttribute</a> (const char *attribute_name, uint64_t number)</td></tr>
<tr class="separator:ab15dbcc1a051218dc16f44584276ad20 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4b6c261b14ffe83e9820b76b16af1ba inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ac4b6c261b14ffe83e9820b76b16af1ba">SetFloatingPointAttribute</a> (const char *attribute_name, double number)</td></tr>
<tr class="separator:ac4b6c261b14ffe83e9820b76b16af1ba inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7479055041708fb681957a838e7ecc1f inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a7479055041708fb681957a838e7ecc1f">SetId</a> (uint32_t id)</td></tr>
<tr class="separator:a7479055041708fb681957a838e7ecc1f inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d758186470e7dbcb4f4339eb53458c inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a73d758186470e7dbcb4f4339eb53458c">SetContent</a> (const std::string &amp;content)</td></tr>
<tr class="separator:a73d758186470e7dbcb4f4339eb53458c inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0be0a3e9b041978e118d994c1f13e8fb inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">scoped_xml_ptr&lt; xmlNode &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a0be0a3e9b041978e118d994c1f13e8fb">PassScopedPtr</a> ()</td></tr>
<tr class="separator:a0be0a3e9b041978e118d994c1f13e8fb inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5cb2c3000ccbd53c0a1867db0b8a2d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">xmlNodePtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ae5cb2c3000ccbd53c0a1867db0b8a2d0">Release</a> ()</td></tr>
<tr class="separator:ae5cb2c3000ccbd53c0a1867db0b8a2d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac9765712087dcc47a0afef4bf7849ff inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">xmlNodePtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#aac9765712087dcc47a0afef4bf7849ff">GetRawPtr</a> ()</td></tr>
<tr class="separator:aac9765712087dcc47a0afef4bf7849ff inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode')"><img src="../../closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html">shaka::xml::RepresentationBaseXmlNode</a></td></tr>
<tr class="memitem:a1ebaeca213211f88206a946a5a201a5a inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ebaeca213211f88206a946a5a201a5a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>RepresentationBaseXmlNode</b> (const char *name)</td></tr>
<tr class="separator:a1ebaeca213211f88206a946a5a201a5a inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>AdaptationSetType specified in MPD. </p>
<p>Definition at line <a class="el" href="../../dd/de7/xml__node_8h_source.html#l00119">119</a> of file <a class="el" href="../../dd/de7/xml__node_8h_source.html">xml_node.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a2718eede55bb89447a74ff802b95fdb1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void shaka::xml::AdaptationSetXmlNode::AddRoleElement </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>scheme_id_uri</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">scheme_id_uri</td><td>is content of the schemeIdUri attribute. </td></tr>
<tr><td class="paramname">value</td><td>is the content of value attribute. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00212">212</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>mpd/base/xml/<a class="el" href="../../dd/de7/xml__node_8h_source.html">xml_node.h</a></li>
<li>mpd/base/xml/<a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 15 2017 20:49:00 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>