This file is indexed.

/usr/share/doc/libcupt3-doc/html/sourceversion_8hpp_source.html is in libcupt3-doc 2.8.4.

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
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!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.8"/>
<title>Cupt: cupt/cache/sourceversion.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Cupt
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_624754ba24599b6ed9aabda614b55fb5.html">cupt</a></li><li class="navelem"><a class="el" href="dir_c2d2c132e9e9cde4bf83b55a43191f02.html">cache</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">sourceversion.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="sourceversion_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/**************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">*   Copyright (C) 2010 by Eugene V. Lyubimkin                             *</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">*                                                                         *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">*   This program is free software; you can redistribute it and/or modify  *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">*   it under the terms of the GNU General Public License                  *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">*   (version 3 or above) as published by the Free Software Foundation.    *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">*                                                                         *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">*   This program is distributed in the hope that it will be useful,       *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">*   but WITHOUT ANY WARRANTY; without even the implied warranty of        *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">*   GNU General Public License for more details.                          *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">*                                                                         *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">*   You should have received a copy of the GNU GPL                        *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">*   along with this program; if not, write to the                         *</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">*   Free Software Foundation, Inc.,                                       *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">*   51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA               *</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">**************************************************************************/</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef CUPT_CACHE_SOURCEVERSION_SEEN</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#define CUPT_CACHE_SOURCEVERSION_SEEN</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="hashsums_8hpp.html">cupt/hashsums.hpp</a>&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="version_8hpp.html">cupt/cache/version.hpp</a>&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="relation_8hpp.html">cupt/cache/relation.hpp</a>&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecupt.html">cupt</a> {</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">namespace </span>cache {</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion.html">   31</a></span>&#160;<span class="keyword">struct </span>CUPT_API <a class="code" href="structcupt_1_1cache_1_1SourceVersion.html">SourceVersion</a>: <span class="keyword">public</span> <a class="code" href="structcupt_1_1cache_1_1Version.html">Version</a></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion_1_1RelationTypes.html">   34</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structcupt_1_1cache_1_1SourceVersion_1_1RelationTypes.html">RelationTypes</a></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    {</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion_1_1RelationTypes.html#a5a4a5704c009baac9015f08fbccffef8">   37</a></span>&#160;        <span class="keyword">enum</span> <a class="code" href="structcupt_1_1cache_1_1SourceVersion_1_1RelationTypes.html#a5a4a5704c009baac9015f08fbccffef8">Type</a> { BuildDepends, BuildDependsIndep, BuildConflicts, BuildConflictsIndep, Count };</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion_1_1RelationTypes.html#aafd1fd0d0e609d47b1936043818cb654">   38</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">string</span> strings[]; </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion_1_1RelationTypes.html#a48cd5a1f695d62e7be1d55324d6c6e99">   39</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* rawStrings[]; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    };</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion_1_1FileParts.html">   45</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structcupt_1_1cache_1_1SourceVersion_1_1FileParts.html">FileParts</a></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    {</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion_1_1FileParts.html#af3b5bdefc8744847fc8d89e4c1d8dbda">   48</a></span>&#160;        <span class="keyword">enum</span> <a class="code" href="structcupt_1_1cache_1_1SourceVersion_1_1FileParts.html#af3b5bdefc8744847fc8d89e4c1d8dbda">Type</a> { Tarball, Diff, Dsc, Count };</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion_1_1FileParts.html#aae05e5d401d856cda93f0e47c4f4e489">   49</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">string</span> strings[]; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    };</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion.html#a532fd8c4709b560d34bd522d45c28692">   51</a></span>&#160;    <a class="code" href="structcupt_1_1cache_1_1ArchitecturedRelationLine.html">ArchitecturedRelationLine</a> relations[RelationTypes::Count]; </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion.html#aa8ddf070b399b2964e6b6b983bc69e85">   52</a></span>&#160;    vector&lt; FileRecord &gt; files[FileParts::Count]; </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion.html#a6907e6222e27c38e125a2c5499723f20">   53</a></span>&#160;    vector&lt; string &gt; <a class="code" href="structcupt_1_1cache_1_1SourceVersion.html#a6907e6222e27c38e125a2c5499723f20">uploaders</a>; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion.html#a5bb69bd0a083466c1c41650c52646bd6">   54</a></span>&#160;    vector&lt; string &gt; <a class="code" href="structcupt_1_1cache_1_1SourceVersion.html#a5bb69bd0a083466c1c41650c52646bd6">binaryPackageNames</a>; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structcupt_1_1cache_1_1SourceVersion.html#a1fc288a8e3157f44f776ee9baf47d4fa">   55</a></span>&#160;    vector&lt; string &gt; <a class="code" href="structcupt_1_1cache_1_1SourceVersion.html#a1fc288a8e3157f44f776ee9baf47d4fa">architectures</a>; </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> areHashesEqual(<span class="keyword">const</span> <a class="code" href="structcupt_1_1cache_1_1Version.html">Version</a>* other) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;};</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;} <span class="comment">// namespace</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;} <span class="comment">// namespace</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="ttc" id="structcupt_1_1cache_1_1SourceVersion_html_a1fc288a8e3157f44f776ee9baf47d4fa"><div class="ttname"><a href="structcupt_1_1cache_1_1SourceVersion.html#a1fc288a8e3157f44f776ee9baf47d4fa">cupt::cache::SourceVersion::architectures</a></div><div class="ttdeci">vector&lt; string &gt; architectures</div><div class="ttdoc">array of binary architectures on which this source version may be built </div><div class="ttdef"><b>Definition:</b> sourceversion.hpp:55</div></div>
<div class="ttc" id="structcupt_1_1cache_1_1SourceVersion_html_a6907e6222e27c38e125a2c5499723f20"><div class="ttname"><a href="structcupt_1_1cache_1_1SourceVersion.html#a6907e6222e27c38e125a2c5499723f20">cupt::cache::SourceVersion::uploaders</a></div><div class="ttdeci">vector&lt; string &gt; uploaders</div><div class="ttdoc">array of uploaders </div><div class="ttdef"><b>Definition:</b> sourceversion.hpp:53</div></div>
<div class="ttc" id="structcupt_1_1cache_1_1SourceVersion_1_1RelationTypes_html_a5a4a5704c009baac9015f08fbccffef8"><div class="ttname"><a href="structcupt_1_1cache_1_1SourceVersion_1_1RelationTypes.html#a5a4a5704c009baac9015f08fbccffef8">cupt::cache::SourceVersion::RelationTypes::Type</a></div><div class="ttdeci">Type</div><div class="ttdoc">type </div><div class="ttdef"><b>Definition:</b> sourceversion.hpp:37</div></div>
<div class="ttc" id="namespacecupt_html"><div class="ttname"><a href="namespacecupt.html">cupt</a></div><div class="ttdef"><b>Definition:</b> binarypackage.hpp:26</div></div>
<div class="ttc" id="structcupt_1_1cache_1_1SourceVersion_1_1RelationTypes_html"><div class="ttname"><a href="structcupt_1_1cache_1_1SourceVersion_1_1RelationTypes.html">cupt::cache::SourceVersion::RelationTypes</a></div><div class="ttdoc">build-time relation types between source version and binary versions </div><div class="ttdef"><b>Definition:</b> sourceversion.hpp:34</div></div>
<div class="ttc" id="structcupt_1_1cache_1_1Version_html"><div class="ttname"><a href="structcupt_1_1cache_1_1Version.html">cupt::cache::Version</a></div><div class="ttdoc">common version information </div><div class="ttdef"><b>Definition:</b> version.hpp:39</div></div>
<div class="ttc" id="structcupt_1_1cache_1_1SourceVersion_html_a5bb69bd0a083466c1c41650c52646bd6"><div class="ttname"><a href="structcupt_1_1cache_1_1SourceVersion.html#a5bb69bd0a083466c1c41650c52646bd6">cupt::cache::SourceVersion::binaryPackageNames</a></div><div class="ttdeci">vector&lt; string &gt; binaryPackageNames</div><div class="ttdoc">array of binary package names, which are built out of </div><div class="ttdef"><b>Definition:</b> sourceversion.hpp:54</div></div>
<div class="ttc" id="relation_8hpp_html"><div class="ttname"><a href="relation_8hpp.html">relation.hpp</a></div></div>
<div class="ttc" id="hashsums_8hpp_html"><div class="ttname"><a href="hashsums_8hpp.html">hashsums.hpp</a></div></div>
<div class="ttc" id="structcupt_1_1cache_1_1SourceVersion_1_1FileParts_html_af3b5bdefc8744847fc8d89e4c1d8dbda"><div class="ttname"><a href="structcupt_1_1cache_1_1SourceVersion_1_1FileParts.html#af3b5bdefc8744847fc8d89e4c1d8dbda">cupt::cache::SourceVersion::FileParts::Type</a></div><div class="ttdeci">Type</div><div class="ttdoc">type </div><div class="ttdef"><b>Definition:</b> sourceversion.hpp:48</div></div>
<div class="ttc" id="structcupt_1_1cache_1_1ArchitecturedRelationLine_html"><div class="ttname"><a href="structcupt_1_1cache_1_1ArchitecturedRelationLine.html">cupt::cache::ArchitecturedRelationLine</a></div><div class="ttdoc">array of architectured relation expressions </div><div class="ttdef"><b>Definition:</b> relation.hpp:200</div></div>
<div class="ttc" id="structcupt_1_1cache_1_1SourceVersion_1_1FileParts_html"><div class="ttname"><a href="structcupt_1_1cache_1_1SourceVersion_1_1FileParts.html">cupt::cache::SourceVersion::FileParts</a></div><div class="ttdoc">file parts </div><div class="ttdef"><b>Definition:</b> sourceversion.hpp:45</div></div>
<div class="ttc" id="structcupt_1_1cache_1_1SourceVersion_html"><div class="ttname"><a href="structcupt_1_1cache_1_1SourceVersion.html">cupt::cache::SourceVersion</a></div><div class="ttdoc">source version info </div><div class="ttdef"><b>Definition:</b> sourceversion.hpp:31</div></div>
<div class="ttc" id="version_8hpp_html"><div class="ttname"><a href="version_8hpp.html">version.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Oct 19 2014 18:02:59 for Cupt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>