shaka-packager/docs/df/d60/classshaka_1_1MockMpdBuilde...

162 lines
14 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::MockMpdBuilder 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"><a class="el" href="../../df/d60/classshaka_1_1MockMpdBuilder.html">MockMpdBuilder</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../df/d6a/classshaka_1_1MockMpdBuilder-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::MockMpdBuilder Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for shaka::MockMpdBuilder:</div>
<div class="dyncontent">
<div class="center">
<img src="../../df/d60/classshaka_1_1MockMpdBuilder.png" usemap="#shaka::MockMpdBuilder_map" alt=""/>
<map id="shaka::MockMpdBuilder_map" name="shaka::MockMpdBuilder_map">
<area href="../../dc/da1/classshaka_1_1MpdBuilder.html" title="This class generates DASH MPDs (Media Presentation Descriptions). " alt="shaka::MpdBuilder" shape="rect" coords="0,0,147,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:a81d157e6a73f340f076af77463d0bf0c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81d157e6a73f340f076af77463d0bf0c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MockMpdBuilder</b> (MpdType <a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#adf8a48afbb29f1f1c54e4daaebb81337">type</a>)</td></tr>
<tr class="separator:a81d157e6a73f340f076af77463d0bf0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00060c7b991893a2c6c7e8c02bd4f54e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00060c7b991893a2c6c7e8c02bd4f54e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#ad32d4f20e6325b20267a2e905e1ec243">AddAdaptationSet</a>, <a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html">AdaptationSet</a> *(const std::string &amp;lang))</td></tr>
<tr class="separator:a00060c7b991893a2c6c7e8c02bd4f54e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a369d9127e4966ae4ec892e6c9bd1c0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a369d9127e4966ae4ec892e6c9bd1c0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#af7eae5cc11141eed2b5451d969e57db6">ToString</a>, bool(std::string *output))</td></tr>
<tr class="separator:a2a369d9127e4966ae4ec892e6c9bd1c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshaka_1_1MpdBuilder"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1MpdBuilder')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html">shaka::MpdBuilder</a></td></tr>
<tr class="memitem:ad22c1e62affefcb33382c9480820c032 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#ad22c1e62affefcb33382c9480820c032">MpdBuilder</a> (MpdType <a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#adf8a48afbb29f1f1c54e4daaebb81337">type</a>, const <a class="el" href="../../d1/df3/structshaka_1_1MpdOptions.html">MpdOptions</a> &amp;mpd_options)</td></tr>
<tr class="separator:ad22c1e62affefcb33382c9480820c032 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6fd968035d1cba5060fe23a107f8bdb inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#ab6fd968035d1cba5060fe23a107f8bdb">AddBaseUrl</a> (const std::string &amp;base_url)</td></tr>
<tr class="separator:ab6fd968035d1cba5060fe23a107f8bdb inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad32d4f20e6325b20267a2e905e1ec243 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html">AdaptationSet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#ad32d4f20e6325b20267a2e905e1ec243">AddAdaptationSet</a> (const std::string &amp;lang)</td></tr>
<tr class="separator:ad32d4f20e6325b20267a2e905e1ec243 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35685a28f837c397e1f862d44b2205d9 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#a35685a28f837c397e1f862d44b2205d9">WriteMpdToFile</a> (<a class="el" href="../../d3/d61/classshaka_1_1media_1_1File.html">media::File</a> *output_file)</td></tr>
<tr class="separator:a35685a28f837c397e1f862d44b2205d9 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7eae5cc11141eed2b5451d969e57db6 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#af7eae5cc11141eed2b5451d969e57db6">ToString</a> (std::string *output)</td></tr>
<tr class="separator:af7eae5cc11141eed2b5451d969e57db6 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf8a48afbb29f1f1c54e4daaebb81337 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">MpdType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#adf8a48afbb29f1f1c54e4daaebb81337">type</a> () const </td></tr>
<tr class="separator:adf8a48afbb29f1f1c54e4daaebb81337 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a723afe73b9d619a1178ae21e46fd7450 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a723afe73b9d619a1178ae21e46fd7450"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#a723afe73b9d619a1178ae21e46fd7450">InjectClockForTesting</a> (scoped_ptr&lt; base::Clock &gt; clock)</td></tr>
<tr class="memdesc:a723afe73b9d619a1178ae21e46fd7450 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is for testing. <br/></td></tr>
<tr class="separator:a723afe73b9d619a1178ae21e46fd7450 inherit pub_methods_classshaka_1_1MpdBuilder"><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 pub_types_classshaka_1_1MpdBuilder"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshaka_1_1MpdBuilder')"><img src="../../closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html">shaka::MpdBuilder</a></td></tr>
<tr class="memitem:ad9688282a53de2c6c551376191e716c9 inherit pub_types_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>MpdType</b> { <b>kStatic</b> = 0,
<b>kDynamic</b>
}</td></tr>
<tr class="separator:ad9688282a53de2c6c551376191e716c9 inherit pub_types_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classshaka_1_1MpdBuilder"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classshaka_1_1MpdBuilder')"><img src="../../closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html">shaka::MpdBuilder</a></td></tr>
<tr class="memitem:a247a9c807274d4e707530f24e2d207f9 inherit pub_static_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#a247a9c807274d4e707530f24e2d207f9">MakePathsRelativeToMpd</a> (const std::string &amp;mpd_path, MediaInfo *media_info)</td></tr>
<tr class="separator:a247a9c807274d4e707530f24e2d207f9 inherit pub_static_methods_classshaka_1_1MpdBuilder"><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>Definition at line <a class="el" href="../../d9/d08/mock__mpd__builder_8h_source.html#l00019">19</a> of file <a class="el" href="../../d9/d08/mock__mpd__builder_8h_source.html">mock_mpd_builder.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>mpd/base/<a class="el" href="../../d9/d08/mock__mpd__builder_8h_source.html">mock_mpd_builder.h</a></li>
<li>mpd/base/<a class="el" href="../../da/de2/mock__mpd__builder_8cc_source.html">mock_mpd_builder.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Aug 19 2016 00:08:21 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>