blob: 3d8c6e90369facc940627027299319186651531d [file] [log] [blame]
{{+bindTo:partials.standard_nacl_api}}
<h1>pp::FloatPoint Class Reference</h1>
<div id="doxygen-ref">
{{- dummy div to appease doxygen -}}
<div>
<!-- Generated by Doxygen 1.7.6.1 -->
</div>
<!--header-->
<div class="contents">
<!-- doxytag: class="pp::FloatPoint" -->
<p><a href="classpp_1_1_float_point-members.html">List of all members.</a></p>
<h2>
Public Member Functions</h2><table class="memberdecls">
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a384b29d8aba4a43b399393e695eb1e81">FloatPoint</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#acb70a23a641f05fd5eb99e9439e556d2">FloatPoint</a> (float in_x, float in_y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a401fc74a911cd0d4996b00f8b10a1951">FloatPoint</a> (const PP_FloatPoint &amp;point)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#ab41958133c5b48f6002ad9bffdad46c0">~FloatPoint</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#adfa14cbb4f94c3133e4bce72f93570bf">operator PP_FloatPoint</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const PP_FloatPoint &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a74112618552ed91f200794127bf64eea">pp_float_point</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PP_FloatPoint &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a75ab7bd430e1f5edb00d9976061898ed">pp_float_point</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a9109ddb0920cf0eeb7ace3b40a95dc17">x</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a276b372b82ea3cd0021017ba4a002838">set_x</a> (float in_x)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#ac8bcb2ac55fa5fcf89a7b61369eeed2b">y</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#abdb8eeb5c2aa051e6776ae2967fc6d40">set_y</a> (float in_y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a8aeaf7286bc04e7ff7f9d405fdfe614b">operator+</a> (const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;other) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a2ae33c7eb2dbc4a8d366db080f3a136b">operator-</a> (const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;other) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a15985b03ca98d65bdf300dc3d12ca57a">operator+=</a> (const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a419049446659935f8bfe3e47d33b752b">operator-=</a> (const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html#a138f26f94ed5a97e1ee083e65eb101bf">swap</a> (<a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;other)</td></tr>
</table>
<hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate. </p>
</div><hr /><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a384b29d8aba4a43b399393e695eb1e81"></a><!-- doxytag: member="pp::FloatPoint::FloatPoint" ref="a384b29d8aba4a43b399393e695eb1e81" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1_float_point.html#a384b29d8aba4a43b399393e695eb1e81">pp::FloatPoint::FloatPoint</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A constructor for a point at 0,0. </p>
</div>
</div>
<a class="anchor" id="acb70a23a641f05fd5eb99e9439e556d2"></a><!-- doxytag: member="pp::FloatPoint::FloatPoint" ref="acb70a23a641f05fd5eb99e9439e556d2" args="(float in_x, float in_y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1_float_point.html#a384b29d8aba4a43b399393e695eb1e81">pp::FloatPoint::FloatPoint</a> </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>in_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>in_y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A constructor accepting two values for x and y and converting them to a <a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">in_x</td><td>An value representing a horizontal coordinate of a point, starting with 0 as the left-most coordinate.</td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">in_y</td><td>An value representing a vertical coordinate of a point, starting with 0 as the top-most coordinate. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a401fc74a911cd0d4996b00f8b10a1951"></a><!-- doxytag: member="pp::FloatPoint::FloatPoint" ref="a401fc74a911cd0d4996b00f8b10a1951" args="(const PP_FloatPoint &amp;point)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1_float_point.html#a384b29d8aba4a43b399393e695eb1e81">pp::FloatPoint::FloatPoint</a> </td>
<td>(</td>
<td class="paramtype">const PP_FloatPoint &amp;&#160;</td>
<td class="paramname"><em>point</em></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A constructor accepting a pointer to a PP_FloatPoint and converting the PP_Point to a <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a>. </p>
<p>This is an implicit conversion constructor.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">point</td><td>A PP_FloatPoint. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab41958133c5b48f6002ad9bffdad46c0"></a><!-- doxytag: member="pp::FloatPoint::~FloatPoint" ref="ab41958133c5b48f6002ad9bffdad46c0" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1_float_point.html#ab41958133c5b48f6002ad9bffdad46c0">pp::FloatPoint::~FloatPoint</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<hr /><h2>Member Function Documentation</h2>
<a class="anchor" id="adfa14cbb4f94c3133e4bce72f93570bf"></a><!-- doxytag: member="pp::FloatPoint::operator PP_FloatPoint" ref="adfa14cbb4f94c3133e4bce72f93570bf" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">pp::FloatPoint::operator PP_FloatPoint </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A function allowing implicit conversion of a <a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a> to a PP_FloatPoint. </p>
</div>
</div>
<a class="anchor" id="a8aeaf7286bc04e7ff7f9d405fdfe614b"></a><!-- doxytag: member="pp::FloatPoint::operator+" ref="a8aeaf7286bc04e7ff7f9d405fdfe614b" args="(const FloatPoint &amp;other) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> pp::FloatPoint::operator+ </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Adds two Points (this and other) together by adding their x values and y values. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">other</td><td>A <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a>.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a> containing the result. </dd></dl>
</div>
</div>
<a class="anchor" id="a15985b03ca98d65bdf300dc3d12ca57a"></a><!-- doxytag: member="pp::FloatPoint::operator+=" ref="a15985b03ca98d65bdf300dc3d12ca57a" args="(const FloatPoint &amp;other)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a>&amp; pp::FloatPoint::operator+= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Adds two Points (this and other) together by adding their x and y values. </p>
<p>Returns this point as the result.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">other</td><td>A <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a>.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>This <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a> containing the result. </dd></dl>
</div>
</div>
<a class="anchor" id="a2ae33c7eb2dbc4a8d366db080f3a136b"></a><!-- doxytag: member="pp::FloatPoint::operator&#45;" ref="a2ae33c7eb2dbc4a8d366db080f3a136b" args="(const FloatPoint &amp;other) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> pp::FloatPoint::operator- </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Subtracts one <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a> from another <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a> by subtracting their x values and y values. </p>
<p>Returns a new point with the result.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">other</td><td>A <a class="el" href="classpp_1_1_float_point.html" title="A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.">FloatPoint</a>.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a> containing the result. </dd></dl>
</div>
</div>
<a class="anchor" id="a419049446659935f8bfe3e47d33b752b"></a><!-- doxytag: member="pp::FloatPoint::operator&#45;=" ref="a419049446659935f8bfe3e47d33b752b" args="(const FloatPoint &amp;other)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a>&amp; pp::FloatPoint::operator-= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Subtracts one <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a> from another <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a> by subtracting their x values and y values. </p>
<p>Returns this point as the result.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">other</td><td>A <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a>.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>This <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a> containing the result. </dd></dl>
</div>
</div>
<a class="anchor" id="a74112618552ed91f200794127bf64eea"></a><!-- doxytag: member="pp::FloatPoint::pp_float_point" ref="a74112618552ed91f200794127bf64eea" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const PP_FloatPoint&amp; <a class="el" href="classpp_1_1_float_point.html#a74112618552ed91f200794127bf64eea">pp::FloatPoint::pp_float_point</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Getter function for returning the internal PP_FloatPoint struct. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A const reference to the internal PP_FloatPoint struct. </dd></dl>
</div>
</div>
<a class="anchor" id="a75ab7bd430e1f5edb00d9976061898ed"></a><!-- doxytag: member="pp::FloatPoint::pp_float_point" ref="a75ab7bd430e1f5edb00d9976061898ed" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PP_FloatPoint&amp; <a class="el" href="classpp_1_1_float_point.html#a74112618552ed91f200794127bf64eea">pp::FloatPoint::pp_float_point</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Getter function for returning the internal PP_Point struct. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A mutable reference to the PP_Point struct. </dd></dl>
</div>
</div>
<a class="anchor" id="a276b372b82ea3cd0021017ba4a002838"></a><!-- doxytag: member="pp::FloatPoint::set_x" ref="a276b372b82ea3cd0021017ba4a002838" args="(float in_x)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classpp_1_1_float_point.html#a276b372b82ea3cd0021017ba4a002838">pp::FloatPoint::set_x</a> </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>in_x</em></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Setter function for setting the value of x. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">in_x</td><td>A new x value. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="abdb8eeb5c2aa051e6776ae2967fc6d40"></a><!-- doxytag: member="pp::FloatPoint::set_y" ref="abdb8eeb5c2aa051e6776ae2967fc6d40" args="(float in_y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classpp_1_1_float_point.html#abdb8eeb5c2aa051e6776ae2967fc6d40">pp::FloatPoint::set_y</a> </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>in_y</em></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Setter function for setting the value of y. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">in_y</td><td>A new y value. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a138f26f94ed5a97e1ee083e65eb101bf"></a><!-- doxytag: member="pp::FloatPoint::swap" ref="a138f26f94ed5a97e1ee083e65eb101bf" args="(FloatPoint &amp;other)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classpp_1_1_float_point.html#a138f26f94ed5a97e1ee083e65eb101bf">pp::FloatPoint::swap</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Swaps the coordinates of two Points. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">other</td><td>A <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a9109ddb0920cf0eeb7ace3b40a95dc17"></a><!-- doxytag: member="pp::FloatPoint::x" ref="a9109ddb0920cf0eeb7ace3b40a95dc17" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float <a class="el" href="classpp_1_1_float_point.html#a9109ddb0920cf0eeb7ace3b40a95dc17">pp::FloatPoint::x</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Getter function for returning the value of x. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The value of x for this <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a>. </dd></dl>
</div>
</div>
<a class="anchor" id="ac8bcb2ac55fa5fcf89a7b61369eeed2b"></a><!-- doxytag: member="pp::FloatPoint::y" ref="ac8bcb2ac55fa5fcf89a7b61369eeed2b" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float <a class="el" href="classpp_1_1_float_point.html#ac8bcb2ac55fa5fcf89a7b61369eeed2b">pp::FloatPoint::y</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Getter function for returning the value of y. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The value of y for this <a class="el" href="classpp_1_1_point.html" title="A 2 dimensional point with 0,0 being the upper-left starting coordinate.">Point</a>. </dd></dl>
</div>
</div>
<hr />The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="point_8h.html">point.h</a></li>
</ul>
</div><!-- contents -->
</div>
{{/partials.standard_nacl_api}}