/usr/share/doc/libwreport-doc/apidocs/dds-validator_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 72 73 74 75 | <!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: dds-validator.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_968e33d435a609c295bc1a478dd13c33.html">bulletin</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">dds-validator.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="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * bulletin/dds-validator - Validate variables of a bulletin against its data</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * descriptor section</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"> * Copyright (C) 2011--2015 ARPA-SIM <urpsim@smr.arpa.emr.it></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"> * This program is free software; you can redistribute it and/or modify</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * the Free Software Foundation; either version 2 of the License.</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"> * This program is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * GNU General Public License for more details.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * You should have received a copy of the GNU General Public License</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * along with this program; if not, write to the Free Software</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> *</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * Author: Enrico Zini <enrico@enricozini.com></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> */</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="preprocessor">#ifndef WREPORT_BULLETIN_DDS_VALIDATOR_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define WREPORT_BULLETIN_DDS_VALIDATOR_H</span></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="preprocessor">#include <wreport/bulletin.h></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <wreport/bulletin/internals.h></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <vector></span></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> <span class="keyword">namespace </span><a class="code" href="namespacewreport.html">wreport</a> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span>bulletin {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classwreport_1_1bulletin_1_1DDSValidator.html"> 38</a></span> <span class="keyword">class </span><a class="code" href="classwreport_1_1bulletin_1_1DDSValidator.html">DDSValidator</a> : <span class="keyword">public</span> <a class="code" href="structwreport_1_1bulletin_1_1UncompressedEncoder.html">UncompressedEncoder</a></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="keywordtype">bool</span> is_crex;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordtype">void</span> check_fits(<a class="code" href="structwreport_1_1__Varinfo.html">Varinfo</a> info, <span class="keyword">const</span> <a class="code" href="classwreport_1_1Var.html">Var</a>& var);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">void</span> check_attr(<a class="code" href="structwreport_1_1__Varinfo.html">Varinfo</a> info, <span class="keywordtype">unsigned</span> var_pos);</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> <span class="keyword">public</span>:</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classwreport_1_1bulletin_1_1DDSValidator.html#a0309d91d6781a4844ccabfb7157ed870">DDSValidator</a>(<span class="keyword">const</span> <a class="code" href="structwreport_1_1Bulletin.html">Bulletin</a>& b, <span class="keywordtype">unsigned</span> subset_idx);</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">//void define_bitmap(unsigned bitmap_size) override;</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordtype">void</span> <a class="code" href="classwreport_1_1bulletin_1_1DDSValidator.html#a1c049d684462c4e0eba408a63703ef3f">define_substituted_value</a>(<span class="keywordtype">unsigned</span> pos) <span class="keyword">override</span>;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">void</span> <a class="code" href="classwreport_1_1bulletin_1_1DDSValidator.html#a5d6286a9363157716a6a31c93f740aae">define_attribute</a>(<a class="code" href="structwreport_1_1__Varinfo.html">Varinfo</a> info, <span class="keywordtype">unsigned</span> pos) <span class="keyword">override</span>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">void</span> <a class="code" href="classwreport_1_1bulletin_1_1DDSValidator.html#a0000de49c1671d6b6581e843b2eadec8">define_raw_character_data</a>(<a class="code" href="namespacewreport.html#af9fa16e12fde1ccfb4ce11b3988f5b05">Varcode</a> code) <span class="keyword">override</span>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">void</span> <a class="code" href="classwreport_1_1bulletin_1_1DDSValidator.html#a10dcef09f771465c7ee09b1c7679bf99">encode_var</a>(<a class="code" href="structwreport_1_1__Varinfo.html">Varinfo</a> info, <span class="keyword">const</span> <a class="code" href="classwreport_1_1Var.html">Var</a>& var) <span class="keyword">override</span>;</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> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> }</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> <span class="preprocessor">#endif</span></div><div class="ttc" id="classwreport_1_1bulletin_1_1DDSValidator_html_a0309d91d6781a4844ccabfb7157ed870"><div class="ttname"><a href="classwreport_1_1bulletin_1_1DDSValidator.html#a0309d91d6781a4844ccabfb7157ed870">wreport::bulletin::DDSValidator::DDSValidator</a></div><div class="ttdeci">DDSValidator(const Bulletin &b, unsigned subset_idx)</div><div class="ttdoc">Create a new DDS validator. </div></div>
<div class="ttc" id="classwreport_1_1bulletin_1_1DDSValidator_html_a1c049d684462c4e0eba408a63703ef3f"><div class="ttname"><a href="classwreport_1_1bulletin_1_1DDSValidator.html#a1c049d684462c4e0eba408a63703ef3f">wreport::bulletin::DDSValidator::define_substituted_value</a></div><div class="ttdeci">void define_substituted_value(unsigned pos) override</div><div class="ttdoc">Request processing of a substituted value corresponding to position pos in the list or previous varia...</div></div>
<div class="ttc" id="classwreport_1_1bulletin_1_1DDSValidator_html"><div class="ttname"><a href="classwreport_1_1bulletin_1_1DDSValidator.html">wreport::bulletin::DDSValidator</a></div><div class="ttdoc">Interpreter that checks if the data that has been added to the bulletin subsets can actualy be encode...</div><div class="ttdef"><b>Definition:</b> dds-validator.h:38</div></div>
<div class="ttc" id="classwreport_1_1Var_html"><div class="ttname"><a href="classwreport_1_1Var.html">wreport::Var</a></div><div class="ttdoc">A physical variable. </div><div class="ttdef"><b>Definition:</b> var.h:23</div></div>
<div class="ttc" id="classwreport_1_1bulletin_1_1DDSValidator_html_a5d6286a9363157716a6a31c93f740aae"><div class="ttname"><a href="classwreport_1_1bulletin_1_1DDSValidator.html#a5d6286a9363157716a6a31c93f740aae">wreport::bulletin::DDSValidator::define_attribute</a></div><div class="ttdeci">void define_attribute(Varinfo info, unsigned pos) override</div><div class="ttdoc">Request processing of an attribute encoded with info, related to the variable as position pos in the ...</div></div>
<div class="ttc" id="structwreport_1_1Bulletin_html"><div class="ttname"><a href="structwreport_1_1Bulletin.html">wreport::Bulletin</a></div><div class="ttdoc">Storage for the decoded data of a BUFR or CREX message. </div><div class="ttdef"><b>Definition:</b> bulletin.h:29</div></div>
<div class="ttc" id="classwreport_1_1bulletin_1_1DDSValidator_html_a10dcef09f771465c7ee09b1c7679bf99"><div class="ttname"><a href="classwreport_1_1bulletin_1_1DDSValidator.html#a10dcef09f771465c7ee09b1c7679bf99">wreport::bulletin::DDSValidator::encode_var</a></div><div class="ttdeci">void encode_var(Varinfo info, const Var &var) override</div><div class="ttdoc">Encode a variable. </div></div>
<div class="ttc" id="structwreport_1_1bulletin_1_1UncompressedEncoder_html"><div class="ttname"><a href="structwreport_1_1bulletin_1_1UncompressedEncoder.html">wreport::bulletin::UncompressedEncoder</a></div><div class="ttdoc">Base Interpreter specialisation for message encoders that works on a subset at a time. </div><div class="ttdef"><b>Definition:</b> internals.h:22</div></div>
<div class="ttc" id="namespacewreport_html_af9fa16e12fde1ccfb4ce11b3988f5b05"><div class="ttname"><a href="namespacewreport.html#af9fa16e12fde1ccfb4ce11b3988f5b05">wreport::Varcode</a></div><div class="ttdeci">uint16_t Varcode</div><div class="ttdoc">Holds the WMO variable code of a variable. </div><div class="ttdef"><b>Definition:</b> varinfo.h:57</div></div>
<div class="ttc" id="structwreport_1_1__Varinfo_html"><div class="ttname"><a href="structwreport_1_1__Varinfo.html">wreport::_Varinfo</a></div><div class="ttdoc">Information about a variable. </div><div class="ttdef"><b>Definition:</b> varinfo.h:135</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="classwreport_1_1bulletin_1_1DDSValidator_html_a0000de49c1671d6b6581e843b2eadec8"><div class="ttname"><a href="classwreport_1_1bulletin_1_1DDSValidator.html#a0000de49c1671d6b6581e843b2eadec8">wreport::bulletin::DDSValidator::define_raw_character_data</a></div><div class="ttdeci">void define_raw_character_data(Varcode code) override</div><div class="ttdoc">Request processing of C05yyy raw character data. </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>
|