mirror of https://github.com/libAthena/athena.git
149 lines
30 KiB
HTML
149 lines
30 KiB
HTML
|
<!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>Athena IO Library: include/athena/WiiFile.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="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);
|
||
|
$(window).load(resizeHeight);
|
||
|
</script>
|
||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
||
|
<script type="text/javascript" src="search/search.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() { init_search(); });
|
||
|
</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">Athena IO Library
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.11 -->
|
||
|
<script type="text/javascript">
|
||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||
|
</script>
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</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>
|
||
|
<li>
|
||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||
|
<span class="left">
|
||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
alt=""/>
|
||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||
|
</span><span class="right">
|
||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||
|
</span>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||
|
</ul>
|
||
|
</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('_wii_file_8hpp_source.html','');});
|
||
|
</script>
|
||
|
<div id="doc-content">
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
</div>
|
||
|
|
||
|
<!-- iframe showing the search results (closed by default) -->
|
||
|
<div id="MSearchResultsWindow">
|
||
|
<iframe src="javascript:void(0)" frameborder="0"
|
||
|
name="MSearchResults" id="MSearchResults">
|
||
|
</iframe>
|
||
|
</div>
|
||
|
|
||
|
<div class="header">
|
||
|
<div class="headertitle">
|
||
|
<div class="title">WiiFile.hpp</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 WIIFILE_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define WIIFILE_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 <string></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <map></span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "athena/Global.hpp"</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="namespaceathena.html">athena</a></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> {</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">const</span> atUint8 SD_KEY [16] = {0xab, 0x01, 0xb9, 0xd8, 0xe1, 0x62, 0x2b, 0x08, 0xaf, 0xba, 0xd8, 0x4d, 0xbf, 0xc2, 0xa5, 0x5d};</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">const</span> atUint8 SD_IV [16] = {0x21, 0x67, 0x12, 0xe6, 0xaa, 0x1f, 0x68, 0x9f, 0x95, 0xc5, 0xa2, 0x23, 0x24, 0xdc, 0x6a, 0x98};</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">const</span> atUint8 MD5_BLANKER[16] = {0x0e, 0x65, 0x37, 0x81, 0x99, 0xbe, 0x45, 0x17, 0xab, 0x06, 0xec, 0x22, 0x45, 0x1a, 0x57, 0x93};</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classathena_1_1_wii_file.html"> 20</a></span> <span class="keyword">class </span><a class="code" href="classathena_1_1_wii_file.html">WiiFile</a></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> <span class="keyword">public</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classathena_1_1_wii_file.html#afdf9e98a40263fb3ba5171b5163e82eb"> 28</a></span>  <span class="keyword">enum</span> <a class="code" href="classathena_1_1_wii_file.html#afdf9e98a40263fb3ba5171b5163e82eb">Permission</a></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>  OtherRead = 0x01,</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  OtherWrite = 0x02,</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  GroupRead = 0x04,</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  GroupWrite = 0x08,</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  OwnerRead = 0x10,</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  OwnerWrite = 0x20,</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="comment">// Mask values;</span></div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classathena_1_1_wii_file.html#afdf9e98a40263fb3ba5171b5163e82eba804b633798e95da1b6736848762bf192"> 38</a></span>  <a class="code" href="
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html"><div class="ttname"><a href="classathena_1_1_wii_file.html">athena::WiiFile</a></div><div class="ttdoc">Wii file container class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_file_8hpp_source.html#l00020">WiiFile.hpp:20</a></div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_adf0987058f6793bed4facb2d4ef6de32"><div class="ttname"><a href="classathena_1_1_wii_file.html#adf0987058f6793bed4facb2d4ef6de32">athena::WiiFile::removeChild</a></div><div class="ttdeci">void removeChild(const std::string &name)</div><div class="ttdoc">removeChild </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_acf982473deaafa9fc7ba457fc7c7d8b2"><div class="ttname"><a href="classathena_1_1_wii_file.html#acf982473deaafa9fc7ba457fc7c7d8b2">athena::WiiFile::type</a></div><div class="ttdeci">Type type() const </div><div class="ttdoc">type </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_aeee8ccc0390f78e88a26657779c4be26"><div class="ttname"><a href="classathena_1_1_wii_file.html#aeee8ccc0390f78e88a26657779c4be26">athena::WiiFile::length</a></div><div class="ttdeci">int length() const </div><div class="ttdoc">length </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a0cf493ee3e553ab73d631683293532de"><div class="ttname"><a href="classathena_1_1_wii_file.html#a0cf493ee3e553ab73d631683293532de">athena::WiiFile::fileCount</a></div><div class="ttdeci">atUint32 fileCount()</div><div class="ttdoc">fileCount </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a65501e9b953be8b39d6f57175aa92acb"><div class="ttname"><a href="classathena_1_1_wii_file.html#a65501e9b953be8b39d6f57175aa92acb">athena::WiiFile::setData</a></div><div class="ttdeci">void setData(const atUint8 *data)</div><div class="ttdoc">setData </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a90289a4e8e46789e2c5da934cd96f515"><div class="ttname"><a href="classathena_1_1_wii_file.html#a90289a4e8e46789e2c5da934cd96f515">athena::WiiFile::parent</a></div><div class="ttdeci">WiiFile * parent()</div><div class="ttdoc">parent </div></div>
|
||
|
<div class="ttc" id="namespaceathena_html"><div class="ttname"><a href="namespaceathena.html">athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00006">ALTTPEnums.hpp:6</a></div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a02fb6c394ff82cc26602eee6934fc419"><div class="ttname"><a href="classathena_1_1_wii_file.html#a02fb6c394ff82cc26602eee6934fc419">athena::WiiFile::setLength</a></div><div class="ttdeci">void setLength(const int len)</div><div class="ttdoc">setLength </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_af48d1253ed9d411c00a99fa033a1a73d"><div class="ttname"><a href="classathena_1_1_wii_file.html#af48d1253ed9d411c00a99fa033a1a73d">athena::WiiFile::permissions</a></div><div class="ttdeci">atUint8 permissions() const </div><div class="ttdoc">permissions </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a0c306332e612bf3052519bba96874da1"><div class="ttname"><a href="classathena_1_1_wii_file.html#a0c306332e612bf3052519bba96874da1">athena::WiiFile::isDirectory</a></div><div class="ttdeci">bool isDirectory() const </div><div class="ttdoc">isDirectory </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_ab88e399f1a83fa9f67fc971b6fae0e16"><div class="ttname"><a href="classathena_1_1_wii_file.html#ab88e399f1a83fa9f67fc971b6fae0e16">athena::WiiFile::children</a></div><div class="ttdeci">std::vector< WiiFile * > children()</div><div class="ttdoc">children </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a2201d22220d2bccdfd2464cd74ae5773"><div class="ttname"><a href="classathena_1_1_wii_file.html#a2201d22220d2bccdfd2464cd74ae5773">athena::WiiFile::Type</a></div><div class="ttdeci">Type</div><div class="ttdoc">The Type enum. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_file_8hpp_source.html#l00046">WiiFile.hpp:46</a></div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_aef6e70a5b571e7367a61c2ced3bb7a93"><div class="ttname"><a href="classathena_1_1_wii_file.html#aef6e70a5b571e7367a61c2ced3bb7a93">athena::WiiFile::fullpath</a></div><div class="ttdeci">std::string fullpath()</div><div class="ttdoc">fullpath </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a22b46c3f155b46da7a7fe74ab84cbeb3"><div class="ttname"><a href="classathena_1_1_wii_file.html#a22b46c3f155b46da7a7fe74ab84cbeb3">athena::WiiFile::attributes</a></div><div class="ttdeci">atUint8 attributes() const </div><div class="ttdoc">attributes </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a037673d0adad87b35a5064176ddf516f"><div class="ttname"><a href="classathena_1_1_wii_file.html#a037673d0adad87b35a5064176ddf516f">athena::WiiFile::setType</a></div><div class="ttdeci">void setType(Type type)</div><div class="ttdoc">setType </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_afdf9e98a40263fb3ba5171b5163e82eba804b633798e95da1b6736848762bf192"><div class="ttname"><a href="classathena_1_1_wii_file.html#afdf9e98a40263fb3ba5171b5163e82eba804b633798e95da1b6736848762bf192">athena::WiiFile::OtherRW</a></div><div class="ttdoc">Mask to get the Other group permissions. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_file_8hpp_source.html#l00038">WiiFile.hpp:38</a></div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a6d5fb379e976d81c6efdefc37f085d4f"><div class="ttname"><a href="classathena_1_1_wii_file.html#a6d5fb379e976d81c6efdefc37f085d4f">athena::WiiFile::isFile</a></div><div class="ttdeci">bool isFile() const </div><div class="ttdoc">isFile </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_afdf9e98a40263fb3ba5171b5163e82eb"><div class="ttname"><a href="classathena_1_1_wii_file.html#afdf9e98a40263fb3ba5171b5163e82eb">athena::WiiFile::Permission</a></div><div class="ttdeci">Permission</div><div class="ttdoc">The Wii uses a bastardized unix permissions system so these flags reflect the file&#39;s individual permi...</div><div class="ttdef"><b>Definition:</b> <a href="_wii_file_8hpp_source.html#l00028">WiiFile.hpp:28</a></div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a2c83eb30d535f22a195ee425306b83c1"><div class="ttname"><a href="classathena_1_1_wii_file.html#a2c83eb30d535f22a195ee425306b83c1">athena::WiiFile::allChildren</a></div><div class="ttdeci">std::vector< WiiFile * > allChildren()</div><div class="ttdoc">allChildren </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a76fb22d1413746e0bd5373769af7b011"><div class="ttname"><a href="classathena_1_1_wii_file.html#a76fb22d1413746e0bd5373769af7b011">athena::WiiFile::setParent</a></div><div class="ttdeci">void setParent(WiiFile *parent)</div><div class="ttdoc">setParent </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a3408808610bc81ae98b64710268f596a"><div class="ttname"><a href="classathena_1_1_wii_file.html#a3408808610bc81ae98b64710268f596a">athena::WiiFile::setPermissions</a></div><div class="ttdeci">void setPermissions(const atUint8 permissions)</div><div class="ttdoc">setPermissions </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a51cbbe44837af2cbb93069b5aada52fe"><div class="ttname"><a href="classathena_1_1_wii_file.html#a51cbbe44837af2cbb93069b5aada52fe">athena::WiiFile::addChild</a></div><div class="ttdeci">void addChild(WiiFile *file)</div><div class="ttdoc">addChild </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_adc0abac88fa54005364a378d51649204"><div class="ttname"><a href="classathena_1_1_wii_file.html#adc0abac88fa54005364a378d51649204">athena::WiiFile::setFilename</a></div><div class="ttdeci">void setFilename(const std::string &filename)</div><div class="ttdoc">setFilename </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a2a3188f658f820328c713b020f6bed4a"><div class="ttname"><a href="classathena_1_1_wii_file.html#a2a3188f658f820328c713b020f6bed4a">athena::WiiFile::setAttributes</a></div><div class="ttdeci">void setAttributes(const atUint8 attr)</div><div class="ttdoc">setAttributes </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_a9fd2d5a9057edd99e04b18a481026939"><div class="ttname"><a href="classathena_1_1_wii_file.html#a9fd2d5a9057edd99e04b18a481026939">athena::WiiFile::filename</a></div><div class="ttdeci">std::string filename() const </div><div class="ttdoc">filename </div></div>
|
||
|
<div class="ttc" id="classathena_1_1_wii_file_html_ae88735681171aa7b231a1c0ee29ac18d"><div class="ttname"><a href="classathena_1_1_wii_file.html#ae88735681171aa7b231a1c0ee29ac18d">athena::WiiFile::child</a></div><div class="ttdeci">WiiFile * child(const std::string &name)</div><div class="ttdoc">child </div></div>
|
||
|
</div><!-- fragment --></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="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_9b3fbfcb7fc609b7105d1ff63111043b.html">athena</a></li><li class="navelem"><b>WiiFile.hpp</b></li>
|
||
|
<li class="footer">Generated on Sat Sep 17 2016 13:10:08 for Athena IO Library by
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|