athena/classathena_1_1_wii_file.html

850 lines
41 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: athena::WiiFile 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);
$(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&#160;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><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="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</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('classathena_1_1_wii_file.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="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classathena_1_1_wii_file-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">athena::WiiFile Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Wii file container class.
<a href="classathena_1_1_wii_file.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_wii_file_8hpp_source.html">WiiFile.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for athena::WiiFile:</div>
<div class="dyncontent">
<div class="center"><img src="classathena_1_1_wii_file__coll__graph.png" border="0" usemap="#athena_1_1_wii_file_coll__map" alt="Collaboration graph"/></div>
<map name="athena_1_1_wii_file_coll__map" id="athena_1_1_wii_file_coll__map">
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:afdf9e98a40263fb3ba5171b5163e82eb"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#afdf9e98a40263fb3ba5171b5163e82eb">Permission</a> { <br />
&#160;&#160;<b>OtherRead</b> = 0x01,
<b>OtherWrite</b> = 0x02,
<b>GroupRead</b> = 0x04,
<b>GroupWrite</b> = 0x08,
<br />
&#160;&#160;<b>OwnerRead</b> = 0x10,
<b>OwnerWrite</b> = 0x20,
<a class="el" href="classathena_1_1_wii_file.html#afdf9e98a40263fb3ba5171b5163e82eba804b633798e95da1b6736848762bf192">OtherRW</a> = (OtherRead | OtherWrite),
<b>GroupRW</b> = (GroupRead | GroupWrite),
<br />
&#160;&#160;<b>OwnerRW</b> = (OwnerRead | OwnerWrite)
<br />
}<tr class="memdesc:afdf9e98a40263fb3ba5171b5163e82eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Wii uses a bastardized unix permissions system so these flags reflect the file's individual permissions. <a href="classathena_1_1_wii_file.html#afdf9e98a40263fb3ba5171b5163e82eb">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:afdf9e98a40263fb3ba5171b5163e82eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2201d22220d2bccdfd2464cd74ae5773"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2201d22220d2bccdfd2464cd74ae5773"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a2201d22220d2bccdfd2464cd74ae5773">Type</a> { <b>File</b> = 0x01,
<b>Directory</b> = 0x02
}<tr class="memdesc:a2201d22220d2bccdfd2464cd74ae5773"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Type enum. <br /></td></tr>
</td></tr>
<tr class="separator:a2201d22220d2bccdfd2464cd74ae5773"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a7a387bcb833549f07d6276dd928ac275"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a7a387bcb833549f07d6276dd928ac275">WiiFile</a> (const std::string &amp;<a class="el" href="classathena_1_1_wii_file.html#a9fd2d5a9057edd99e04b18a481026939">filename</a>)</td></tr>
<tr class="memdesc:a7a387bcb833549f07d6276dd928ac275"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classathena_1_1_wii_file.html" title="Wii file container class. ">WiiFile</a>. <a href="#a7a387bcb833549f07d6276dd928ac275">More...</a><br /></td></tr>
<tr class="separator:a7a387bcb833549f07d6276dd928ac275"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe1527d489ffc14e39d447c15aec8763"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#abe1527d489ffc14e39d447c15aec8763">WiiFile</a> (const std::string &amp;<a class="el" href="classathena_1_1_wii_file.html#a9fd2d5a9057edd99e04b18a481026939">filename</a>, atUint8 <a class="el" href="classathena_1_1_wii_file.html#af48d1253ed9d411c00a99fa033a1a73d">permissions</a>, const atUint8 *<a class="el" href="classathena_1_1_wii_file.html#af7af632f51bdb537b35869639650ad84">data</a>, atUint32 <a class="el" href="classathena_1_1_wii_file.html#aeee8ccc0390f78e88a26657779c4be26">length</a>)</td></tr>
<tr class="memdesc:abe1527d489ffc14e39d447c15aec8763"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classathena_1_1_wii_file.html" title="Wii file container class. ">WiiFile</a>. <a href="#abe1527d489ffc14e39d447c15aec8763">More...</a><br /></td></tr>
<tr class="separator:abe1527d489ffc14e39d447c15aec8763"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0abac88fa54005364a378d51649204"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#adc0abac88fa54005364a378d51649204">setFilename</a> (const std::string &amp;<a class="el" href="classathena_1_1_wii_file.html#a9fd2d5a9057edd99e04b18a481026939">filename</a>)</td></tr>
<tr class="memdesc:adc0abac88fa54005364a378d51649204"><td class="mdescLeft">&#160;</td><td class="mdescRight">setFilename <a href="#adc0abac88fa54005364a378d51649204">More...</a><br /></td></tr>
<tr class="separator:adc0abac88fa54005364a378d51649204"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fd2d5a9057edd99e04b18a481026939"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a9fd2d5a9057edd99e04b18a481026939">filename</a> () const </td></tr>
<tr class="memdesc:a9fd2d5a9057edd99e04b18a481026939"><td class="mdescLeft">&#160;</td><td class="mdescRight">filename <a href="#a9fd2d5a9057edd99e04b18a481026939">More...</a><br /></td></tr>
<tr class="separator:a9fd2d5a9057edd99e04b18a481026939"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65501e9b953be8b39d6f57175aa92acb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a65501e9b953be8b39d6f57175aa92acb">setData</a> (const atUint8 *<a class="el" href="classathena_1_1_wii_file.html#af7af632f51bdb537b35869639650ad84">data</a>)</td></tr>
<tr class="memdesc:a65501e9b953be8b39d6f57175aa92acb"><td class="mdescLeft">&#160;</td><td class="mdescRight">setData <a href="#a65501e9b953be8b39d6f57175aa92acb">More...</a><br /></td></tr>
<tr class="separator:a65501e9b953be8b39d6f57175aa92acb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7af632f51bdb537b35869639650ad84"><td class="memItemLeft" align="right" valign="top">atUint8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#af7af632f51bdb537b35869639650ad84">data</a> () const </td></tr>
<tr class="memdesc:af7af632f51bdb537b35869639650ad84"><td class="mdescLeft">&#160;</td><td class="mdescRight">data <a href="#af7af632f51bdb537b35869639650ad84">More...</a><br /></td></tr>
<tr class="separator:af7af632f51bdb537b35869639650ad84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02fb6c394ff82cc26602eee6934fc419"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a02fb6c394ff82cc26602eee6934fc419">setLength</a> (const int len)</td></tr>
<tr class="memdesc:a02fb6c394ff82cc26602eee6934fc419"><td class="mdescLeft">&#160;</td><td class="mdescRight">setLength <a href="#a02fb6c394ff82cc26602eee6934fc419">More...</a><br /></td></tr>
<tr class="separator:a02fb6c394ff82cc26602eee6934fc419"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeee8ccc0390f78e88a26657779c4be26"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#aeee8ccc0390f78e88a26657779c4be26">length</a> () const </td></tr>
<tr class="memdesc:aeee8ccc0390f78e88a26657779c4be26"><td class="mdescLeft">&#160;</td><td class="mdescRight">length <a href="#aeee8ccc0390f78e88a26657779c4be26">More...</a><br /></td></tr>
<tr class="separator:aeee8ccc0390f78e88a26657779c4be26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3408808610bc81ae98b64710268f596a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a3408808610bc81ae98b64710268f596a">setPermissions</a> (const atUint8 <a class="el" href="classathena_1_1_wii_file.html#af48d1253ed9d411c00a99fa033a1a73d">permissions</a>)</td></tr>
<tr class="memdesc:a3408808610bc81ae98b64710268f596a"><td class="mdescLeft">&#160;</td><td class="mdescRight">setPermissions <a href="#a3408808610bc81ae98b64710268f596a">More...</a><br /></td></tr>
<tr class="separator:a3408808610bc81ae98b64710268f596a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af48d1253ed9d411c00a99fa033a1a73d"><td class="memItemLeft" align="right" valign="top">atUint8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#af48d1253ed9d411c00a99fa033a1a73d">permissions</a> () const </td></tr>
<tr class="memdesc:af48d1253ed9d411c00a99fa033a1a73d"><td class="mdescLeft">&#160;</td><td class="mdescRight">permissions <a href="#af48d1253ed9d411c00a99fa033a1a73d">More...</a><br /></td></tr>
<tr class="separator:af48d1253ed9d411c00a99fa033a1a73d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a3188f658f820328c713b020f6bed4a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a2a3188f658f820328c713b020f6bed4a">setAttributes</a> (const atUint8 attr)</td></tr>
<tr class="memdesc:a2a3188f658f820328c713b020f6bed4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">setAttributes <a href="#a2a3188f658f820328c713b020f6bed4a">More...</a><br /></td></tr>
<tr class="separator:a2a3188f658f820328c713b020f6bed4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22b46c3f155b46da7a7fe74ab84cbeb3"><td class="memItemLeft" align="right" valign="top">atUint8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a22b46c3f155b46da7a7fe74ab84cbeb3">attributes</a> () const </td></tr>
<tr class="memdesc:a22b46c3f155b46da7a7fe74ab84cbeb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">attributes <a href="#a22b46c3f155b46da7a7fe74ab84cbeb3">More...</a><br /></td></tr>
<tr class="separator:a22b46c3f155b46da7a7fe74ab84cbeb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a037673d0adad87b35a5064176ddf516f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a037673d0adad87b35a5064176ddf516f">setType</a> (<a class="el" href="classathena_1_1_wii_file.html#a2201d22220d2bccdfd2464cd74ae5773">Type</a> <a class="el" href="classathena_1_1_wii_file.html#acf982473deaafa9fc7ba457fc7c7d8b2">type</a>)</td></tr>
<tr class="memdesc:a037673d0adad87b35a5064176ddf516f"><td class="mdescLeft">&#160;</td><td class="mdescRight">setType <a href="#a037673d0adad87b35a5064176ddf516f">More...</a><br /></td></tr>
<tr class="separator:a037673d0adad87b35a5064176ddf516f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf982473deaafa9fc7ba457fc7c7d8b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classathena_1_1_wii_file.html#a2201d22220d2bccdfd2464cd74ae5773">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#acf982473deaafa9fc7ba457fc7c7d8b2">type</a> () const </td></tr>
<tr class="memdesc:acf982473deaafa9fc7ba457fc7c7d8b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">type <a href="#acf982473deaafa9fc7ba457fc7c7d8b2">More...</a><br /></td></tr>
<tr class="separator:acf982473deaafa9fc7ba457fc7c7d8b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c306332e612bf3052519bba96874da1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a0c306332e612bf3052519bba96874da1">isDirectory</a> () const </td></tr>
<tr class="memdesc:a0c306332e612bf3052519bba96874da1"><td class="mdescLeft">&#160;</td><td class="mdescRight">isDirectory <a href="#a0c306332e612bf3052519bba96874da1">More...</a><br /></td></tr>
<tr class="separator:a0c306332e612bf3052519bba96874da1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d5fb379e976d81c6efdefc37f085d4f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a6d5fb379e976d81c6efdefc37f085d4f">isFile</a> () const </td></tr>
<tr class="memdesc:a6d5fb379e976d81c6efdefc37f085d4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">isFile <a href="#a6d5fb379e976d81c6efdefc37f085d4f">More...</a><br /></td></tr>
<tr class="separator:a6d5fb379e976d81c6efdefc37f085d4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51cbbe44837af2cbb93069b5aada52fe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a51cbbe44837af2cbb93069b5aada52fe">addChild</a> (<a class="el" href="classathena_1_1_wii_file.html">WiiFile</a> *file)</td></tr>
<tr class="memdesc:a51cbbe44837af2cbb93069b5aada52fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">addChild <a href="#a51cbbe44837af2cbb93069b5aada52fe">More...</a><br /></td></tr>
<tr class="separator:a51cbbe44837af2cbb93069b5aada52fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab88e399f1a83fa9f67fc971b6fae0e16"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classathena_1_1_wii_file.html">WiiFile</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#ab88e399f1a83fa9f67fc971b6fae0e16">children</a> ()</td></tr>
<tr class="memdesc:ab88e399f1a83fa9f67fc971b6fae0e16"><td class="mdescLeft">&#160;</td><td class="mdescRight">children <a href="#ab88e399f1a83fa9f67fc971b6fae0e16">More...</a><br /></td></tr>
<tr class="separator:ab88e399f1a83fa9f67fc971b6fae0e16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae88735681171aa7b231a1c0ee29ac18d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classathena_1_1_wii_file.html">WiiFile</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#ae88735681171aa7b231a1c0ee29ac18d">child</a> (const std::string &amp;name)</td></tr>
<tr class="memdesc:ae88735681171aa7b231a1c0ee29ac18d"><td class="mdescLeft">&#160;</td><td class="mdescRight">child <a href="#ae88735681171aa7b231a1c0ee29ac18d">More...</a><br /></td></tr>
<tr class="separator:ae88735681171aa7b231a1c0ee29ac18d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf0987058f6793bed4facb2d4ef6de32"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#adf0987058f6793bed4facb2d4ef6de32">removeChild</a> (const std::string &amp;name)</td></tr>
<tr class="memdesc:adf0987058f6793bed4facb2d4ef6de32"><td class="mdescLeft">&#160;</td><td class="mdescRight">removeChild <a href="#adf0987058f6793bed4facb2d4ef6de32">More...</a><br /></td></tr>
<tr class="separator:adf0987058f6793bed4facb2d4ef6de32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7582e565cf9305fd95f7a0c31d88a3b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#aa7582e565cf9305fd95f7a0c31d88a3b">removeChild</a> (<a class="el" href="classathena_1_1_wii_file.html">WiiFile</a> *file)</td></tr>
<tr class="memdesc:aa7582e565cf9305fd95f7a0c31d88a3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">removeChild <a href="#aa7582e565cf9305fd95f7a0c31d88a3b">More...</a><br /></td></tr>
<tr class="separator:aa7582e565cf9305fd95f7a0c31d88a3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90289a4e8e46789e2c5da934cd96f515"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classathena_1_1_wii_file.html">WiiFile</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a90289a4e8e46789e2c5da934cd96f515">parent</a> ()</td></tr>
<tr class="memdesc:a90289a4e8e46789e2c5da934cd96f515"><td class="mdescLeft">&#160;</td><td class="mdescRight">parent <a href="#a90289a4e8e46789e2c5da934cd96f515">More...</a><br /></td></tr>
<tr class="separator:a90289a4e8e46789e2c5da934cd96f515"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76fb22d1413746e0bd5373769af7b011"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a76fb22d1413746e0bd5373769af7b011">setParent</a> (<a class="el" href="classathena_1_1_wii_file.html">WiiFile</a> *<a class="el" href="classathena_1_1_wii_file.html#a90289a4e8e46789e2c5da934cd96f515">parent</a>)</td></tr>
<tr class="memdesc:a76fb22d1413746e0bd5373769af7b011"><td class="mdescLeft">&#160;</td><td class="mdescRight">setParent <a href="#a76fb22d1413746e0bd5373769af7b011">More...</a><br /></td></tr>
<tr class="separator:a76fb22d1413746e0bd5373769af7b011"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cf493ee3e553ab73d631683293532de"><td class="memItemLeft" align="right" valign="top">atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a0cf493ee3e553ab73d631683293532de">fileCount</a> ()</td></tr>
<tr class="memdesc:a0cf493ee3e553ab73d631683293532de"><td class="mdescLeft">&#160;</td><td class="mdescRight">fileCount <a href="#a0cf493ee3e553ab73d631683293532de">More...</a><br /></td></tr>
<tr class="separator:a0cf493ee3e553ab73d631683293532de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c83eb30d535f22a195ee425306b83c1"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classathena_1_1_wii_file.html">WiiFile</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#a2c83eb30d535f22a195ee425306b83c1">allChildren</a> ()</td></tr>
<tr class="memdesc:a2c83eb30d535f22a195ee425306b83c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">allChildren <a href="#a2c83eb30d535f22a195ee425306b83c1">More...</a><br /></td></tr>
<tr class="separator:a2c83eb30d535f22a195ee425306b83c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef6e70a5b571e7367a61c2ced3bb7a93"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_wii_file.html#aef6e70a5b571e7367a61c2ced3bb7a93">fullpath</a> ()</td></tr>
<tr class="memdesc:aef6e70a5b571e7367a61c2ced3bb7a93"><td class="mdescLeft">&#160;</td><td class="mdescRight">fullpath <a href="#aef6e70a5b571e7367a61c2ced3bb7a93">More...</a><br /></td></tr>
<tr class="separator:aef6e70a5b571e7367a61c2ced3bb7a93"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Wii file container class. </p>
<p>Contains all relevant data for a file in a data.bin file. </p>
<p>Definition at line <a class="el" href="_wii_file_8hpp_source.html#l00020">20</a> of file <a class="el" href="_wii_file_8hpp_source.html">WiiFile.hpp</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="afdf9e98a40263fb3ba5171b5163e82eb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classathena_1_1_wii_file.html#afdf9e98a40263fb3ba5171b5163e82eb">athena::WiiFile::Permission</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The Wii uses a bastardized unix permissions system so these flags reflect the file's individual permissions. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="afdf9e98a40263fb3ba5171b5163e82eba804b633798e95da1b6736848762bf192"></a>OtherRW&#160;</td><td class="fielddoc">
<p>Mask to get the Other group permissions. </p>
</td></tr>
</table>
<p>Definition at line <a class="el" href="_wii_file_8hpp_source.html#l00028">28</a> of file <a class="el" href="_wii_file_8hpp_source.html">WiiFile.hpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7a387bcb833549f07d6276dd928ac275"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">athena::WiiFile::WiiFile </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>filename</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="classathena_1_1_wii_file.html" title="Wii file container class. ">WiiFile</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="abe1527d489ffc14e39d447c15aec8763"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">athena::WiiFile::WiiFile </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">atUint8&#160;</td>
<td class="paramname"><em>permissions</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const atUint8 *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>length</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="classathena_1_1_wii_file.html" title="Wii file container class. ">WiiFile</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td></td></tr>
<tr><td class="paramname">permissions</td><td></td></tr>
<tr><td class="paramname">data</td><td></td></tr>
<tr><td class="paramname">length</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a51cbbe44837af2cbb93069b5aada52fe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiFile::addChild </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classathena_1_1_wii_file.html">WiiFile</a> *&#160;</td>
<td class="paramname"><em>file</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>addChild </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">file</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a2c83eb30d535f22a195ee425306b83c1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;<a class="el" href="classathena_1_1_wii_file.html">WiiFile</a>*&gt; athena::WiiFile::allChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>allChildren </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a22b46c3f155b46da7a7fe74ab84cbeb3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint8 athena::WiiFile::attributes </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>attributes </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="ae88735681171aa7b231a1c0ee29ac18d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classathena_1_1_wii_file.html">WiiFile</a>* athena::WiiFile::child </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>child </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="ab88e399f1a83fa9f67fc971b6fae0e16"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;<a class="el" href="classathena_1_1_wii_file.html">WiiFile</a>*&gt; athena::WiiFile::children </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>children </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="af7af632f51bdb537b35869639650ad84"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint8* athena::WiiFile::data </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>data </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a0cf493ee3e553ab73d631683293532de"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint32 athena::WiiFile::fileCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>fileCount </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a9fd2d5a9057edd99e04b18a481026939"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string athena::WiiFile::filename </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>filename </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="aef6e70a5b571e7367a61c2ced3bb7a93"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string athena::WiiFile::fullpath </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>fullpath </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a0c306332e612bf3052519bba96874da1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool athena::WiiFile::isDirectory </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>isDirectory </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a6d5fb379e976d81c6efdefc37f085d4f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool athena::WiiFile::isFile </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>isFile </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="aeee8ccc0390f78e88a26657779c4be26"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int athena::WiiFile::length </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>length </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a90289a4e8e46789e2c5da934cd96f515"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classathena_1_1_wii_file.html">WiiFile</a>* athena::WiiFile::parent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>parent </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="af48d1253ed9d411c00a99fa033a1a73d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint8 athena::WiiFile::permissions </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>permissions </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="adf0987058f6793bed4facb2d4ef6de32"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiFile::removeChild </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>removeChild </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa7582e565cf9305fd95f7a0c31d88a3b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiFile::removeChild </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classathena_1_1_wii_file.html">WiiFile</a> *&#160;</td>
<td class="paramname"><em>file</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>removeChild </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">file</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a2a3188f658f820328c713b020f6bed4a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiFile::setAttributes </td>
<td>(</td>
<td class="paramtype">const atUint8&#160;</td>
<td class="paramname"><em>attr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setAttributes </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a65501e9b953be8b39d6f57175aa92acb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiFile::setData </td>
<td>(</td>
<td class="paramtype">const atUint8 *&#160;</td>
<td class="paramname"><em>data</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setData </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="adc0abac88fa54005364a378d51649204"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiFile::setFilename </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>filename</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setFilename </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a02fb6c394ff82cc26602eee6934fc419"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiFile::setLength </td>
<td>(</td>
<td class="paramtype">const int&#160;</td>
<td class="paramname"><em>len</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setLength </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">len</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a76fb22d1413746e0bd5373769af7b011"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiFile::setParent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classathena_1_1_wii_file.html">WiiFile</a> *&#160;</td>
<td class="paramname"><em>parent</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setParent </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a3408808610bc81ae98b64710268f596a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiFile::setPermissions </td>
<td>(</td>
<td class="paramtype">const atUint8&#160;</td>
<td class="paramname"><em>permissions</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setPermissions </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">permissions</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a037673d0adad87b35a5064176ddf516f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::WiiFile::setType </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classathena_1_1_wii_file.html#a2201d22220d2bccdfd2464cd74ae5773">Type</a>&#160;</td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setType </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="acf982473deaafa9fc7ba457fc7c7d8b2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classathena_1_1_wii_file.html#a2201d22220d2bccdfd2464cd74ae5773">Type</a> athena::WiiFile::type </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>type </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/athena/<a class="el" href="_wii_file_8hpp_source.html">WiiFile.hpp</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"><b>athena</b></li><li class="navelem"><a class="el" href="classathena_1_1_wii_file.html">WiiFile</a></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>