shaka-packager/docs/dd/db9/classshaka_1_1xml_1_1Repres...

240 lines
19 KiB
HTML

<!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::RepresentationBaseXmlNode 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="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html">RepresentationBaseXmlNode</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="../../d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::xml::RepresentationBaseXmlNode Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<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::RepresentationBaseXmlNode:</div>
<div class="dyncontent">
<div class="center">
<img src="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.png" usemap="#shaka::xml::RepresentationBaseXmlNode_map" alt=""/>
<map id="shaka::xml::RepresentationBaseXmlNode_map" name="shaka::xml::RepresentationBaseXmlNode_map">
<area href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html" alt="shaka::xml::XmlNode" shape="rect" coords="124,0,362,24"/>
<area href="../../d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html" title="AdaptationSetType specified in MPD. " alt="shaka::xml::AdaptationSetXmlNode" shape="rect" coords="0,112,238,136"/>
<area href="../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html" title="RepresentationType in MPD. " alt="shaka::xml::RepresentationXmlNode" shape="rect" coords="248,112,486,136"/>
</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:ae5315d28398d004403b5da1ddd984a7f"><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"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58965505799f01c99768823caeb66a6b"><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"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebcc18275733668d46622a7ac9ceb2e8"><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#aebcc18275733668d46622a7ac9ceb2e8">AddEssentialProperty</a> (const std::string &amp;scheme_id_uri, const std::string &amp;value)</td></tr>
<tr class="separator:aebcc18275733668d46622a7ac9ceb2e8"><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="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a1ebaeca213211f88206a946a5a201a5a"><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"><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>This corresponds to RepresentationBaseType in MPD. RepresentationBaseType is not a concrete element type so this should not get instantiated on its own. <a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html">AdaptationSet</a> and <a class="el" href="../../de/d52/classshaka_1_1Representation.html">Representation</a> are subtypes of this. </p>
<p>Definition at line <a class="el" href="../../dd/de7/xml__node_8h_source.html#l00097">97</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="aebcc18275733668d46622a7ac9ceb2e8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void shaka::xml::RepresentationBaseXmlNode::AddEssentialProperty </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#l00178">178</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
</div>
</div>
<a class="anchor" id="a58965505799f01c99768823caeb66a6b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void shaka::xml::RepresentationBaseXmlNode::AddSupplementalProperty </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#l00169">169</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 Mon Jul 17 2017 20:19:43 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>