You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2017/06/21 00:58:15 UTC

[47/51] [partial] mesos-site git commit: Updated the website built from mesos SHA: ae76475.

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6b298f58/content/api/latest/c++/3rdparty_2stout_2include_2stout_2flags_2parse_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2flags_2parse_8hpp_source.html b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2flags_2parse_8hpp_source.html
index 321e7e1..dade7d0 100644
--- a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2flags_2parse_8hpp_source.html
+++ b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2flags_2parse_8hpp_source.html
@@ -81,7 +81,7 @@
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
 <div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="3rdparty_2stout_2include_2stout_2os_2read_8hpp.html">stout/os/read.hpp</a>&gt;</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
-<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacemesos_1_1internal_1_1tests.html#af8289f648a916c3f66923867452c7b1b">flags</a> {</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">namespace </span><a class="code" href="decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">flags</a> {</div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
 <div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
 <div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="namespaceflags.html#a62b1974db70a09bd57b28b2584070e34">   33</a></span>&#160;<a class="code" href="classTry.html">Try&lt;T&gt;</a> <a class="code" href="namespaceflags.html#af30eac14fca1a6fd93863545a0666e0c">parse</a>(<span class="keyword">const</span> std::string&amp; value)</div>
@@ -134,94 +134,102 @@
 <div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="keyword">template</span> &lt;&gt;</div>
 <div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="namespaceflags.html#a37aff6119e5c4b6f1aab8d93522a3921">   81</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;net::IP&gt;</a> <a class="code" href="namespaceflags.html#af30eac14fca1a6fd93863545a0666e0c">parse</a>(<span class="keyword">const</span> std::string&amp; value)</div>
 <div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;{</div>
-<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classnet_1_1IP.html#ac12ff5e8e0e95eac1bf8faeeadf88230">net::IP::parse</a>(value, AF_INET);</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classnet_1_1IP.html#a29469a2770ed1c02f447470712158d0e">net::IP::parse</a>(value, AF_INET);</div>
 <div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;}</div>
 <div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
 <div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
 <div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="keyword">template</span> &lt;&gt;</div>
 <div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="namespaceflags.html#abf3ec8fe3d745a9be53c67b847c5e130">   88</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;JSON::Object&gt;</a> <a class="code" href="namespaceflags.html#af30eac14fca1a6fd93863545a0666e0c">parse</a>(<span class="keyword">const</span> std::string&amp; value)</div>
 <div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;{</div>
-<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  <span class="comment">// A value that already starts with &#39;file://&#39; will properly be</span></div>
-<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <span class="comment">// loaded from the file and put into &#39;value&#39; but if it starts with</span></div>
-<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <span class="comment">// &#39;/&#39; we need to explicitly handle it for backwards compatibility</span></div>
-<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  <span class="comment">// reasons (because we used to handle it before we introduced the</span></div>
-<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="comment">// &#39;fetch&#39; mechanism for flags that first fetches the data from URIs</span></div>
-<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <span class="comment">// such as &#39;file://&#39;).</span></div>
-<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a>(value, <span class="stringliteral">&quot;/&quot;</span>)) {</div>
-<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;Specifying an absolute filename to read a command line &quot;</span></div>
-<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;                    <span class="stringliteral">&quot;option out of without using &#39;file:// is deprecated and &quot;</span></div>
-<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;                    <span class="stringliteral">&quot;will be removed in a future release. Simply adding &quot;</span></div>
-<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;                    <span class="stringliteral">&quot;&#39;file://&#39; to the beginning of the path should eliminate &quot;</span></div>
-<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                    <span class="stringliteral">&quot;this warning.&quot;</span>;</div>
-<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
-<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <a class="code" href="classTry.html">Try&lt;std::string&gt;</a> <a class="code" href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">read</a> = <a class="code" href="namespaceos.html#aa1d97ff0a93229e1fe6b33e3e2d567f7">os::read</a>(value);</div>
-<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keywordflow">if</span> (read.<a class="code" href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) {</div>
-<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">&quot;Error reading file &#39;&quot;</span> + value + <span class="stringliteral">&quot;&#39;: &quot;</span> + read.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div>
-<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    }</div>
-<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordflow">return</span> JSON::parse&lt;JSON::Object&gt;(read.<a class="code" href="classTry.html#a7be0768038e0628632492edf6cc1515a">get</a>());</div>
-<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  }</div>
-<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="keywordflow">return</span> JSON::parse&lt;JSON::Object&gt;(value);</div>
-<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;}</div>
-<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
-<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
-<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="keyword">template</span> &lt;&gt;</div>
-<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="namespaceflags.html#adea78d5ed133169a5c51fbd260fc91b1">  114</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;JSON::Array&gt;</a> <a class="code" href="namespaceflags.html#af30eac14fca1a6fd93863545a0666e0c">parse</a>(<span class="keyword">const</span> std::string&amp; value)</div>
-<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;{</div>
-<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <span class="comment">// A value that already starts with &#39;file://&#39; will properly be</span></div>
-<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;  <span class="comment">// loaded from the file and put into &#39;value&#39; but if it starts with</span></div>
-<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  <span class="comment">// &#39;/&#39; we need to explicitly handle it for backwards compatibility</span></div>
-<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  <span class="comment">// reasons (because we used to handle it before we introduced the</span></div>
-<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  <span class="comment">// &#39;fetch&#39; mechanism for flags that first fetches the data from URIs</span></div>
-<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  <span class="comment">// such as &#39;file://&#39;).</span></div>
-<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a>(value, <span class="stringliteral">&quot;/&quot;</span>)) {</div>
-<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;Specifying an absolute filename to read a command line &quot;</span></div>
-<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;                    <span class="stringliteral">&quot;option out of without using &#39;file:// is deprecated and &quot;</span></div>
-<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;                    <span class="stringliteral">&quot;will be removed in a future release. Simply adding &quot;</span></div>
-<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;                    <span class="stringliteral">&quot;&#39;file://&#39; to the beginning of the path should eliminate &quot;</span></div>
-<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;                    <span class="stringliteral">&quot;this warning.&quot;</span>;</div>
-<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
-<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <a class="code" href="classTry.html">Try&lt;std::string&gt;</a> <a class="code" href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">read</a> = <a class="code" href="namespaceos.html#aa1d97ff0a93229e1fe6b33e3e2d567f7">os::read</a>(value);</div>
-<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <span class="keywordflow">if</span> (read.<a class="code" href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) {</div>
-<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">&quot;Error reading file &#39;&quot;</span> + value + <span class="stringliteral">&quot;&#39;: &quot;</span> + read.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div>
-<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    }</div>
-<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <span class="keywordflow">return</span> JSON::parse&lt;JSON::Array&gt;(read.<a class="code" href="classTry.html#a7be0768038e0628632492edf6cc1515a">get</a>());</div>
-<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;  }</div>
-<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;  <span class="keywordflow">return</span> JSON::parse&lt;JSON::Array&gt;(value);</div>
-<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;}</div>
-<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div>
-<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
-<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="keyword">template</span> &lt;&gt;</div>
-<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="namespaceflags.html#acd8571b3ee50493ed6b4f0a5bd741d1b">  140</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;Path&gt;</a> <a class="code" href="namespaceflags.html#af30eac14fca1a6fd93863545a0666e0c">parse</a>(<span class="keyword">const</span> std::string&amp; value)</div>
-<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;{</div>
-<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classPath.html">Path</a>(value);</div>
-<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;}</div>
-<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
-<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;} <span class="comment">// namespace flags {</span></div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor">#ifndef __WINDOWS__</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="preprocessor"></span>  <span class="comment">// A value that already starts with &#39;file://&#39; will properly be</span></div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <span class="comment">// loaded from the file and put into &#39;value&#39; but if it starts with</span></div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  <span class="comment">// &#39;/&#39; we need to explicitly handle it for backwards compatibility</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="comment">// reasons (because we used to handle it before we introduced the</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <span class="comment">// &#39;fetch&#39; mechanism for flags that first fetches the data from URIs</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <span class="comment">// such as &#39;file://&#39;).</span></div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="comment">// NOTE: Because this code is deprecated, it is not supported on Windows.</span></div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a>(value, <span class="stringliteral">&quot;/&quot;</span>)) {</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;Specifying an absolute filename to read a command line &quot;</span></div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                    <span class="stringliteral">&quot;option out of without using &#39;file:// is deprecated and &quot;</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;                    <span class="stringliteral">&quot;will be removed in a future release. Simply adding &quot;</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;                    <span class="stringliteral">&quot;&#39;file://&#39; to the beginning of the path should eliminate &quot;</span></div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;                    <span class="stringliteral">&quot;this warning.&quot;</span>;</div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <a class="code" href="classTry.html">Try&lt;std::string&gt;</a> <a class="code" href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">read</a> = <a class="code" href="namespaceos.html#aa1d97ff0a93229e1fe6b33e3e2d567f7">os::read</a>(value);</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordflow">if</span> (read.<a class="code" href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) {</div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">&quot;Error reading file &#39;&quot;</span> + value + <span class="stringliteral">&quot;&#39;: &quot;</span> + read.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    }</div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordflow">return</span> JSON::parse&lt;JSON::Object&gt;(read.<a class="code" href="classTry.html#a7be0768038e0628632492edf6cc1515a">get</a>());</div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  }</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#endif // __WINDOWS__</span></div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor"></span>  <span class="keywordflow">return</span> JSON::parse&lt;JSON::Object&gt;(value);</div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;}</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="keyword">template</span> &lt;&gt;</div>
+<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="namespaceflags.html#adea78d5ed133169a5c51fbd260fc91b1">  118</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;JSON::Array&gt;</a> <a class="code" href="namespaceflags.html#af30eac14fca1a6fd93863545a0666e0c">parse</a>(<span class="keyword">const</span> std::string&amp; value)</div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;{</div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="preprocessor">#ifndef __WINDOWS__</span></div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="preprocessor"></span>  <span class="comment">// A value that already starts with &#39;file://&#39; will properly be</span></div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;  <span class="comment">// loaded from the file and put into &#39;value&#39; but if it starts with</span></div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  <span class="comment">// &#39;/&#39; we need to explicitly handle it for backwards compatibility</span></div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;  <span class="comment">// reasons (because we used to handle it before we introduced the</span></div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  <span class="comment">// &#39;fetch&#39; mechanism for flags that first fetches the data from URIs</span></div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;  <span class="comment">// such as &#39;file://&#39;).</span></div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;  <span class="comment">// NOTE: Because this code is deprecated, it is not supported on Windows.</span></div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a>(value, <span class="stringliteral">&quot;/&quot;</span>)) {</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;Specifying an absolute filename to read a command line &quot;</span></div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;                    <span class="stringliteral">&quot;option out of without using &#39;file:// is deprecated and &quot;</span></div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;                    <span class="stringliteral">&quot;will be removed in a future release. Simply adding &quot;</span></div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;                    <span class="stringliteral">&quot;&#39;file://&#39; to the beginning of the path should eliminate &quot;</span></div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;                    <span class="stringliteral">&quot;this warning.&quot;</span>;</div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <a class="code" href="classTry.html">Try&lt;std::string&gt;</a> <a class="code" href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">read</a> = <a class="code" href="namespaceos.html#aa1d97ff0a93229e1fe6b33e3e2d567f7">os::read</a>(value);</div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="keywordflow">if</span> (read.<a class="code" href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) {</div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">&quot;Error reading file &#39;&quot;</span> + value + <span class="stringliteral">&quot;&#39;: &quot;</span> + read.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    }</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keywordflow">return</span> JSON::parse&lt;JSON::Array&gt;(read.<a class="code" href="classTry.html#a7be0768038e0628632492edf6cc1515a">get</a>());</div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;  }</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="preprocessor">#endif // __WINDOWS__</span></div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor"></span>  <span class="keywordflow">return</span> JSON::parse&lt;JSON::Array&gt;(value);</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;}</div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div>
 <div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
-<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#endif // __STOUT_FLAGS_PARSE_HPP__</span></div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="keyword">template</span> &lt;&gt;</div>
+<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="namespaceflags.html#acd8571b3ee50493ed6b4f0a5bd741d1b">  148</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;Path&gt;</a> <a class="code" href="namespaceflags.html#af30eac14fca1a6fd93863545a0666e0c">parse</a>(<span class="keyword">const</span> std::string&amp; value)</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;{</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classPath.html">Path</a>(value);</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;}</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;} <span class="comment">// namespace flags {</span></div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="preprocessor">#endif // __STOUT_FLAGS_PARSE_HPP__</span></div>
 <div class="ttc" id="classError_html"><div class="ttname"><a href="classError.html">Error</a></div><div class="ttdef"><b>Definition:</b> errorbase.hpp:35</div></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="3rdparty_2stout_2include_2stout_2ip_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2ip_8hpp.html">ip.hpp</a></div></div>
-<div class="ttc" id="classnet_1_1IP_html_ac12ff5e8e0e95eac1bf8faeeadf88230"><div class="ttname"><a href="classnet_1_1IP.html#ac12ff5e8e0e95eac1bf8faeeadf88230">net::IP::parse</a></div><div class="ttdeci">static Try&lt; IP &gt; parse(const std::string &amp;value, int family)</div><div class="ttdef"><b>Definition:</b> ip.hpp:195</div></div>
 <div class="ttc" id="json_8hpp_html"><div class="ttname"><a href="json_8hpp.html">json.hpp</a></div></div>
 <div class="ttc" id="3rdparty_2stout_2include_2stout_2os_2read_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2os_2read_8hpp.html">read.hpp</a></div></div>
-<div class="ttc" id="classBytes_html_a7cfe284176d1712aea563e5ddb590b30"><div class="ttname"><a href="classBytes.html#a7cfe284176d1712aea563e5ddb590b30">Bytes::parse</a></div><div class="ttdeci">static Try&lt; Bytes &gt; parse(const std::string &amp;s)</div><div class="ttdef"><b>Definition:</b> bytes.hpp:33</div></div>
+<div class="ttc" id="classBytes_html_a7cfe284176d1712aea563e5ddb590b30"><div class="ttname"><a href="classBytes.html#a7cfe284176d1712aea563e5ddb590b30">Bytes::parse</a></div><div class="ttdeci">static Try&lt; Bytes &gt; parse(const std::string &amp;s)</div><div class="ttdef"><b>Definition:</b> bytes.hpp:39</div></div>
+<div class="ttc" id="classnet_1_1IP_html_a29469a2770ed1c02f447470712158d0e"><div class="ttname"><a href="classnet_1_1IP.html#a29469a2770ed1c02f447470712158d0e">net::IP::parse</a></div><div class="ttdeci">static Try&lt; IP &gt; parse(const std::string &amp;value, int family=AF_UNSPEC)</div><div class="ttdef"><b>Definition:</b> ip.hpp:222</div></div>
 <div class="ttc" id="duration_8hpp_html"><div class="ttname"><a href="duration_8hpp.html">duration.hpp</a></div></div>
 <div class="ttc" id="bytes_8hpp_html"><div class="ttname"><a href="bytes_8hpp.html">bytes.hpp</a></div></div>
-<div class="ttc" id="classPath_html"><div class="ttname"><a href="classPath.html">Path</a></div><div class="ttdoc">Represents a POSIX or Windows file system path and offers common path manipulations. </div><div class="ttdef"><b>Definition:</b> path.hpp:79</div></div>
+<div class="ttc" id="classPath_html"><div class="ttname"><a href="classPath.html">Path</a></div><div class="ttdoc">Represents a POSIX or Windows file system path and offers common path manipulations. </div><div class="ttdef"><b>Definition:</b> path.hpp:118</div></div>
 <div class="ttc" id="path_8hpp_html"><div class="ttname"><a href="path_8hpp.html">path.hpp</a></div></div>
-<div class="ttc" id="namespaceflags_html_af30eac14fca1a6fd93863545a0666e0c"><div class="ttname"><a href="namespaceflags.html#af30eac14fca1a6fd93863545a0666e0c">flags::parse</a></div><div class="ttdeci">Try&lt; mesos::ACLs &gt; parse(const std::string &amp;value)</div><div class="ttdoc">Returns the docker v1 image manifest from the given string. </div><div class="ttdef"><b>Definition:</b> parse.hpp:36</div></div>
+<div class="ttc" id="namespaceflags_html_af30eac14fca1a6fd93863545a0666e0c"><div class="ttname"><a href="namespaceflags.html#af30eac14fca1a6fd93863545a0666e0c">flags::parse</a></div><div class="ttdeci">Try&lt; mesos::ACLs &gt; parse(const std::string &amp;value)</div><div class="ttdoc">Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given str...</div><div class="ttdef"><b>Definition:</b> parse.hpp:36</div></div>
 <div class="ttc" id="classTry_html_aec4a11ddd3c036e889d90b7eb6258ba7"><div class="ttname"><a href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">Try::error</a></div><div class="ttdeci">static Try error(const E &amp;e)</div><div class="ttdef"><b>Definition:</b> try.hpp:42</div></div>
 <div class="ttc" id="namespaceos_html_aa1d97ff0a93229e1fe6b33e3e2d567f7"><div class="ttname"><a href="namespaceos.html#aa1d97ff0a93229e1fe6b33e3e2d567f7">os::read</a></div><div class="ttdeci">Result&lt; std::string &gt; read(int_fd fd, size_t size)</div><div class="ttdef"><b>Definition:</b> read.hpp:50</div></div>
+<div class="ttc" id="decoder_8hpp_html_abb0829cce9dd20a40ae0d86890ae85c6"><div class="ttname"><a href="decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">flags</a></div><div class="ttdeci">#define flags</div><div class="ttdef"><b>Definition:</b> decoder.hpp:18</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="classTry_html_a0b98f95163b8a38daafd1651b043a276"><div class="ttname"><a href="classTry.html#a0b98f95163b8a38daafd1651b043a276">Try::isError</a></div><div class="ttdeci">bool isError() const </div><div class="ttdef"><b>Definition:</b> try.hpp:71</div></div>
 <div class="ttc" id="namespacemesos_1_1internal_1_1credentials_html_a137c93d60149616181a10e9f39986f7f"><div class="ttname"><a href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">mesos::internal::credentials::read</a></div><div class="ttdeci">Result&lt; Credentials &gt; read(const Path &amp;path)</div><div class="ttdef"><b>Definition:</b> credentials.hpp:35</div></div>
 <div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.hpp</a></div></div>
-<div class="ttc" id="namespacestrings_html_aa5513faacb213c7e097c0d43af43d9c7"><div class="ttname"><a href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a></div><div class="ttdeci">bool startsWith(const std::string &amp;s, const std::string &amp;prefix)</div><div class="ttdef"><b>Definition:</b> strings.hpp:368</div></div>
+<div class="ttc" id="namespacestrings_html_aa5513faacb213c7e097c0d43af43d9c7"><div class="ttname"><a href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a></div><div class="ttdeci">bool startsWith(const std::string &amp;s, const std::string &amp;prefix)</div><div class="ttdef"><b>Definition:</b> strings.hpp:380</div></div>
 <div class="ttc" id="classDuration_html_aef0d672430019fd5ded022bba35717b8"><div class="ttname"><a href="classDuration.html#aef0d672430019fd5ded022bba35717b8">Duration::parse</a></div><div class="ttdeci">static Try&lt; Duration &gt; parse(const std::string &amp;s)</div><div class="ttdef"><b>Definition:</b> duration.hpp:35</div></div>
 <div class="ttc" id="classTry_html_a7be0768038e0628632492edf6cc1515a"><div class="ttname"><a href="classTry.html#a7be0768038e0628632492edf6cc1515a">Try::get</a></div><div class="ttdeci">const T &amp; get() const </div><div class="ttdef"><b>Definition:</b> try.hpp:73</div></div>
 <div class="ttc" id="strings_8hpp_html"><div class="ttname"><a href="strings_8hpp.html">strings.hpp</a></div></div>
-<div class="ttc" id="namespacemesos_1_1internal_1_1tests_html_af8289f648a916c3f66923867452c7b1b"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests.html#af8289f648a916c3f66923867452c7b1b">mesos::internal::tests::flags</a></div><div class="ttdeci">Flags flags</div></div>
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6b298f58/content/api/latest/c++/3rdparty_2stout_2include_2stout_2ip_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2ip_8hpp.html b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2ip_8hpp.html
index 5d594b0..fe3ab67 100644
--- a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2ip_8hpp.html
+++ b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2ip_8hpp.html
@@ -63,7 +63,9 @@
 <code>#include &lt;netinet/in.h&gt;</code><br/>
 <code>#include &lt;sys/socket.h&gt;</code><br/>
 <code>#include &lt;sys/types.h&gt;</code><br/>
+<code>#include &lt;algorithm&gt;</code><br/>
 <code>#include &lt;iostream&gt;</code><br/>
+<code>#include &lt;numeric&gt;</code><br/>
 <code>#include &lt;string&gt;</code><br/>
 <code>#include &lt;vector&gt;</code><br/>
 <code>#include &lt;boost/functional/hash.hpp&gt;</code><br/>
@@ -79,6 +81,7 @@
 <code>#include &lt;<a class="el" href="strings_8hpp_source.html">stout/strings.hpp</a>&gt;</code><br/>
 <code>#include &lt;<a class="el" href="try_8hpp_source.html">stout/try.hpp</a>&gt;</code><br/>
 <code>#include &lt;<a class="el" href="unreachable_8hpp_source.html">stout/unreachable.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" href="3rdparty_2stout_2include_2stout_2posix_2ip_8hpp_source.html">stout/posix/ip.hpp</a>&gt;</code><br/>
 </div>
 <p><a href="3rdparty_2stout_2include_2stout_2ip_8hpp_source.html">Go to the source code of this file.</a></p>
 <table class="memberdecls">