This file is indexed.

/usr/share/doc/libucommon-dev/a00188_source.html is in libucommon-doc 3.2.0-0ubuntu1.

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
<!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>UCommon: ucommon/bitmap.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></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>Globals</span></a></li>
    </ul>
  </div>
<h1>ucommon/bitmap.h</h1><a href="a00188.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2006-2010 David Sugar, Tycho Softworks.</span>
<a name="l00002"></a>00002 <span class="comment">//</span>
<a name="l00003"></a>00003 <span class="comment">// This file is part of GNU uCommon C++.</span>
<a name="l00004"></a>00004 <span class="comment">//</span>
<a name="l00005"></a>00005 <span class="comment">// GNU uCommon C++ is free software: you can redistribute it and/or modify</span>
<a name="l00006"></a>00006 <span class="comment">// it under the terms of the GNU Lesser General Public License as published </span>
<a name="l00007"></a>00007 <span class="comment">// by the Free Software Foundation, either version 3 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment">// (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment">//</span>
<a name="l00010"></a>00010 <span class="comment">// GNU uCommon C++ is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00013"></a>00013 <span class="comment">// GNU Lesser General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment">//</span>
<a name="l00015"></a>00015 <span class="comment">// You should have received a copy of the GNU Lesser General Public License</span>
<a name="l00016"></a>00016 <span class="comment">// along with GNU uCommon C++.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span>
<a name="l00017"></a>00017 
<a name="l00026"></a>00026 <span class="preprocessor">#ifndef _UCOMMON_BITMAP_H_</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define _UCOMMON_BITMAP_H_</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span>
<a name="l00029"></a>00029 <span class="preprocessor">#ifndef _UCOMMON_CONFIG_H_</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="a00201.html" title="Various miscelanous platform specific headers and defines.">ucommon/platform.h</a>&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#endif</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 NAMESPACE_UCOMMON
<a name="l00034"></a>00034 
<a name="l00051"></a><a class="code" href="a00033.html">00051</a> <span class="keyword">class </span>__EXPORT <a class="code" href="a00033.html" title="A class to access bit fields in external bitmaps.">bitmap</a>
<a name="l00052"></a>00052 {
<a name="l00053"></a>00053 <span class="keyword">protected</span>:
<a name="l00054"></a>00054     <span class="keywordtype">size_t</span> size;
<a name="l00055"></a>00055 
<a name="l00056"></a>00056     <span class="keyword">typedef</span> <span class="keyword">union</span>
<a name="l00057"></a>00057     {
<a name="l00058"></a>00058         <span class="keywordtype">void</span> *a;
<a name="l00059"></a>00059         uint8_t *b;
<a name="l00060"></a>00060         uint16_t *w;
<a name="l00061"></a>00061         uint32_t *l;
<a name="l00062"></a>00062         uint64_t *d;
<a name="l00063"></a>00063     }   addr_t;
<a name="l00064"></a>00064 
<a name="l00065"></a>00065     addr_t <a class="code" href="a00214.html#a808c8560ceaca5f9237fb473c0f748f2" title="A convenience function to convert a socket address list into a socket address.">addr</a>;
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 <span class="keyword">public</span>:
<a name="l00071"></a><a class="code" href="a00033.html#af48da17e516f6c6ab7e16021e38b4a54">00071</a>     <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00072"></a><a class="code" href="a00033.html#af48da17e516f6c6ab7e16021e38b4a54a94ec75f939aa806686aba6e0782a254b">00072</a>         BMALLOC,    
<a name="l00073"></a><a class="code" href="a00033.html#af48da17e516f6c6ab7e16021e38b4a54a72926c53349714f7464bba6721aa5288">00073</a>         B8,         
<a name="l00074"></a><a class="code" href="a00033.html#af48da17e516f6c6ab7e16021e38b4a54a995e771179d3ed4f4e445c55ec216d45">00074</a>         B16,        
<a name="l00075"></a><a class="code" href="a00033.html#af48da17e516f6c6ab7e16021e38b4a54a6f111e67bc523aca5d0b78efb4c832f8">00075</a>         B32,        
<a name="l00076"></a><a class="code" href="a00033.html#af48da17e516f6c6ab7e16021e38b4a54acede684262a8eb67310f84e959f3f574">00076</a>         B64,        
<a name="l00077"></a>00077         BMIN = BMALLOC,
<a name="l00078"></a>00078         BMAX = B64
<a name="l00079"></a>00079     } bus_t;
<a name="l00080"></a>00080 
<a name="l00081"></a>00081 <span class="keyword">protected</span>:
<a name="l00082"></a>00082     bus_t bus;
<a name="l00083"></a>00083 
<a name="l00084"></a>00084     <span class="keywordtype">unsigned</span> memsize(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00085"></a>00085 
<a name="l00086"></a>00086 <span class="keyword">public</span>:
<a name="l00093"></a>00093     <a class="code" href="a00033.html" title="A class to access bit fields in external bitmaps.">bitmap</a>(<span class="keywordtype">void</span> *<a class="code" href="a00214.html#a808c8560ceaca5f9237fb473c0f748f2" title="A convenience function to convert a socket address list into a socket address.">addr</a>, <span class="keywordtype">size_t</span> length, bus_t size = B8); 
<a name="l00094"></a>00094 
<a name="l00100"></a>00100     <a class="code" href="a00033.html" title="A class to access bit fields in external bitmaps.">bitmap</a>(<span class="keywordtype">size_t</span> length);
<a name="l00101"></a>00101 
<a name="l00107"></a>00107     ~<a class="code" href="a00033.html" title="A class to access bit fields in external bitmaps.">bitmap</a>();
<a name="l00108"></a>00108 
<a name="l00112"></a>00112     <span class="keywordtype">void</span> clear(<span class="keywordtype">void</span>);
<a name="l00113"></a>00113 
<a name="l00119"></a>00119     <span class="keywordtype">bool</span> <span class="keyword">get</span>(<span class="keywordtype">size_t</span> offset) <span class="keyword">const</span>;
<a name="l00120"></a>00120 
<a name="l00126"></a>00126     <span class="keywordtype">void</span> <span class="keyword">set</span>(<span class="keywordtype">size_t</span> offset, <span class="keywordtype">bool</span> value);
<a name="l00127"></a>00127 };
<a name="l00128"></a>00128 
<a name="l00129"></a>00129 END_NAMESPACE
<a name="l00130"></a>00130 
<a name="l00131"></a>00131 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Jul 6 08:22:01 2010 for UCommon by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>