blob: 5b22ca8ce6c09a906887fbdf2f2d82b0f688f8b2 [file] [log] [blame]
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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"/>
<title>Kudu C++ client API: include/kudu/util/slice.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</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>
<div id="MSearchBox" class="MSearchBoxInactive">
<img id="MSearchSelect" src="search/search.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</div>
</li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul>
</div>
<h1>include/kudu/util/slice.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
<a name="l00002"></a>00002 <span class="comment">// Copyright (c) 2011 The LevelDB Authors. All rights reserved.</span>
<a name="l00003"></a>00003 <span class="comment">// Use of this source code is governed by a BSD-style license that can be</span>
<a name="l00004"></a>00004 <span class="comment">// found in the LICENSE file. See the AUTHORS file for names of contributors.</span>
<a name="l00005"></a>00005 <span class="comment">//</span>
<a name="l00006"></a>00006
<a name="l00007"></a>00007 <span class="preprocessor">#ifndef KUDU_UTIL_SLICE_H_</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define KUDU_UTIL_SLICE_H_</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;map&gt;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;stddef.h&gt;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &lt;stdint.h&gt;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00016"></a>00016
<a name="l00017"></a>00017 <span class="preprocessor">#ifdef KUDU_HEADERS_USE_RICH_SLICE</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#include &quot;kudu/gutil/strings/fastmem.h&quot;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &quot;kudu/gutil/strings/stringpiece.h&quot;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &quot;kudu/util/faststring.h&quot;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#endif</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#include &quot;kudu/util/kudu_export.h&quot;</span>
<a name="l00023"></a>00023
<a name="l00024"></a>00024 <span class="keyword">namespace </span>kudu {
<a name="l00025"></a>00025
<a name="l00026"></a>00026 <span class="keyword">class </span>Status;
<a name="l00027"></a>00027
<a name="l00043"></a><a class="code" href="classkudu_1_1Slice.html">00043</a> <span class="keyword">class </span>KUDU_EXPORT <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a> {
<a name="l00044"></a>00044 <span class="keyword">public</span>:
<a name="l00046"></a><a class="code" href="classkudu_1_1Slice.html#aaee66c59ee434349680679bdf0462b66">00046</a> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>() : data_(reinterpret_cast&lt;const uint8_t *&gt;(<span class="stringliteral">&quot;&quot;</span>)),
<a name="l00047"></a>00047 size_(0) { }
<a name="l00048"></a>00048
<a name="l00055"></a><a class="code" href="classkudu_1_1Slice.html#a904b8732b247676c52cbd9147b34c54c">00055</a> <a class="code" href="classkudu_1_1Slice.html#a904b8732b247676c52cbd9147b34c54c">Slice</a>(<span class="keyword">const</span> uint8_t* d, <span class="keywordtype">size_t</span> n) : data_(d), size_(n) { }
<a name="l00056"></a>00056
<a name="l00063"></a><a class="code" href="classkudu_1_1Slice.html#a9cb396203dd2c589e7d4f10bd80461d5">00063</a> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* d, <span class="keywordtype">size_t</span> n) :
<a name="l00064"></a>00064 data_(reinterpret_cast&lt;const uint8_t *&gt;(d)),
<a name="l00065"></a>00065 size_(n) { }
<a name="l00066"></a>00066
<a name="l00071"></a><a class="code" href="classkudu_1_1Slice.html#a13838e07b6dcea1895a774ab1ba62bdd">00071</a> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>(<span class="keyword">const</span> std::string&amp; s) : <span class="comment">// NOLINT(runtime/explicit)</span>
<a name="l00072"></a>00072 data_(reinterpret_cast&lt;const uint8_t *&gt;(s.data())),
<a name="l00073"></a>00073 size_(s.size()) { }
<a name="l00074"></a>00074
<a name="l00079"></a><a class="code" href="classkudu_1_1Slice.html#ae8c6057eea15f8136e62255fd766e345">00079</a> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s) : <span class="comment">// NOLINT(runtime/explicit)</span>
<a name="l00080"></a>00080 data_(reinterpret_cast&lt;const uint8_t *&gt;(s)),
<a name="l00081"></a>00081 size_(strlen(s)) { }
<a name="l00082"></a>00082
<a name="l00083"></a>00083 <span class="preprocessor">#ifdef KUDU_HEADERS_USE_RICH_SLICE</span>
<a name="l00090"></a>00090 <span class="preprocessor"> Slice(const faststring &amp;s) // NOLINT(runtime/explicit)</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span> : data_(s.data()),
<a name="l00092"></a>00092 size_(s.size()) {
<a name="l00093"></a>00093 }
<a name="l00094"></a>00094
<a name="l00099"></a>00099 Slice(<span class="keyword">const</span> StringPiece&amp; s) <span class="comment">// NOLINT(runtime/explicit)</span>
<a name="l00100"></a>00100 : data_(reinterpret_cast&lt;const uint8_t*&gt;(s.data())),
<a name="l00101"></a>00101 size_(s.size()) {
<a name="l00102"></a>00102 }
<a name="l00103"></a>00103 <span class="preprocessor">#endif</span>
<a name="l00104"></a>00104 <span class="preprocessor"></span>
<a name="l00106"></a><a class="code" href="classkudu_1_1Slice.html#a2d90a4590b995fb55229d25effb0c5bb">00106</a> <span class="keyword">const</span> uint8_t* <a class="code" href="classkudu_1_1Slice.html#a2d90a4590b995fb55229d25effb0c5bb">data</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_; }
<a name="l00107"></a>00107
<a name="l00109"></a><a class="code" href="classkudu_1_1Slice.html#a2771156d34daa166067b8d319ad7d164">00109</a> uint8_t *<a class="code" href="classkudu_1_1Slice.html#a2771156d34daa166067b8d319ad7d164">mutable_data</a>() { <span class="keywordflow">return</span> <span class="keyword">const_cast&lt;</span>uint8_t *<span class="keyword">&gt;</span>(data_); }
<a name="l00110"></a>00110
<a name="l00112"></a><a class="code" href="classkudu_1_1Slice.html#a141b4a1fc0555d57f192e574e427c146">00112</a> <span class="keywordtype">size_t</span> <a class="code" href="classkudu_1_1Slice.html#a141b4a1fc0555d57f192e574e427c146">size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> size_; }
<a name="l00113"></a>00113
<a name="l00115"></a><a class="code" href="classkudu_1_1Slice.html#a79e41b882b0a85259be89f5698e27372">00115</a> <span class="keywordtype">bool</span> <a class="code" href="classkudu_1_1Slice.html#a79e41b882b0a85259be89f5698e27372">empty</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> size_ == 0; }
<a name="l00116"></a>00116
<a name="l00122"></a><a class="code" href="classkudu_1_1Slice.html#a5ff06bc0fd9734536a464e604ec226f2">00122</a> <span class="keyword">const</span> uint8_t &amp;<a class="code" href="classkudu_1_1Slice.html#a5ff06bc0fd9734536a464e604ec226f2">operator[]</a>(<span class="keywordtype">size_t</span> n)<span class="keyword"> const </span>{
<a name="l00123"></a>00123 assert(n &lt; size());
<a name="l00124"></a>00124 <span class="keywordflow">return</span> data_[n];
<a name="l00125"></a>00125 }
<a name="l00126"></a>00126
<a name="l00128"></a><a class="code" href="classkudu_1_1Slice.html#afb914c0769f019a7c2f28b755cba5eb5">00128</a> <span class="keywordtype">void</span> <a class="code" href="classkudu_1_1Slice.html#afb914c0769f019a7c2f28b755cba5eb5" title="Change this slice to refer to an empty array.">clear</a>() {
<a name="l00129"></a>00129 data_ = <span class="keyword">reinterpret_cast&lt;</span><span class="keyword">const </span>uint8_t *<span class="keyword">&gt;</span>(<span class="stringliteral">&quot;&quot;</span>);
<a name="l00130"></a>00130 size_ = 0;
<a name="l00131"></a>00131 }
<a name="l00132"></a>00132
<a name="l00142"></a><a class="code" href="classkudu_1_1Slice.html#a00f5d310f9ebf17c198cf3feb69c3842">00142</a> <span class="keywordtype">void</span> <a class="code" href="classkudu_1_1Slice.html#a00f5d310f9ebf17c198cf3feb69c3842">remove_prefix</a>(<span class="keywordtype">size_t</span> n) {
<a name="l00143"></a>00143 assert(n &lt;= size());
<a name="l00144"></a>00144 data_ += n;
<a name="l00145"></a>00145 size_ -= n;
<a name="l00146"></a>00146 }
<a name="l00147"></a>00147
<a name="l00157"></a><a class="code" href="classkudu_1_1Slice.html#a20f1c8e91ff0209e5c8f86766ef63d44">00157</a> <span class="keywordtype">void</span> <a class="code" href="classkudu_1_1Slice.html#a20f1c8e91ff0209e5c8f86766ef63d44">truncate</a>(<span class="keywordtype">size_t</span> n) {
<a name="l00158"></a>00158 assert(n &lt;= size());
<a name="l00159"></a>00159 size_ = n;
<a name="l00160"></a>00160 }
<a name="l00161"></a>00161
<a name="l00166"></a>00166 <a class="code" href="classkudu_1_1Status.html" title="A representation of an operation&amp;#39;s outcome.">Status</a> check_size(<span class="keywordtype">size_t</span> expected_size) <span class="keyword">const</span>;
<a name="l00167"></a>00167
<a name="l00169"></a>00169 std::string ToString() <span class="keyword">const</span>;
<a name="l00170"></a>00170
<a name="l00177"></a>00177 std::string ToDebugString(<span class="keywordtype">size_t</span> max_len = 0) <span class="keyword">const</span>;
<a name="l00178"></a>00178
<a name="l00187"></a>00187 <span class="keywordtype">int</span> compare(<span class="keyword">const</span> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>&amp; b) <span class="keyword">const</span>;
<a name="l00188"></a>00188
<a name="l00193"></a><a class="code" href="classkudu_1_1Slice.html#a3ad7697d76b8205099d43ca552c12b8d">00193</a> <span class="keywordtype">bool</span> <a class="code" href="classkudu_1_1Slice.html#a3ad7697d76b8205099d43ca552c12b8d">starts_with</a>(<span class="keyword">const</span> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>&amp; x)<span class="keyword"> const </span>{
<a name="l00194"></a>00194 <span class="keywordflow">return</span> ((size_ &gt;= x.size_) &amp;&amp;
<a name="l00195"></a>00195 (MemEqual(data_, x.data_, x.size_)));
<a name="l00196"></a>00196 }
<a name="l00197"></a>00197
<a name="l00199"></a><a class="code" href="structkudu_1_1Slice_1_1Comparator.html">00199</a> <span class="keyword">struct </span><a class="code" href="structkudu_1_1Slice_1_1Comparator.html" title="Comparator struct, useful for ordered collections (like STL maps).">Comparator</a> {
<a name="l00207"></a><a class="code" href="structkudu_1_1Slice_1_1Comparator.html#a2f33c829e2febd880f9cbcbebb08fa6a">00207</a> <span class="keywordtype">bool</span> <a class="code" href="structkudu_1_1Slice_1_1Comparator.html#a2f33c829e2febd880f9cbcbebb08fa6a">operator()</a>(<span class="keyword">const</span> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>&amp; a, <span class="keyword">const</span> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>&amp; b)<span class="keyword"> const </span>{
<a name="l00208"></a>00208 <span class="keywordflow">return</span> a.<a class="code" href="classkudu_1_1Slice.html#a0ecc8d893b73a664c69396ad30b14d98">compare</a>(b) &lt; 0;
<a name="l00209"></a>00209 }
<a name="l00210"></a>00210 };
<a name="l00211"></a>00211
<a name="l00218"></a><a class="code" href="classkudu_1_1Slice.html#a4bb1c9fe13873623b5a5a118830b1806">00218</a> <span class="keywordtype">void</span> <a class="code" href="classkudu_1_1Slice.html#a4bb1c9fe13873623b5a5a118830b1806">relocate</a>(uint8_t* d) {
<a name="l00219"></a>00219 <span class="keywordflow">if</span> (data_ != d) {
<a name="l00220"></a>00220 memcpy(d, data_, size_);
<a name="l00221"></a>00221 data_ = d;
<a name="l00222"></a>00222 }
<a name="l00223"></a>00223 }
<a name="l00224"></a>00224
<a name="l00225"></a>00225 <span class="keyword">private</span>:
<a name="l00226"></a>00226 <span class="keyword">friend</span> <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>&amp; x, <span class="keyword">const</span> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>&amp; y);
<a name="l00227"></a>00227
<a name="l00228"></a>00228 <span class="keyword">static</span> <span class="keywordtype">bool</span> MemEqual(<span class="keyword">const</span> <span class="keywordtype">void</span>* a, <span class="keyword">const</span> <span class="keywordtype">void</span>* b, <span class="keywordtype">size_t</span> n) {
<a name="l00229"></a>00229 <span class="preprocessor">#ifdef KUDU_HEADERS_USE_RICH_SLICE</span>
<a name="l00230"></a>00230 <span class="preprocessor"></span> <span class="keywordflow">return</span> strings::memeq(a, b, n);
<a name="l00231"></a>00231 <span class="preprocessor">#else</span>
<a name="l00232"></a>00232 <span class="preprocessor"></span> <span class="keywordflow">return</span> memcmp(a, b, n) == 0;
<a name="l00233"></a>00233 <span class="preprocessor">#endif</span>
<a name="l00234"></a>00234 <span class="preprocessor"></span> }
<a name="l00235"></a>00235
<a name="l00236"></a>00236 <span class="keyword">static</span> <span class="keywordtype">int</span> MemCompare(<span class="keyword">const</span> <span class="keywordtype">void</span>* a, <span class="keyword">const</span> <span class="keywordtype">void</span>* b, <span class="keywordtype">size_t</span> n) {
<a name="l00237"></a>00237 <span class="preprocessor">#ifdef KUDU_HEADERS_USE_RICH_SLICE</span>
<a name="l00238"></a>00238 <span class="preprocessor"></span> <span class="keywordflow">return</span> strings::fastmemcmp_inlined(a, b, n);
<a name="l00239"></a>00239 <span class="preprocessor">#else</span>
<a name="l00240"></a>00240 <span class="preprocessor"></span> <span class="keywordflow">return</span> memcmp(a, b, n);
<a name="l00241"></a>00241 <span class="preprocessor">#endif</span>
<a name="l00242"></a>00242 <span class="preprocessor"></span> }
<a name="l00243"></a>00243
<a name="l00244"></a>00244 <span class="keyword">const</span> uint8_t* data_;
<a name="l00245"></a>00245 <span class="keywordtype">size_t</span> size_;
<a name="l00246"></a>00246
<a name="l00247"></a>00247 <span class="comment">// Intentionally copyable</span>
<a name="l00248"></a>00248 };
<a name="l00249"></a>00249
<a name="l00257"></a>00257 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> Slice&amp; x, <span class="keyword">const</span> Slice&amp; y) {
<a name="l00258"></a>00258 <span class="keywordflow">return</span> ((x.size() == y.size()) &amp;&amp;
<a name="l00259"></a>00259 (Slice::MemEqual(x.data(), y.data(), x.size())));
<a name="l00260"></a>00260 }
<a name="l00261"></a>00261
<a name="l00269"></a>00269 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator!=(<span class="keyword">const</span> Slice&amp; x, <span class="keyword">const</span> Slice&amp; y) {
<a name="l00270"></a>00270 <span class="keywordflow">return</span> !(x == y);
<a name="l00271"></a>00271 }
<a name="l00272"></a>00272
<a name="l00280"></a>00280 <span class="keyword">inline</span> std::ostream&amp; operator&lt;&lt;(std::ostream&amp; o, <span class="keyword">const</span> Slice&amp; s) {
<a name="l00281"></a>00281 <span class="keywordflow">return</span> o &lt;&lt; s.ToDebugString(16); <span class="comment">// should be enough for anyone...</span>
<a name="l00282"></a>00282 }
<a name="l00283"></a>00283
<a name="l00284"></a><a class="code" href="classkudu_1_1Slice.html#a0ecc8d893b73a664c69396ad30b14d98">00284</a> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classkudu_1_1Slice.html#a0ecc8d893b73a664c69396ad30b14d98">Slice::compare</a>(<span class="keyword">const</span> <a class="code" href="classkudu_1_1Slice.html" title="A wrapper around externally allocated data.">Slice</a>&amp; b)<span class="keyword"> const </span>{
<a name="l00285"></a>00285 <span class="keyword">const</span> <span class="keywordtype">int</span> min_len = (size_ &lt; b.size_) ? size_ : b.size_;
<a name="l00286"></a>00286 <span class="keywordtype">int</span> r = MemCompare(data_, b.data_, min_len);
<a name="l00287"></a>00287 <span class="keywordflow">if</span> (r == 0) {
<a name="l00288"></a>00288 <span class="keywordflow">if</span> (size_ &lt; b.size_) r = -1;
<a name="l00289"></a>00289 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (size_ &gt; b.size_) r = +1;
<a name="l00290"></a>00290 }
<a name="l00291"></a>00291 <span class="keywordflow">return</span> r;
<a name="l00292"></a>00292 }
<a name="l00293"></a>00293
<a name="l00309"></a>00309 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00310"></a><a class="code" href="structkudu_1_1SliceMap.html">00310</a> <span class="keyword">struct </span><a class="code" href="structkudu_1_1SliceMap.html" title="STL map whose keys are Slices.">SliceMap</a> {
<a name="l00312"></a><a class="code" href="structkudu_1_1SliceMap.html#ac97e49d0aa50ae49f34ab3bbd95ea5e6">00312</a> <span class="keyword">typedef</span> std::map&lt;Slice, T, Slice::Comparator&gt; <a class="code" href="structkudu_1_1SliceMap.html#ac97e49d0aa50ae49f34ab3bbd95ea5e6" title="A handy typedef for the slice map with appropriate comparison operator.">type</a>;
<a name="l00313"></a>00313 };
<a name="l00314"></a>00314
<a name="l00315"></a>00315 } <span class="comment">// namespace kudu</span>
<a name="l00316"></a>00316
<a name="l00317"></a>00317 <span class="preprocessor">#endif // KUDU_UTIL_SLICE_H_</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<!-- start footer part -->
<hr class="footer"/>
<address class="footer">
<small>Generated for Kudu version 1.0.1 on Tue Oct 11 08:52:01 2016 by Doxygen 1.6.1</small>
<br>
<small>Copyright © 2016 The Apache Software Foundation.</small>
</address>
</body>
</html>