http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/abort_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/abort_8hpp.html b/content/api/latest/c++/abort_8hpp.html new file mode 100644 index 0000000..4200e5f --- /dev/null +++ b/content/api/latest/c++/abort_8hpp.html @@ -0,0 +1,224 @@ +<!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: 3rdparty/stout/include/stout/abort.hpp File 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 Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><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="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li class="navelem"><a class="el" href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li class="navelem"><a class="el" href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#define-members">Macros</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">abort.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <errno.h></code><br/> +<code>#include <stdio.h></code><br/> +<code>#include <stdlib.h></code><br/> +<code>#include <string.h></code><br/> +<code>#include <unistd.h></code><br/> +<code>#include <string></code><br/> +<code>#include <<a class="el" href="3rdparty_2stout_2include_2stout_2attributes_8hpp_source.html">stout/attributes.hpp</a>></code><br/> +</div> +<p><a href="abort_8hpp_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> +Macros</h2></td></tr> +<tr class="memitem:ab0b32631490688278c58f78c27d553cf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="abort_8hpp.html#ab0b32631490688278c58f78c27d553cf">__STRINGIZE</a>(x)   #x</td></tr> +<tr class="separator:ab0b32631490688278c58f78c27d553cf"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac3389a8a48dd2f121758d265c2809cdb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="abort_8hpp.html#ac3389a8a48dd2f121758d265c2809cdb">_STRINGIZE</a>(x)   <a class="el" href="abort_8hpp.html#ab0b32631490688278c58f78c27d553cf">__STRINGIZE</a>(x)</td></tr> +<tr class="separator:ac3389a8a48dd2f121758d265c2809cdb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1a9c2ee866f7641b42ba2a985e5a3707"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="abort_8hpp.html#a1a9c2ee866f7641b42ba2a985e5a3707">_ABORT_PREFIX</a>   "ABORT: (" __FILE__ ":" <a class="el" href="abort_8hpp.html#ac3389a8a48dd2f121758d265c2809cdb">_STRINGIZE</a>(__LINE__) "): "</td></tr> +<tr class="separator:a1a9c2ee866f7641b42ba2a985e5a3707"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a4d84a74fe6e4f84bc3d2f901b9e89f93"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="abort_8hpp.html#a4d84a74fe6e4f84bc3d2f901b9e89f93">ABORT</a>(...)   <a class="el" href="abort_8hpp.html#a457890827a8d73811ef519dcc2e4bfa3">_Abort</a>(<a class="el" href="abort_8hpp.html#a1a9c2ee866f7641b42ba2a985e5a3707">_ABORT_PREFIX</a>, __VA_ARGS__)</td></tr> +<tr class="separator:a4d84a74fe6e4f84bc3d2f901b9e89f93"><td class="memSeparator" colspan="2"> </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:a68192f16dd111e07a5033be6ba5c6f94"><td class="memItemLeft" align="right" valign="top"><a class="el" href="3rdparty_2stout_2include_2stout_2attributes_8hpp.html#aa1728270d73c5d1598de1fd691762eb1">NORETURN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="abort_8hpp.html#a68192f16dd111e07a5033be6ba5c6f94">_Abort</a> (const char *prefix, const char *message)</td></tr> +<tr class="separator:a68192f16dd111e07a5033be6ba5c6f94"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a457890827a8d73811ef519dcc2e4bfa3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="3rdparty_2stout_2include_2stout_2attributes_8hpp.html#aa1728270d73c5d1598de1fd691762eb1">NORETURN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="abort_8hpp.html#a457890827a8d73811ef519dcc2e4bfa3">_Abort</a> (const char *prefix, const std::string &message)</td></tr> +<tr class="separator:a457890827a8d73811ef519dcc2e4bfa3"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Macro Definition Documentation</h2> +<a class="anchor" id="ab0b32631490688278c58f78c27d553cf"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define __STRINGIZE</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">x</td><td>)</td> + <td>   #x</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a1a9c2ee866f7641b42ba2a985e5a3707"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define _ABORT_PREFIX   "ABORT: (" __FILE__ ":" <a class="el" href="abort_8hpp.html#ac3389a8a48dd2f121758d265c2809cdb">_STRINGIZE</a>(__LINE__) "): "</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ac3389a8a48dd2f121758d265c2809cdb"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define _STRINGIZE</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">x</td><td>)</td> + <td>   <a class="el" href="abort_8hpp.html#ab0b32631490688278c58f78c27d553cf">__STRINGIZE</a>(x)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a4d84a74fe6e4f84bc3d2f901b9e89f93"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define ABORT</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em></td><td>)</td> + <td>   <a class="el" href="abort_8hpp.html#a457890827a8d73811ef519dcc2e4bfa3">_Abort</a>(<a class="el" href="abort_8hpp.html#a1a9c2ee866f7641b42ba2a985e5a3707">_ABORT_PREFIX</a>, __VA_ARGS__)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<h2 class="groupheader">Function Documentation</h2> +<a class="anchor" id="a68192f16dd111e07a5033be6ba5c6f94"></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="3rdparty_2stout_2include_2stout_2attributes_8hpp.html#aa1728270d73c5d1598de1fd691762eb1">NORETURN</a> void _Abort </td> + <td>(</td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>prefix</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>message</em> </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"> + +</div> +</div> +<a class="anchor" id="a457890827a8d73811ef519dcc2e4bfa3"></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="3rdparty_2stout_2include_2stout_2attributes_8hpp.html#aa1728270d73c5d1598de1fd691762eb1">NORETURN</a> void _Abort </td> + <td>(</td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>prefix</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const std::string & </td> + <td class="paramname"><em>message</em> </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"> + +</div> +</div> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/abort_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/abort_8hpp_source.html b/content/api/latest/c++/abort_8hpp_source.html new file mode 100644 index 0000000..5c36ff7 --- /dev/null +++ b/content/api/latest/c++/abort_8hpp_source.html @@ -0,0 +1,154 @@ +<!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: 3rdparty/stout/include/stout/abort.hpp Source File</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 Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><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="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li class="navelem"><a class="el" href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li class="navelem"><a class="el" href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">abort.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="abort_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// you may not use this file except in compliance with the License.</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// You may obtain a copy of the License at</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">//</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// See the License for the specific language governing permissions and</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// limitations under the License.</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef __STOUT_ABORT_HPP__</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor"></span><span class="preprocessor">#define __STOUT_ABORT_HPP__</span></div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <errno.h></span></div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <stdio.h></span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <stdlib.h></span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <string.h></span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifdef __WINDOWS__</span></div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html">stout/windows.hpp</a>></span></div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#else</span></div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span><span class="preprocessor">#include <unistd.h></span></div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#endif // __WINDOWS__</span></div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <string></span></div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2stout_2include_2stout_2attributes_8hpp.html">stout/attributes.hpp</a>></span></div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// NOTE: These macros are already defined in Visual Studio (Windows) headers.</span></div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#ifndef __WINDOWS__</span></div> +<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="abort_8hpp.html#ab0b32631490688278c58f78c27d553cf"> 33</a></span> <span class="preprocessor"></span><span class="preprocessor">#define __STRINGIZE(x) #x</span></div> +<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="abort_8hpp.html#ac3389a8a48dd2f121758d265c2809cdb"> 34</a></span> <span class="preprocessor"></span><span class="preprocessor">#define _STRINGIZE(x) __STRINGIZE(x)</span></div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span><span class="preprocessor">#endif // __WINDOWS__</span></div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// Signal safe abort which prints a message.</span></div> +<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="abort_8hpp.html#a1a9c2ee866f7641b42ba2a985e5a3707"> 38</a></span> <span class="preprocessor">#define _ABORT_PREFIX "ABORT: (" __FILE__ ":" _STRINGIZE(__LINE__) "): "</span></div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="abort_8hpp.html#a4d84a74fe6e4f84bc3d2f901b9e89f93"> 40</a></span> <span class="preprocessor">#define ABORT(...) _Abort(_ABORT_PREFIX, __VA_ARGS__)</span></div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div> +<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="abort_8hpp.html#a68192f16dd111e07a5033be6ba5c6f94"> 43</a></span> <span class="keyword">inline</span> <a class="code" href="3rdparty_2stout_2include_2stout_2attributes_8hpp.html#aa1728270d73c5d1598de1fd691762eb1">NORETURN</a> <span class="keywordtype">void</span> <a class="code" href="abort_8hpp.html#a68192f16dd111e07a5033be6ba5c6f94">_Abort</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="namespaceos_1_1libraries_1_1Library.html#ab0e1a0e311049b6d685de1068e8f4690">prefix</a>, <span class="keyword">const</span> <span class="keywordtype">char</span>* message)</div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// NOTE: On Windows, `_write` takes an `unsigned int`, not `size_t`. We</span></div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// preform an explicit type conversion here to silence the warning. `strlen`</span></div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// always returns a positive result, which means it is safe to cast it to an</span></div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="comment">// unsigned value.</span></div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#ifndef __WINDOWS__</span></div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> prefix_len = strlen(prefix);</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">const</span> <span class="keywordtype">size_t</span> message_len = strlen(message);</div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#else</span></div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> prefix_len = <span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span> <span class="keywordtype">int</span><span class="keyword">></span>(strlen(prefix));</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> message_len = <span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span> <span class="keywordtype">int</span><span class="keyword">></span>(strlen(message));</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#endif // !__WINDOWS__</span></div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="comment">// Write the failure message in an async-signal safe manner,</span></div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">// assuming strlen is async-signal safe or optimized out.</span></div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// In fact, it is highly unlikely that strlen would be</span></div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// implemented in an unsafe manner:</span></div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// http://austingroupbugs.net/view.php?id=692</span></div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">while</span> (::<a class="code" href="namespacemesos_1_1internal_1_1log_1_1protocol.html#a66ff2d5af4db53227f787281c0765d8d">write</a>(<a class="code" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ae2fe1725bb5e9823d089c46b9ed5266e">STDERR_FILENO</a>, prefix, prefix_len) == -1 &&</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  errno == EINTR);</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">while</span> (message != <span class="keyword">nullptr</span> &&</div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  ::<a class="code" href="namespacemesos_1_1internal_1_1log_1_1protocol.html#a66ff2d5af4db53227f787281c0765d8d">write</a>(<a class="code" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ae2fe1725bb5e9823d089c46b9ed5266e">STDERR_FILENO</a>, message, message_len) == -1 &&</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  errno == EINTR);</div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">// NOTE: Since `1` can be interpreted as either an `unsigned int` or a</span></div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// `size_t`, removing the `static_cast` here makes this call ambiguous</span></div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">// between the `write` in windows.hpp and the (deprecated) `write` in the</span></div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">// Windows CRT headers.</span></div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">while</span> (::<a class="code" href="namespacemesos_1_1internal_1_1log_1_1protocol.html#a66ff2d5af4db53227f787281c0765d8d">write</a>(<a class="code" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ae2fe1725bb5e9823d089c46b9ed5266e">STDERR_FILENO</a>, <span class="stringliteral">"\n"</span>, static_cast<size_t>(1)) == -1 &&</div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  errno == EINTR);</div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  abort();</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> }</div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div> +<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="abort_8hpp.html#a457890827a8d73811ef519dcc2e4bfa3"> 78</a></span> <span class="keyword">inline</span> <a class="code" href="3rdparty_2stout_2include_2stout_2attributes_8hpp.html#aa1728270d73c5d1598de1fd691762eb1">NORETURN</a> <span class="keywordtype">void</span> <a class="code" href="abort_8hpp.html#a68192f16dd111e07a5033be6ba5c6f94">_Abort</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="namespaceos_1_1libraries_1_1Library.html#ab0e1a0e311049b6d685de1068e8f4690">prefix</a>, <span class="keyword">const</span> std::string& message)</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> {</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="abort_8hpp.html#a68192f16dd111e07a5033be6ba5c6f94">_Abort</a>(prefix, message.c_str());</div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> }</div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor">#endif // __STOUT_ABORT_HPP__</span></div> +<div class="ttc" id="namespaceos_1_1libraries_1_1Library_html_ab0e1a0e311049b6d685de1068e8f4690"><div class="ttname"><a href="namespaceos_1_1libraries_1_1Library.html#ab0e1a0e311049b6d685de1068e8f4690">os::libraries::Library::prefix</a></div><div class="ttdeci">constexpr const char * prefix</div><div class="ttdef"><b>Definition:</b> os.hpp:94</div></div> +<div class="ttc" id="3rdparty_2stout_2include_2stout_2windows_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2windows_8hpp.html">windows.hpp</a></div></div> +<div class="ttc" id="3rdparty_2stout_2include_2stout_2windows_8hpp_html_ae2fe1725bb5e9823d089c46b9ed5266e"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ae2fe1725bb5e9823d089c46b9ed5266e">STDERR_FILENO</a></div><div class="ttdeci">#define STDERR_FILENO</div><div class="ttdef"><b>Definition:</b> windows.hpp:137</div></div> +<div class="ttc" id="3rdparty_2stout_2include_2stout_2attributes_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2attributes_8hpp.html">attributes.hpp</a></div></div> +<div class="ttc" id="namespacemesos_1_1internal_1_1log_1_1protocol_html_a66ff2d5af4db53227f787281c0765d8d"><div class="ttname"><a href="namespacemesos_1_1internal_1_1log_1_1protocol.html#a66ff2d5af4db53227f787281c0765d8d">mesos::internal::log::protocol::write</a></div><div class="ttdeci">Protocol< WriteRequest, WriteResponse > write</div></div> +<div class="ttc" id="abort_8hpp_html_a68192f16dd111e07a5033be6ba5c6f94"><div class="ttname"><a href="abort_8hpp.html#a68192f16dd111e07a5033be6ba5c6f94">_Abort</a></div><div class="ttdeci">NORETURN void _Abort(const char *prefix, const char *message)</div><div class="ttdef"><b>Definition:</b> abort.hpp:43</div></div> +<div class="ttc" id="3rdparty_2stout_2include_2stout_2attributes_8hpp_html_aa1728270d73c5d1598de1fd691762eb1"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2attributes_8hpp.html#aa1728270d73c5d1598de1fd691762eb1">NORETURN</a></div><div class="ttdeci">#define NORETURN</div><div class="ttdef"><b>Definition:</b> attributes.hpp:20</div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/access_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/access_8hpp.html b/content/api/latest/c++/access_8hpp.html new file mode 100644 index 0000000..c776aa3 --- /dev/null +++ b/content/api/latest/c++/access_8hpp.html @@ -0,0 +1,82 @@ +<!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: 3rdparty/stout/include/stout/os/access.hpp File 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 Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><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="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li class="navelem"><a class="el" href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li class="navelem"><a class="el" href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li class="navelem"><a class="el" href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#namespaces">Namespaces</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">access.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <string></code><br/> +<code>#include <<a class="el" href="error_8hpp_source.html">stout/error.hpp</a>></code><br/> +<code>#include <<a class="el" href="try_8hpp_source.html">stout/try.hpp</a>></code><br/> +</div> +<p><a href="access_8hpp_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> +Namespaces</h2></td></tr> +<tr class="memitem:namespaceos"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceos.html">os</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </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:a426a9c189f65b7e3f63e16eb11ec73c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceos.html#a426a9c189f65b7e3f63e16eb11ec73c3">os::access</a> (const std::string &path, int how)</td></tr> +<tr class="separator:a426a9c189f65b7e3f63e16eb11ec73c3"><td class="memSeparator" colspan="2"> </td></tr> +</table> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/access_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/access_8hpp_source.html b/content/api/latest/c++/access_8hpp_source.html new file mode 100644 index 0000000..3057c4b --- /dev/null +++ b/content/api/latest/c++/access_8hpp_source.html @@ -0,0 +1,111 @@ +<!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: 3rdparty/stout/include/stout/os/access.hpp Source File</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 Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><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="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li class="navelem"><a class="el" href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li class="navelem"><a class="el" href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li class="navelem"><a class="el" href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">access.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="access_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// you may not use this file except in compliance with the License.</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// You may obtain a copy of the License at</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">//</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// See the License for the specific language governing permissions and</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// limitations under the License.</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef __STOUT_OS_ACCESS_HPP__</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor"></span><span class="preprocessor">#define __STOUT_OS_ACCESS_HPP__</span></div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <string></span></div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <<a class="code" href="error_8hpp.html">stout/error.hpp</a>></span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifdef __WINDOWS__</span></div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html">stout/windows.hpp</a>></span> <span class="comment">// To be certain we're using the right `access`.</span></div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#endif // __WINDOWS__</span></div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">namespace </span>os {</div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> +<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespaceos.html#a426a9c189f65b7e3f63e16eb11ec73c3"> 27</a></span> <span class="keyword">inline</span> <a class="code" href="classTry.html">Try<bool></a> <a class="code" href="namespaceos.html#a426a9c189f65b7e3f63e16eb11ec73c3">access</a>(<span class="keyword">const</span> std::string& path, <span class="keywordtype">int</span> how)</div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> {</div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">if</span> (::<a class="code" href="namespaceos.html#a426a9c189f65b7e3f63e16eb11ec73c3">access</a>(path.c_str(), how) < 0) {</div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordflow">if</span> (errno == EACCES) {</div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  } <span class="keywordflow">else</span> {</div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">return</span> <a class="code" href="classErrnoError.html">ErrnoError</a>();</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  }</div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  }</div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> }</div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> } <span class="comment">// namespace os {</span></div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#endif // __STOUT_OS_ACCESS_HPP__</span></div> +<div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> try.hpp:34</div></div> +<div class="ttc" id="classErrnoError_html"><div class="ttname"><a href="classErrnoError.html">ErrnoError</a></div><div class="ttdef"><b>Definition:</b> errorbase.hpp:44</div></div> +<div class="ttc" id="3rdparty_2stout_2include_2stout_2windows_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2windows_8hpp.html">windows.hpp</a></div></div> +<div class="ttc" id="namespaceos_html_a426a9c189f65b7e3f63e16eb11ec73c3"><div class="ttname"><a href="namespaceos.html#a426a9c189f65b7e3f63e16eb11ec73c3">os::access</a></div><div class="ttdeci">Try< bool > access(const std::string &path, int how)</div><div class="ttdef"><b>Definition:</b> access.hpp:27</div></div> +<div class="ttc" id="error_8hpp_html"><div class="ttname"><a href="error_8hpp.html">error.hpp</a></div></div> +<div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.hpp</a></div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/acls_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/acls_8hpp.html b/content/api/latest/c++/acls_8hpp.html new file mode 100644 index 0000000..c501ed0 --- /dev/null +++ b/content/api/latest/c++/acls_8hpp.html @@ -0,0 +1,82 @@ +<!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: include/mesos/authorizer/acls.hpp File 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 Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><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="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_a00cdca4cac44d29e96ac7c7cae2bc86.html">mesos</a></li><li class="navelem"><a class="el" href="dir_fee9898a1b5f3aea1580daa7b0cf8db1.html">authorizer</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#namespaces">Namespaces</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">acls.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <iosfwd></code><br/> +<code>#include <string></code><br/> +<code>#include <mesos/authorizer/acls.pb.h></code><br/> +</div> +<p><a href="acls_8hpp_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> +Namespaces</h2></td></tr> +<tr class="memitem:namespacemesos"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos.html">mesos</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </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:a7315699b934a218d80a94f9e4a93c921"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos.html#a7315699b934a218d80a94f9e4a93c921">mesos::operator<<</a> (std::ostream &stream, const ACLs &acls)</td></tr> +<tr class="separator:a7315699b934a218d80a94f9e4a93c921"><td class="memSeparator" colspan="2"> </td></tr> +</table> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/acls_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/acls_8hpp_source.html b/content/api/latest/c++/acls_8hpp_source.html new file mode 100644 index 0000000..5d6d8fb --- /dev/null +++ b/content/api/latest/c++/acls_8hpp_source.html @@ -0,0 +1,98 @@ +<!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: include/mesos/authorizer/acls.hpp Source File</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 Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><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="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_a00cdca4cac44d29e96ac7c7cae2bc86.html">mesos</a></li><li class="navelem"><a class="el" href="dir_fee9898a1b5f3aea1580daa7b0cf8db1.html">authorizer</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">acls.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="acls_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __MESOS_AUTHORIZER_ACLS_HPP__</span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define __MESOS_AUTHORIZER_ACLS_HPP__</span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">// TODO(arojas): Consider removing this file from the public interface.</span></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <iosfwd></span></div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <string></span></div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// ONLY USEFUL AFTER RUNNING PROTOC.</span></div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <mesos/authorizer/acls.pb.h></span></div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span>mesos {</div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> std::ostream& <a class="code" href="namespacemesos.html#a5dc9d475094af726a46d485950cde6cb">operator<<</a>(std::ostream& stream, <span class="keyword">const</span> ACLs& acls);</div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> } <span class="comment">// namespace mesos {</span></div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#endif // __MESOS_AUTHORIZER_ACLS_HPP__</span></div> +<div class="ttc" id="namespacemesos_html_a5dc9d475094af726a46d485950cde6cb"><div class="ttname"><a href="namespacemesos.html#a5dc9d475094af726a46d485950cde6cb">mesos::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &stream, const Attribute &attribute)</div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/action_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/action_8hpp.html b/content/api/latest/c++/action_8hpp.html new file mode 100644 index 0000000..ec395ad --- /dev/null +++ b/content/api/latest/c++/action_8hpp.html @@ -0,0 +1,89 @@ +<!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: src/linux/routing/filter/action.hpp File 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 Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><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="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_a18918b93668b435612395bbc2e8b82b.html">linux</a></li><li class="navelem"><a class="el" href="dir_cfcc063d6e54f12d25bee1413151fa14.html">routing</a></li><li class="navelem"><a class="el" href="dir_63ee66d07d6d294d2c7a805464cff705.html">filter</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Classes</a> | +<a href="#namespaces">Namespaces</a> </div> + <div class="headertitle"> +<div class="title">action.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <set></code><br/> +<code>#include <string></code><br/> +</div> +<p><a href="action_8hpp_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> +Classes</h2></td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classrouting_1_1action_1_1Action.html">routing::action::Action</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrouting_1_1action_1_1Redirect.html">routing::action::Redirect</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrouting_1_1action_1_1Mirror.html">routing::action::Mirror</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrouting_1_1action_1_1Terminal.html">routing::action::Terminal</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> +Namespaces</h2></td></tr> +<tr class="memitem:namespacerouting"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacerouting.html">routing</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:namespacerouting_1_1action"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacerouting_1_1action.html">routing::action</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/action_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/action_8hpp_source.html b/content/api/latest/c++/action_8hpp_source.html new file mode 100644 index 0000000..91c4caf --- /dev/null +++ b/content/api/latest/c++/action_8hpp_source.html @@ -0,0 +1,144 @@ +<!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: src/linux/routing/filter/action.hpp Source File</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 Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><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="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_a18918b93668b435612395bbc2e8b82b.html">linux</a></li><li class="navelem"><a class="el" href="dir_cfcc063d6e54f12d25bee1413151fa14.html">routing</a></li><li class="navelem"><a class="el" href="dir_63ee66d07d6d294d2c7a805464cff705.html">filter</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">action.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="action_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __LINUX_ROUTING_FILTER_ACTION_HPP__</span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define __LINUX_ROUTING_FILTER_ACTION_HPP__</span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <set></span></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <string></span></div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span>routing {</div> +<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespacerouting_1_1action.html"> 24</a></span> <span class="keyword">namespace </span>action {</div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// Base class for filter actions.</span></div> +<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classrouting_1_1action_1_1Action.html"> 27</a></span> <span class="keyword">class </span><a class="code" href="classrouting_1_1action_1_1Action.html">Action</a></div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> {</div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classrouting_1_1action_1_1Action.html#a1b8257c0bea7cdfeffd331487100d336"> 30</a></span>  <span class="keyword">virtual</span> <a class="code" href="classrouting_1_1action_1_1Action.html#a1b8257c0bea7cdfeffd331487100d336">~Action</a>() {}</div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">protected</span>:</div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="comment">// Hide the default constructor.</span></div> +<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classrouting_1_1action_1_1Action.html#a88ceaa1ea2437ea132ec7266906c9f7a"> 34</a></span>  <a class="code" href="classrouting_1_1action_1_1Action.html#a88ceaa1ea2437ea132ec7266906c9f7a">Action</a>() {}</div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> };</div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// Represents an action that redirects a packet to a given link.</span></div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment">// Currently, kernel only supports redirecting to the egress of a</span></div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">// given link.</span></div> +<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structrouting_1_1action_1_1Redirect.html"> 41</a></span> <span class="keyword">struct </span><a class="code" href="structrouting_1_1action_1_1Redirect.html">Redirect</a> : <span class="keyword">public</span> <a class="code" href="classrouting_1_1action_1_1Action.html">Action</a></div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> {</div> +<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structrouting_1_1action_1_1Redirect.html#a104ef8d4084c6d195ab50a3cd01fd239"> 43</a></span>  <span class="keyword">explicit</span> <a class="code" href="structrouting_1_1action_1_1Redirect.html#a104ef8d4084c6d195ab50a3cd01fd239">Redirect</a>(<span class="keyword">const</span> std::string& _link)</div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  : <a class="code" href="structrouting_1_1action_1_1Redirect.html#a0e300417a11c82969cd5aa5c9a336fa3">link</a>(_link) {}</div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// The link to which the packet will be redirected.</span></div> +<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structrouting_1_1action_1_1Redirect.html#a0e300417a11c82969cd5aa5c9a336fa3"> 47</a></span>  std::string <a class="code" href="structrouting_1_1action_1_1Redirect.html#a0e300417a11c82969cd5aa5c9a336fa3">link</a>;</div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> };</div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="comment">// Represents an action that mirrors a packet to a set of links.</span></div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment">// Currently, kernel only supports mirroring to the egress of each</span></div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="comment">// link.</span></div> +<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structrouting_1_1action_1_1Mirror.html"> 54</a></span> <span class="keyword">struct </span><a class="code" href="structrouting_1_1action_1_1Mirror.html">Mirror</a> : <span class="keyword">public</span> <a class="code" href="classrouting_1_1action_1_1Action.html">Action</a></div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> {</div> +<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structrouting_1_1action_1_1Mirror.html#af91400c679a25ac1ba29a2186e8f5022"> 56</a></span>  <span class="keyword">explicit</span> <a class="code" href="structrouting_1_1action_1_1Mirror.html#af91400c679a25ac1ba29a2186e8f5022">Mirror</a>(<span class="keyword">const</span> std::set<std::string>& _links)</div> +<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  : <a class="code" href="structrouting_1_1action_1_1Mirror.html#a1b3c67466ff6b45287f384ae3c5b6807">links</a>(_links) {}</div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// The set of links to which the packet will be mirrored.</span></div> +<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structrouting_1_1action_1_1Mirror.html#a1b3c67466ff6b45287f384ae3c5b6807"> 60</a></span>  std::set<std::string> <a class="code" href="structrouting_1_1action_1_1Mirror.html#a1b3c67466ff6b45287f384ae3c5b6807">links</a>;</div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> };</div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment">// Represents an action that stops the packet from being sent to the</span></div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment">// next filter.</span></div> +<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structrouting_1_1action_1_1Terminal.html"> 66</a></span> <span class="keyword">struct </span><a class="code" href="structrouting_1_1action_1_1Terminal.html">Terminal</a> : <span class="keyword">public</span> <a class="code" href="classrouting_1_1action_1_1Action.html">Action</a> {};</div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> } <span class="comment">// namespace action {</span></div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> } <span class="comment">// namespace routing {</span></div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor">#endif // __LINUX_ROUTING_FILTER_ACTION_HPP__</span></div> +<div class="ttc" id="classrouting_1_1action_1_1Action_html_a1b8257c0bea7cdfeffd331487100d336"><div class="ttname"><a href="classrouting_1_1action_1_1Action.html#a1b8257c0bea7cdfeffd331487100d336">routing::action::Action::~Action</a></div><div class="ttdeci">virtual ~Action()</div><div class="ttdef"><b>Definition:</b> action.hpp:30</div></div> +<div class="ttc" id="classrouting_1_1action_1_1Action_html_a88ceaa1ea2437ea132ec7266906c9f7a"><div class="ttname"><a href="classrouting_1_1action_1_1Action.html#a88ceaa1ea2437ea132ec7266906c9f7a">routing::action::Action::Action</a></div><div class="ttdeci">Action()</div><div class="ttdef"><b>Definition:</b> action.hpp:34</div></div> +<div class="ttc" id="structrouting_1_1action_1_1Mirror_html_a1b3c67466ff6b45287f384ae3c5b6807"><div class="ttname"><a href="structrouting_1_1action_1_1Mirror.html#a1b3c67466ff6b45287f384ae3c5b6807">routing::action::Mirror::links</a></div><div class="ttdeci">std::set< std::string > links</div><div class="ttdef"><b>Definition:</b> action.hpp:60</div></div> +<div class="ttc" id="structrouting_1_1action_1_1Terminal_html"><div class="ttname"><a href="structrouting_1_1action_1_1Terminal.html">routing::action::Terminal</a></div><div class="ttdef"><b>Definition:</b> action.hpp:66</div></div> +<div class="ttc" id="structrouting_1_1action_1_1Redirect_html"><div class="ttname"><a href="structrouting_1_1action_1_1Redirect.html">routing::action::Redirect</a></div><div class="ttdef"><b>Definition:</b> action.hpp:41</div></div> +<div class="ttc" id="structrouting_1_1action_1_1Mirror_html_af91400c679a25ac1ba29a2186e8f5022"><div class="ttname"><a href="structrouting_1_1action_1_1Mirror.html#af91400c679a25ac1ba29a2186e8f5022">routing::action::Mirror::Mirror</a></div><div class="ttdeci">Mirror(const std::set< std::string > &_links)</div><div class="ttdef"><b>Definition:</b> action.hpp:56</div></div> +<div class="ttc" id="structrouting_1_1action_1_1Redirect_html_a104ef8d4084c6d195ab50a3cd01fd239"><div class="ttname"><a href="structrouting_1_1action_1_1Redirect.html#a104ef8d4084c6d195ab50a3cd01fd239">routing::action::Redirect::Redirect</a></div><div class="ttdeci">Redirect(const std::string &_link)</div><div class="ttdef"><b>Definition:</b> action.hpp:43</div></div> +<div class="ttc" id="classrouting_1_1action_1_1Action_html"><div class="ttname"><a href="classrouting_1_1action_1_1Action.html">routing::action::Action</a></div><div class="ttdef"><b>Definition:</b> action.hpp:27</div></div> +<div class="ttc" id="structrouting_1_1action_1_1Mirror_html"><div class="ttname"><a href="structrouting_1_1action_1_1Mirror.html">routing::action::Mirror</a></div><div class="ttdef"><b>Definition:</b> action.hpp:54</div></div> +<div class="ttc" id="structrouting_1_1action_1_1Redirect_html_a0e300417a11c82969cd5aa5c9a336fa3"><div class="ttname"><a href="structrouting_1_1action_1_1Redirect.html#a0e300417a11c82969cd5aa5c9a336fa3">routing::action::Redirect::link</a></div><div class="ttdeci">std::string link</div><div class="ttdef"><b>Definition:</b> action.hpp:47</div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/active__user__test__helper_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/active__user__test__helper_8hpp.html b/content/api/latest/c++/active__user__test__helper_8hpp.html new file mode 100644 index 0000000..7a840e4 --- /dev/null +++ b/content/api/latest/c++/active__user__test__helper_8hpp.html @@ -0,0 +1,87 @@ +<!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: src/tests/active_user_test_helper.hpp File 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 Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><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="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_d93a1d4020dea85bb71b237545b5e722.html">tests</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Classes</a> | +<a href="#namespaces">Namespaces</a> </div> + <div class="headertitle"> +<div class="title">active_user_test_helper.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <string></code><br/> +<code>#include <<a class="el" href="subcommand_8hpp_source.html">stout/subcommand.hpp</a>></code><br/> +</div> +<p><a href="active__user__test__helper_8hpp_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> +Classes</h2></td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1internal_1_1tests_1_1ActiveUserTestHelper.html">mesos::internal::tests::ActiveUserTestHelper</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmesos_1_1internal_1_1tests_1_1ActiveUserTestHelper_1_1Flags.html">mesos::internal::tests::ActiveUserTestHelper::Flags</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> +Namespaces</h2></td></tr> +<tr class="memitem:namespacemesos"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos.html">mesos</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:namespacemesos_1_1internal"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal.html">mesos::internal</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:namespacemesos_1_1internal_1_1tests"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal_1_1tests.html">mesos::internal::tests</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html>