428 lines
22 KiB
HTML
428 lines
22 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::XmlNode 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 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 List</span></a></li>
|
|
<li><a href="../../classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="../../hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="../../functions.html"><span>Class 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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </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/d31/classshaka_1_1xml_1_1XmlNode.html">XmlNode</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="../../dc/d40/classshaka_1_1xml_1_1XmlNode-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">shaka::xml::XmlNode Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="../../dd/de7/xml__node_8h_source.html">xml_node.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for shaka::xml::XmlNode:</div>
|
|
<div class="dyncontent">
|
|
<div class="center">
|
|
<img src="../../d1/d31/classshaka_1_1xml_1_1XmlNode.png" usemap="#shaka::xml::XmlNode_map" alt=""/>
|
|
<map id="shaka::xml::XmlNode_map" name="shaka::xml::XmlNode_map">
|
|
<area href="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html" alt="shaka::xml::RepresentationBaseXmlNode" shape="rect" coords="124,56,362,80"/>
|
|
<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:a52ffb838d25293eafbea9f05fb1c2d17"><td class="memItemLeft" align="right" valign="top"> </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"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5f8deed2a9bb707c40db24374b3b7fbd"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a5f8deed2a9bb707c40db24374b3b7fbd">AddChild</a> (scoped_xml_ptr< xmlNode > child)</td></tr>
|
|
<tr class="separator:a5f8deed2a9bb707c40db24374b3b7fbd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a31d77d822a66991f48b67bfad3fa86d0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31d77d822a66991f48b67bfad3fa86d0"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a31d77d822a66991f48b67bfad3fa86d0">AddElements</a> (const std::vector< <a class="el" href="../../de/da9/structshaka_1_1Element.html">Element</a> > &elements)</td></tr>
|
|
<tr class="memdesc:a31d77d822a66991f48b67bfad3fa86d0"><td class="mdescLeft"> </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"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afc83f9dbaedc8ba0fc9cc1153ac23329"><td class="memItemLeft" align="right" valign="top">void </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 &attribute)</td></tr>
|
|
<tr class="separator:afc83f9dbaedc8ba0fc9cc1153ac23329"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab15dbcc1a051218dc16f44584276ad20"><td class="memItemLeft" align="right" valign="top">void </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"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac4b6c261b14ffe83e9820b76b16af1ba"><td class="memItemLeft" align="right" valign="top">void </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"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7479055041708fb681957a838e7ecc1f"><td class="memItemLeft" align="right" valign="top">void </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"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a73d758186470e7dbcb4f4339eb53458c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a73d758186470e7dbcb4f4339eb53458c">SetContent</a> (const std::string &content)</td></tr>
|
|
<tr class="separator:a73d758186470e7dbcb4f4339eb53458c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0be0a3e9b041978e118d994c1f13e8fb"><td class="memItemLeft" align="right" valign="top">scoped_xml_ptr< xmlNode > </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"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae5cb2c3000ccbd53c0a1867db0b8a2d0"><td class="memItemLeft" align="right" valign="top">xmlNodePtr </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"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aac9765712087dcc47a0afef4bf7849ff"><td class="memItemLeft" align="right" valign="top">xmlNodePtr </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"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>These classes are wrapper classes for XML elements for generating MPD. None of the pointer parameters should be NULL. None of the methods are meant to be overridden. </p>
|
|
|
|
<p>Definition at line <a class="el" href="../../dd/de7/xml__node_8h_source.html#l00032">32</a> of file <a class="el" href="../../dd/de7/xml__node_8h_source.html">xml_node.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a52ffb838d25293eafbea9f05fb1c2d17"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">shaka::xml::XmlNode::XmlNode </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>name</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Make an XML element. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">name</td><td>is the name of the element, which should not be NULL. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00055">55</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a5f8deed2a9bb707c40db24374b3b7fbd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool shaka::xml::XmlNode::AddChild </td>
|
|
<td>(</td>
|
|
<td class="paramtype">scoped_xml_ptr< xmlNode > </td>
|
|
<td class="paramname"><em>child</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Add a child element to this element. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">child</td><td>is a xmlNode to add as a child for this element. Ownership of the child node is transferred. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00062">62</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="aac9765712087dcc47a0afef4bf7849ff"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xmlNodePtr shaka::xml::XmlNode::GetRawPtr </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>Raw pointer to the element. </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00148">148</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="a0be0a3e9b041978e118d994c1f13e8fb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">scoped_xml_ptr< xmlNode > shaka::xml::XmlNode::PassScopedPtr </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Transfer the ownership of the xmlNodePtr. After calling this method, the behavior of any methods, except the destructor, is undefined. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The resource of this object. </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00136">136</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="ae5cb2c3000ccbd53c0a1867db0b8a2d0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xmlNodePtr shaka::xml::XmlNode::Release </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Release the xmlNodePtr of this object. After calling this method, the behavior of any methods, except the destructor, is undefined. </p>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00142">142</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="a73d758186470e7dbcb4f4339eb53458c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void shaka::xml::XmlNode::SetContent </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>content</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set the contents of an XML element using a string. This cannot set child elements because <> will become < and This should be used to set the text for the element, e.g. setting a URL for <BaseURL> element. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">content</td><td>is a string containing the text-encoded child elements to be added to the element. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00131">131</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="ac4b6c261b14ffe83e9820b76b16af1ba"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void shaka::xml::XmlNode::SetFloatingPointAttribute </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>attribute_name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>number</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set a floating point number attribute. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">attribute_name</td><td>is the name of the attribute to set. </td></tr>
|
|
<tr><td class="paramname">number</td><td>is the value (rhs) of the attribute. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00119">119</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="a7479055041708fb681957a838e7ecc1f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void shaka::xml::XmlNode::SetId </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>id</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Sets 'id=<em>id'</em> attribute. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">id</td><td>is the ID for this element. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00127">127</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="ab15dbcc1a051218dc16f44584276ad20"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void shaka::xml::XmlNode::SetIntegerAttribute </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>attribute_name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_t </td>
|
|
<td class="paramname"><em>number</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Sets an integer attribute. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">attribute_name</td><td>The name (lhs) of the attribute. </td></tr>
|
|
<tr><td class="paramname">number</td><td>The value (rhs) of the attribute. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00111">111</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="afc83f9dbaedc8ba0fc9cc1153ac23329"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void shaka::xml::XmlNode::SetStringAttribute </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>attribute_name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>attribute</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set a string attribute. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">attribute_name</td><td>The name (lhs) of the attribute. </td></tr>
|
|
<tr><td class="paramname">attribute</td><td>The value (rhs) of the attribute. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00104">104</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 Fri Jan 6 2017 19:31:09 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.6
|
|
</small></address>
|
|
</body>
|
|
</html>
|