/usr/share/doc/libgig-dev/html/classDiskImage.html is in libgig-doc 4.1.0~repack-2.
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 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | <!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libgig: DiskImage Class Reference</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</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">libgig
 <span id="projectnumber">4.1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classDiskImage.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="classDiskImage-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">DiskImage Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Accessing AKAI image either from file or a drive (i.e.
<a href="classDiskImage.html#details">More...</a></p>
<p><code>#include <<a class="el" href="Akai_8h_source.html">Akai.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae3a24ed984954d30ee8d606c31b4de9f"><td class="memItemLeft" align="right" valign="top"><a id="ae3a24ed984954d30ee8d606c31b4de9f"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskImage.html#ae3a24ed984954d30ee8d606c31b4de9f">DiskImage</a> (const char *path)</td></tr>
<tr class="memdesc:ae3a24ed984954d30ee8d606c31b4de9f"><td class="mdescLeft"> </td><td class="mdescRight">Open an image from a file. <br /></td></tr>
<tr class="separator:ae3a24ed984954d30ee8d606c31b4de9f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae9aeca1ba4c02fe0ce990710dd68a884"><td class="memItemLeft" align="right" valign="top"><a id="ae9aeca1ba4c02fe0ce990710dd68a884"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskImage.html#ae9aeca1ba4c02fe0ce990710dd68a884">DiskImage</a> (int disk)</td></tr>
<tr class="memdesc:ae9aeca1ba4c02fe0ce990710dd68a884"><td class="mdescLeft"> </td><td class="mdescRight">Open an image from a device number (0='a:', 1='b:', etc...). <br /></td></tr>
<tr class="separator:ae9aeca1ba4c02fe0ce990710dd68a884"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa6de801c063d8ada5376ad9b78b5557f"><td class="memItemLeft" align="right" valign="top"><a id="aa6de801c063d8ada5376ad9b78b5557f"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskImage.html#aa6de801c063d8ada5376ad9b78b5557f">WriteImage</a> (const char *path)</td></tr>
<tr class="memdesc:aa6de801c063d8ada5376ad9b78b5557f"><td class="mdescLeft"> </td><td class="mdescRight">Extract Akai data track and write it into a regular file. <br /></td></tr>
<tr class="separator:aa6de801c063d8ada5376ad9b78b5557f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a353171a607b49ccbdaedef0a4e4e3176"><td class="memItemLeft" align="right" valign="top"><a id="a353171a607b49ccbdaedef0a4e4e3176"></a>
virtual akai_stream_state_t </td><td class="memItemRight" valign="bottom"><b>GetState</b> () const</td></tr>
<tr class="separator:a353171a607b49ccbdaedef0a4e4e3176"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ae4b656842d051b7434e4028b3697ab"><td class="memItemLeft" align="right" valign="top"><a id="a5ae4b656842d051b7434e4028b3697ab"></a>
virtual int </td><td class="memItemRight" valign="bottom"><b>GetPos</b> () const</td></tr>
<tr class="separator:a5ae4b656842d051b7434e4028b3697ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac56a3f0e03e4819416a5567424a5e29c"><td class="memItemLeft" align="right" valign="top"><a id="ac56a3f0e03e4819416a5567424a5e29c"></a>
virtual int </td><td class="memItemRight" valign="bottom"><b>SetPos</b> (int Where, akai_stream_whence_t Whence=akai_stream_start)</td></tr>
<tr class="separator:ac56a3f0e03e4819416a5567424a5e29c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b6dfa961ca8c9c386b806e4bcb99afb"><td class="memItemLeft" align="right" valign="top"><a id="a3b6dfa961ca8c9c386b806e4bcb99afb"></a>
virtual int </td><td class="memItemRight" valign="bottom"><b>Available</b> (uint WordSize=1)</td></tr>
<tr class="separator:a3b6dfa961ca8c9c386b806e4bcb99afb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabb7072f7ed762b65438c180d4409eac"><td class="memItemLeft" align="right" valign="top"><a id="aabb7072f7ed762b65438c180d4409eac"></a>
virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskImage.html#aabb7072f7ed762b65438c180d4409eac">Read</a> (void *pData, uint WordCount, uint WordSize)</td></tr>
<tr class="memdesc:aabb7072f7ed762b65438c180d4409eac"><td class="mdescLeft"> </td><td class="mdescRight">Returns number of successfully read words. <br /></td></tr>
<tr class="separator:aabb7072f7ed762b65438c180d4409eac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af29b23185c4522fa80ba31b3e1ab99e5"><td class="memItemLeft" align="right" valign="top"><a id="af29b23185c4522fa80ba31b3e1ab99e5"></a>
void </td><td class="memItemRight" valign="bottom"><b>ReadInt8</b> (uint8_t *pData, uint WordCount)</td></tr>
<tr class="separator:af29b23185c4522fa80ba31b3e1ab99e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a645315bd247f6db2fea45ed7a0b516bc"><td class="memItemLeft" align="right" valign="top"><a id="a645315bd247f6db2fea45ed7a0b516bc"></a>
void </td><td class="memItemRight" valign="bottom"><b>ReadInt16</b> (uint16_t *pData, uint WordCount)</td></tr>
<tr class="separator:a645315bd247f6db2fea45ed7a0b516bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaa56b4c0ae9492748b04e0585d1bf0b9"><td class="memItemLeft" align="right" valign="top"><a id="aaa56b4c0ae9492748b04e0585d1bf0b9"></a>
void </td><td class="memItemRight" valign="bottom"><b>ReadInt32</b> (uint32_t *pData, uint WordCount)</td></tr>
<tr class="separator:aaa56b4c0ae9492748b04e0585d1bf0b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a797ebdef6d63d1a392f2a70eeb56818b"><td class="memItemLeft" align="right" valign="top"><a id="a797ebdef6d63d1a392f2a70eeb56818b"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskImage.html#a797ebdef6d63d1a392f2a70eeb56818b">ReadInt8</a> (uint8_t *pData)</td></tr>
<tr class="memdesc:a797ebdef6d63d1a392f2a70eeb56818b"><td class="mdescLeft"> </td><td class="mdescRight">Returns number of successfully read 8 Bit words. <br /></td></tr>
<tr class="separator:a797ebdef6d63d1a392f2a70eeb56818b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ba0ace9d66c45da60850eebdca219b2"><td class="memItemLeft" align="right" valign="top"><a id="a3ba0ace9d66c45da60850eebdca219b2"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskImage.html#a3ba0ace9d66c45da60850eebdca219b2">ReadInt16</a> (uint16_t *pData)</td></tr>
<tr class="memdesc:a3ba0ace9d66c45da60850eebdca219b2"><td class="mdescLeft"> </td><td class="mdescRight">Returns number of successfully read 16 Bit words. <br /></td></tr>
<tr class="separator:a3ba0ace9d66c45da60850eebdca219b2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6a8317771b28d3e1f3d5a61560fa54d0"><td class="memItemLeft" align="right" valign="top"><a id="a6a8317771b28d3e1f3d5a61560fa54d0"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskImage.html#a6a8317771b28d3e1f3d5a61560fa54d0">ReadInt32</a> (uint32_t *pData)</td></tr>
<tr class="memdesc:a6a8317771b28d3e1f3d5a61560fa54d0"><td class="mdescLeft"> </td><td class="mdescRight">Returns number of successfully read 32 Bit words. <br /></td></tr>
<tr class="separator:a6a8317771b28d3e1f3d5a61560fa54d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ca6f59b1394f832a8f8786ebca70e87"><td class="memItemLeft" align="right" valign="top"><a id="a1ca6f59b1394f832a8f8786ebca70e87"></a>
uint8_t </td><td class="memItemRight" valign="bottom"><b>ReadInt8</b> ()</td></tr>
<tr class="separator:a1ca6f59b1394f832a8f8786ebca70e87"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a42ae0669d9f256be5e09eafea2cb27aa"><td class="memItemLeft" align="right" valign="top"><a id="a42ae0669d9f256be5e09eafea2cb27aa"></a>
uint16_t </td><td class="memItemRight" valign="bottom"><b>ReadInt16</b> ()</td></tr>
<tr class="separator:a42ae0669d9f256be5e09eafea2cb27aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a417d216e2e21d6914c7a03619480f738"><td class="memItemLeft" align="right" valign="top"><a id="a417d216e2e21d6914c7a03619480f738"></a>
uint32_t </td><td class="memItemRight" valign="bottom"><b>ReadInt32</b> ()</td></tr>
<tr class="separator:a417d216e2e21d6914c7a03619480f738"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a16556039a557dda3a64ecedd458125d5"><td class="memItemLeft" align="right" valign="top"><a id="a16556039a557dda3a64ecedd458125d5"></a>
virtual uint </td><td class="memItemRight" valign="bottom"><b>GetError</b> () const</td></tr>
<tr class="separator:a16556039a557dda3a64ecedd458125d5"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a5f65fb4d38b8c2d4e38fdf5125f1bd64"><td class="memItemLeft" align="right" valign="top"><a id="a5f65fb4d38b8c2d4e38fdf5125f1bd64"></a>
void </td><td class="memItemRight" valign="bottom"><b>OpenStream</b> (const char *path)</td></tr>
<tr class="separator:a5f65fb4d38b8c2d4e38fdf5125f1bd64"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a2f1551be5ff16155ef6a2e4c223eb9"><td class="memItemLeft" align="right" valign="top"><a id="a2a2f1551be5ff16155ef6a2e4c223eb9"></a>
void </td><td class="memItemRight" valign="bottom"><b>swapBytes_16</b> (void *Word)</td></tr>
<tr class="separator:a2a2f1551be5ff16155ef6a2e4c223eb9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1f81e20fd1703a5e59218de6ccfa1934"><td class="memItemLeft" align="right" valign="top"><a id="a1f81e20fd1703a5e59218de6ccfa1934"></a>
void </td><td class="memItemRight" valign="bottom"><b>swapBytes_32</b> (void *Word)</td></tr>
<tr class="separator:a1f81e20fd1703a5e59218de6ccfa1934"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a7632aa3d223233764d5a8094494a8d78"><td class="memItemLeft" align="right" valign="top"><a id="a7632aa3d223233764d5a8094494a8d78"></a>
int </td><td class="memItemRight" valign="bottom"><b>mFile</b></td></tr>
<tr class="separator:a7632aa3d223233764d5a8094494a8d78"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa7146b2c1d67b0e28513438680752d51"><td class="memItemLeft" align="right" valign="top"><a id="aa7146b2c1d67b0e28513438680752d51"></a>
bool </td><td class="memItemRight" valign="bottom"><b>mRegularFile</b></td></tr>
<tr class="separator:aa7146b2c1d67b0e28513438680752d51"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b68515ae5e4b8172d7ba8be48d64c62"><td class="memItemLeft" align="right" valign="top"><a id="a4b68515ae5e4b8172d7ba8be48d64c62"></a>
int </td><td class="memItemRight" valign="bottom"><b>mPos</b></td></tr>
<tr class="separator:a4b68515ae5e4b8172d7ba8be48d64c62"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a45c79a3bec64be24325eb0ae813b9267"><td class="memItemLeft" align="right" valign="top"><a id="a45c79a3bec64be24325eb0ae813b9267"></a>
int </td><td class="memItemRight" valign="bottom"><b>mCluster</b></td></tr>
<tr class="separator:a45c79a3bec64be24325eb0ae813b9267"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a41daed1a9999188217f0c96b5c2b9a93"><td class="memItemLeft" align="right" valign="top"><a id="a41daed1a9999188217f0c96b5c2b9a93"></a>
int </td><td class="memItemRight" valign="bottom"><b>mClusterSize</b></td></tr>
<tr class="separator:a41daed1a9999188217f0c96b5c2b9a93"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d32729a6bcb939de6812817f53e1fbc"><td class="memItemLeft" align="right" valign="top"><a id="a5d32729a6bcb939de6812817f53e1fbc"></a>
int </td><td class="memItemRight" valign="bottom"><b>mSize</b></td></tr>
<tr class="separator:a5d32729a6bcb939de6812817f53e1fbc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad47ab71bd41101be3c5ba4a66258105a"><td class="memItemLeft" align="right" valign="top"><a id="ad47ab71bd41101be3c5ba4a66258105a"></a>
int </td><td class="memItemRight" valign="bottom"><b>mStartFrame</b></td></tr>
<tr class="separator:ad47ab71bd41101be3c5ba4a66258105a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1f49de8092cca8ff01d9845dbae27243"><td class="memItemLeft" align="right" valign="top"><a id="a1f49de8092cca8ff01d9845dbae27243"></a>
int </td><td class="memItemRight" valign="bottom"><b>mEndFrame</b></td></tr>
<tr class="separator:a1f49de8092cca8ff01d9845dbae27243"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ca39911d755abb8368d57c5a4993e87"><td class="memItemLeft" align="right" valign="top"><a id="a9ca39911d755abb8368d57c5a4993e87"></a>
char * </td><td class="memItemRight" valign="bottom"><b>mpCache</b></td></tr>
<tr class="separator:a9ca39911d755abb8368d57c5a4993e87"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Accessing AKAI image either from file or a drive (i.e. </p>
<p>CDROM).</p>
<p>This class implements a hardware abstraction layer, providing an abstract streaming API to read from AKAI data images, no matter if the AKAI image is already available as image file or whether the respective hardware drive needs to be accessed directly (i.e. CDROM drive, ZIP drive). So the main task of this class is isolating operating system dependent file/hardware access. </p>
<p class="definition">Definition at line <a class="el" href="Akai_8h_source.html#l00108">108</a> of file <a class="el" href="Akai_8h_source.html">Akai.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="Akai_8h_source.html">Akai.h</a></li>
<li><a class="el" href="Akai_8cpp_source.html">Akai.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="classDiskImage.html">DiskImage</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>
|