blob: 78eeb1fb5a82690e3089432c907334f2d27f7b02 [file] [log] [blame]
<!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.5"/>
<title>Apache Mesos: base64 Namespace 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="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">Apache Mesos
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li>
<li><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">base64 Namespace Reference</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacebase64_1_1internal"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebase64_1_1internal.html">internal</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a47c61bb5df3dae8cd38f44b6b69e5b4d"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebase64.html#a47c61bb5df3dae8cd38f44b6b69e5b4d">encode</a> (const std::string &amp;s)</td></tr>
<tr class="memdesc:a47c61bb5df3dae8cd38f44b6b69e5b4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encode a string to Base64 with the standard Base64 alphabet. <a href="#a47c61bb5df3dae8cd38f44b6b69e5b4d">More...</a><br/></td></tr>
<tr class="separator:a47c61bb5df3dae8cd38f44b6b69e5b4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3ba01437a30ea8938faaa92e9b72948"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebase64.html#ab3ba01437a30ea8938faaa92e9b72948">decode</a> (const std::string &amp;s)</td></tr>
<tr class="memdesc:ab3ba01437a30ea8938faaa92e9b72948"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode a string that is Base64-encoded with the standard Base64 alphabet. <a href="#ab3ba01437a30ea8938faaa92e9b72948">More...</a><br/></td></tr>
<tr class="separator:ab3ba01437a30ea8938faaa92e9b72948"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a684ce7ecc99e8ba6906c3a063b9ef71c"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebase64.html#a684ce7ecc99e8ba6906c3a063b9ef71c">encode_url_safe</a> (const std::string &amp;s, bool padding=true)</td></tr>
<tr class="memdesc:a684ce7ecc99e8ba6906c3a063b9ef71c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encode a string to Base64 with a URL and filename safe alphabet. <a href="#a684ce7ecc99e8ba6906c3a063b9ef71c">More...</a><br/></td></tr>
<tr class="separator:a684ce7ecc99e8ba6906c3a063b9ef71c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae9b40e06fb97752bef369b2a0190eaf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebase64.html#aae9b40e06fb97752bef369b2a0190eaf">decode_url_safe</a> (const std::string &amp;s)</td></tr>
<tr class="memdesc:aae9b40e06fb97752bef369b2a0190eaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode a string that is Base64-encoded with a URL and filename safe alphabet. <a href="#aae9b40e06fb97752bef369b2a0190eaf">More...</a><br/></td></tr>
<tr class="separator:aae9b40e06fb97752bef369b2a0190eaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ab3ba01437a30ea8938faaa92e9b72948"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTry.html">Try</a>&lt;std::string&gt; base64::decode </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Decode a string that is Base64-encoded with the standard Base64 alphabet. </p>
<dl class="section see"><dt>See Also</dt><dd><a href="https://tools.ietf.org/html/rfc4648#section-4">RFC4648</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s</td><td>The string to decode. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aae9b40e06fb97752bef369b2a0190eaf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTry.html">Try</a>&lt;std::string&gt; base64::decode_url_safe </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Decode a string that is Base64-encoded with a URL and filename safe alphabet. </p>
<dl class="section see"><dt>See Also</dt><dd><a href="https://tools.ietf.org/html/rfc4648#section-5">RFC4648</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s</td><td>The string to decode. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a47c61bb5df3dae8cd38f44b6b69e5b4d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string base64::encode </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Encode a string to Base64 with the standard Base64 alphabet. </p>
<dl class="section see"><dt>See Also</dt><dd><a href="https://tools.ietf.org/html/rfc4648#section-4">RFC4648</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s</td><td>The string to encode. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a684ce7ecc99e8ba6906c3a063b9ef71c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string base64::encode_url_safe </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>padding</em> = <code>true</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Encode a string to Base64 with a URL and filename safe alphabet. </p>
<dl class="section see"><dt>See Also</dt><dd><a href="https://tools.ietf.org/html/rfc4648#section-5">RFC4648</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s</td><td>The string to encode. </td></tr>
<tr><td class="paramname">padding</td><td>True if padding characters ('=') should be added. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>