/usr/share/doc/libwreport-doc/apidocs/tabledir_8h_source.html is in libwreport-doc 3.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | <!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.11"/>
<title>libwreport: tabledir.h 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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libwreport
 <span id="projectnumber">3.6</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<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>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</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>Globals</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_a77a435eba5a6a11d9ac0a833d87986c.html">wreport</a></li><li class="navelem"><a class="el" href="dir_6064b93e6b0242a02ddc580243820560.html">internals</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">tabledir.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef WREPORT_TABLEDIR_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define WREPORT_TABLEDIR_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <wreport/tableinfo.h></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="keyword">namespace </span><a class="code" href="namespacewreport.html">wreport</a> {</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="keyword">struct </span>Vartable;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">struct </span>DTable;</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">namespace </span>tabledir {</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">struct </span>Index;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="structwreport_1_1tabledir_1_1Table.html"> 15</a></span> <span class="keyword">struct </span><a class="code" href="structwreport_1_1tabledir_1_1Table.html">Table</a></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>  std::string btable_id;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  std::string btable_pathname;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  std::string dtable_id;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  std::string dtable_pathname;</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>  <a class="code" href="structwreport_1_1tabledir_1_1Table.html">Table</a>(<span class="keyword">const</span> std::string& dirname, <span class="keyword">const</span> std::string& filename);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">virtual</span> ~<a class="code" href="structwreport_1_1tabledir_1_1Table.html">Table</a>() {}</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="keyword">virtual</span> <span class="keywordtype">void</span> print_id(FILE* out) <span class="keyword">const</span>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structwreport_1_1tabledir_1_1BufrTable.html"> 29</a></span> <span class="keyword">struct </span><a class="code" href="structwreport_1_1tabledir_1_1BufrTable.html">BufrTable</a> : <a class="code" href="structwreport_1_1tabledir_1_1Table.html">Table</a></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>  <a class="code" href="structwreport_1_1BufrTableID.html">BufrTableID</a> id;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="structwreport_1_1tabledir_1_1BufrTable.html">BufrTable</a>(<span class="keyword">const</span> <a class="code" href="structwreport_1_1BufrTableID.html">BufrTableID</a>& <span class="keywordtype">id</span>, <span class="keyword">const</span> std::string& dirname, <span class="keyword">const</span> std::string& filename)</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  : <a class="code" href="structwreport_1_1tabledir_1_1Table.html">Table</a>(dirname, filename), id(<span class="keywordtype">id</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>  <span class="keywordtype">void</span> print_id(FILE* out) <span class="keyword">const override</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> </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structwreport_1_1tabledir_1_1CrexTable.html"> 40</a></span> <span class="keyword">struct </span><a class="code" href="structwreport_1_1tabledir_1_1CrexTable.html">CrexTable</a> : <a class="code" href="structwreport_1_1tabledir_1_1Table.html">Table</a></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>  <a class="code" href="structwreport_1_1CrexTableID.html">CrexTableID</a> id;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="structwreport_1_1tabledir_1_1CrexTable.html">CrexTable</a>(<span class="keyword">const</span> <a class="code" href="structwreport_1_1CrexTableID.html">CrexTableID</a>& <span class="keywordtype">id</span>, <span class="keyword">const</span> std::string& dirname, <span class="keyword">const</span> std::string& filename)</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  : <a class="code" href="structwreport_1_1tabledir_1_1Table.html">Table</a>(dirname, filename), id(<span class="keywordtype">id</span>) {}</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">void</span> print_id(FILE* out) <span class="keyword">const override</span>;</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="l00052"></a><span class="lineno"><a class="line" href="structwreport_1_1tabledir_1_1Dir.html"> 52</a></span> <span class="keyword">struct </span><a class="code" href="structwreport_1_1tabledir_1_1Dir.html">Dir</a></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  std::string pathname;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  time_t mtime;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  std::vector<Table*> tables;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="structwreport_1_1tabledir_1_1Dir.html">Dir</a>(<span class="keyword">const</span> std::string& pathname);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="structwreport_1_1tabledir_1_1Dir.html">Dir</a>(<span class="keyword">const</span> <a class="code" href="structwreport_1_1tabledir_1_1Dir.html">Dir</a>&) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="structwreport_1_1tabledir_1_1Dir.html">Dir</a>(<a class="code" href="structwreport_1_1tabledir_1_1Dir.html">Dir</a>&&) = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  ~<a class="code" href="structwreport_1_1tabledir_1_1Dir.html">Dir</a>();</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>  <a class="code" href="structwreport_1_1tabledir_1_1Dir.html">Dir</a>& operator=(<span class="keyword">const</span> <a class="code" href="structwreport_1_1tabledir_1_1Dir.html">Dir</a>&) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">void</span> refresh();</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> </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classwreport_1_1tabledir_1_1Tabledirs.html"> 69</a></span> <span class="keyword">class </span><a class="code" href="classwreport_1_1tabledir_1_1Tabledirs.html">Tabledirs</a></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="keyword">protected</span>:</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  std::vector<std::string> dirs;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  Index* index;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="classwreport_1_1tabledir_1_1Tabledirs.html">Tabledirs</a>();</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classwreport_1_1tabledir_1_1Tabledirs.html">Tabledirs</a>(<span class="keyword">const</span> <a class="code" href="classwreport_1_1tabledir_1_1Tabledirs.html">Tabledirs</a>&) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  ~<a class="code" href="classwreport_1_1tabledir_1_1Tabledirs.html">Tabledirs</a>();</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="classwreport_1_1tabledir_1_1Tabledirs.html">Tabledirs</a>& operator=(<span class="keyword">const</span> <a class="code" href="classwreport_1_1tabledir_1_1Tabledirs.html">Tabledirs</a>&) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">void</span> add_default_directories();</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">void</span> add_directory(<span class="keyword">const</span> std::string& dir);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">const</span> <a class="code" href="structwreport_1_1tabledir_1_1Table.html">tabledir::Table</a>* find_bufr(<span class="keyword">const</span> <a class="code" href="structwreport_1_1BufrTableID.html">BufrTableID</a>& <span class="keywordtype">id</span>);</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">const</span> <a class="code" href="structwreport_1_1tabledir_1_1Table.html">tabledir::Table</a>* find_crex(<span class="keyword">const</span> <a class="code" href="structwreport_1_1CrexTableID.html">CrexTableID</a>& <span class="keywordtype">id</span>);</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">const</span> <a class="code" href="structwreport_1_1tabledir_1_1Table.html">tabledir::Table</a>* find(<span class="keyword">const</span> std::string& basename);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordtype">void</span> print(FILE* out);</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordtype">void</span> explain_find_bufr(<span class="keyword">const</span> <a class="code" href="structwreport_1_1BufrTableID.html">BufrTableID</a>& <span class="keywordtype">id</span>, FILE* out);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordtype">void</span> explain_find_crex(<span class="keyword">const</span> <a class="code" href="structwreport_1_1CrexTableID.html">CrexTableID</a>& <span class="keywordtype">id</span>, FILE* out);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">static</span> <a class="code" href="classwreport_1_1tabledir_1_1Tabledirs.html">Tabledirs</a>& <span class="keyword">get</span>();</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> };</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> }</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> }</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="structwreport_1_1CrexTableID_html"><div class="ttname"><a href="structwreport_1_1CrexTableID.html">wreport::CrexTableID</a></div><div class="ttdoc">Identifying information for one distinct instance of CREX tables. </div><div class="ttdef"><b>Definition:</b> tableinfo.h:43</div></div>
<div class="ttc" id="structwreport_1_1tabledir_1_1Dir_html"><div class="ttname"><a href="structwreport_1_1tabledir_1_1Dir.html">wreport::tabledir::Dir</a></div><div class="ttdoc">Indexed version of a table directory. </div><div class="ttdef"><b>Definition:</b> tabledir.h:52</div></div>
<div class="ttc" id="classwreport_1_1tabledir_1_1Tabledirs_html"><div class="ttname"><a href="classwreport_1_1tabledir_1_1Tabledirs.html">wreport::tabledir::Tabledirs</a></div><div class="ttdef"><b>Definition:</b> tabledir.h:69</div></div>
<div class="ttc" id="structwreport_1_1tabledir_1_1CrexTable_html"><div class="ttname"><a href="structwreport_1_1tabledir_1_1CrexTable.html">wreport::tabledir::CrexTable</a></div><div class="ttdoc">Information about a version of a CREX table. </div><div class="ttdef"><b>Definition:</b> tabledir.h:40</div></div>
<div class="ttc" id="namespacewreport_html"><div class="ttname"><a href="namespacewreport.html">wreport</a></div><div class="ttdoc">String functions. </div><div class="ttdef"><b>Definition:</b> benchmark.h:13</div></div>
<div class="ttc" id="structwreport_1_1tabledir_1_1BufrTable_html"><div class="ttname"><a href="structwreport_1_1tabledir_1_1BufrTable.html">wreport::tabledir::BufrTable</a></div><div class="ttdoc">Information about a version of a BUFR table. </div><div class="ttdef"><b>Definition:</b> tabledir.h:29</div></div>
<div class="ttc" id="structwreport_1_1BufrTableID_html"><div class="ttname"><a href="structwreport_1_1BufrTableID.html">wreport::BufrTableID</a></div><div class="ttdoc">Identifying information for one distinct instance of BUFR tables. </div><div class="ttdef"><b>Definition:</b> tableinfo.h:14</div></div>
<div class="ttc" id="structwreport_1_1tabledir_1_1Table_html"><div class="ttname"><a href="structwreport_1_1tabledir_1_1Table.html">wreport::tabledir::Table</a></div><div class="ttdef"><b>Definition:</b> tabledir.h:15</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Aug 18 2016 13:32:18 for libwreport by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|