Add documentation (prelim)

This commit is contained in:
Phillip Stephens 2015-05-21 02:00:28 -07:00
parent 1c21d91850
commit c535591d38
860 changed files with 60974 additions and 0 deletions

View File

@ -0,0 +1,234 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/ALTTPEnums.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 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.9.1 -->
<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><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&#160;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('_a_l_t_t_p_enums_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">ALTTPEnums.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef ALTTP_ENUMS_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define ALTTP_ENUMS_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#ifndef __DOXYGEN_IGNORE__</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Types.hpp&quot;</span></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="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">enum</span> BowType : <span class="keywordtype">char</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; BowNone,</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; BowArrows,</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; BowSilverArrows</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;};</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">enum</span> BoomerangType : <span class="keywordtype">char</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; BoomerangNone,</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; BoomerangBlue,</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; BoomerangRed</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;};</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">enum</span> MagicType : <span class="keywordtype">char</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;{</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; MagicNone,</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; MagicMushroom,</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; MagicPowder</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;};</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">enum</span> ArmorType : <span class="keywordtype">char</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;{</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; GreenJerkin,</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; BlueMail,</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; RedMail</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;};</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="keyword">enum</span> BottleType : <span class="keywordtype">char</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;{</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; BottleNone,</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; BottleMushroom, <span class="comment">// No Use</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; BottleEmpty,</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; BottleRedPotion,</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; BottleBluePotion,</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; BottleFairy,</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; BottleBee,</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; BottleGoodBee</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;};</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="keyword">enum</span> ALTTPStartLocation</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;{</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; LinksHouse = 0x00,</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; Sanctuary = 0x01,</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; Any = 0x05</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;};</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="keyword">enum</span> ALTTPProgressIndicator</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;{</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; LinkInBed,</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; InCastleWithSword,</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; CompletedFirstDungeon,</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; BeatenAghanim</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;};</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="keyword">enum</span> ALTTPMapIcon</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;{</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; Nothing = 0x00, <span class="comment">//?</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; CrossInKakariko = 0x01, <span class="comment">//?</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; CrossAtFirstDungeon = 0x02, <span class="comment">//</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; Pendant = 0x03,</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; MasterSword = 0x04,</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; AganhimCastle = 0x05,</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; Crystal1 = 0x06,</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; AllCrystals = 0x07,</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; AganhimGanonTower = 0x08</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;};</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="keyword">enum</span> ALTTPTagAlong</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;{</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; Noone,</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; Zelda,</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; Unknown1,</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; Oldman,</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; ZeldaMessage,</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; Blind,</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; DwarfFrog,</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; DwarfLW,</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; Kiki,</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; Unknown2,</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; TheifsChest,</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; AfterBoss</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;};</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="preprocessor">#endif // __DOXYGEN_IGNORE__</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="preprocessor">#endif // ALTTP_ENUMS_HPP</span></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>ALTTPEnums.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,182 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/ALTTPFile.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 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.9.1 -->
<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><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&#160;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('_a_l_t_t_p_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">ALTTPFile.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef ALTTP_FILE_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define ALTTP_FILE_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/Types.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></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="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span>ALTTPQuest;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_athena_1_1_a_l_t_t_p_file.html"> 34</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_a_l_t_t_p_file.html">ALTTPFile</a></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;{</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="class_athena_1_1_a_l_t_t_p_file.html#a67c7446492d5f243cd835643cfe5b4f3"> 41</a></span>&#160; <span class="keyword">typedef</span> std::vector&lt;ALTTPQuest*&gt;::iterator <a class="code" href="class_athena_1_1_a_l_t_t_p_file.html#a67c7446492d5f243cd835643cfe5b4f3">QuestIter</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="class_athena_1_1_a_l_t_t_p_file.html#ae26d9ed3f92aaf00b580612916bc69f3">ALTTPFile</a>();</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="class_athena_1_1_a_l_t_t_p_file.html#ae26d9ed3f92aaf00b580612916bc69f3">ALTTPFile</a>(std::vector&lt;ALTTPQuest*&gt; <a class="code" href="class_athena_1_1_a_l_t_t_p_file.html#a9e970360abecd517134ad2eaaa9b3965">questList</a>, std::vector&lt;ALTTPQuest*&gt; backupList);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_file.html#ad0e04153a6aec2c23e089b44e8f7d0b8">setQuest</a>(atUint32 <span class="keywordtype">id</span>, <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a>* val);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; std::vector&lt;ALTTPQuest*&gt; <a class="code" href="class_athena_1_1_a_l_t_t_p_file.html#a9e970360abecd517134ad2eaaa9b3965">questList</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a>* <a class="code" href="class_athena_1_1_a_l_t_t_p_file.html#af733f84d685686ef1681ced39f058e21">quest</a>(atUint32 <span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; atUint32 <a class="code" href="class_athena_1_1_a_l_t_t_p_file.html#ac3c25cce4d86f2a168e569154f23397c">questCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; std::vector&lt;ALTTPQuest*&gt; m_quests;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; std::vector&lt;ALTTPQuest*&gt; m_backup;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;};</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor">#endif // ALTTP_FILE_HPP</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_file_html_ad0e04153a6aec2c23e089b44e8f7d0b8"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_file.html#ad0e04153a6aec2c23e089b44e8f7d0b8">Athena::ALTTPFile::setQuest</a></div><div class="ttdeci">void setQuest(atUint32 id, ALTTPQuest *val)</div><div class="ttdoc">Sets a quest at the given index. </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_file_html_ae26d9ed3f92aaf00b580612916bc69f3"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_file.html#ae26d9ed3f92aaf00b580612916bc69f3">Athena::ALTTPFile::ALTTPFile</a></div><div class="ttdeci">ALTTPFile()</div><div class="ttdoc">Default constructor. </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_file_html_af733f84d685686ef1681ced39f058e21"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_file.html#af733f84d685686ef1681ced39f058e21">Athena::ALTTPFile::quest</a></div><div class="ttdeci">ALTTPQuest * quest(atUint32 id) const </div><div class="ttdoc">Returns a quest at the given index. </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></div><div class="ttdoc">A Link to the Past Quest container class. </div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_quest_8hpp_source.html#l00035">ALTTPQuest.hpp:35</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_file_html_a9e970360abecd517134ad2eaaa9b3965"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_file.html#a9e970360abecd517134ad2eaaa9b3965">Athena::ALTTPFile::questList</a></div><div class="ttdeci">std::vector&lt; ALTTPQuest * &gt; questList() const </div><div class="ttdoc">Returns the primary quest list. </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_file_html_a67c7446492d5f243cd835643cfe5b4f3"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_file.html#a67c7446492d5f243cd835643cfe5b4f3">Athena::ALTTPFile::QuestIter</a></div><div class="ttdeci">std::vector&lt; ALTTPQuest * &gt;::iterator QuestIter</div><div class="ttdoc">Quest Iterator. </div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_file_8hpp_source.html#l00041">ALTTPFile.hpp:41</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_file_html"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a></div><div class="ttdoc">A Link to the Past data container class class. </div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_file_8hpp_source.html#l00034">ALTTPFile.hpp:34</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_file_html_ac3c25cce4d86f2a168e569154f23397c"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_file.html#ac3c25cce4d86f2a168e569154f23397c">Athena::ALTTPFile::questCount</a></div><div class="ttdeci">atUint32 questCount() const </div><div class="ttdoc">Returns the number of primary quests. </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>ALTTPFile.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,179 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/ALTTPFileReader.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 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.9.1 -->
<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><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&#160;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('_a_l_t_t_p_file_reader_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">ALTTPFileReader.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef ALTTP_FILE_READER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define ALTTP_FILE_READER_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Athena/Types.hpp&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryReader.hpp&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;Athena/ALTTPQuest.hpp&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></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">class </span>ALTTPFile;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html"> 38</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html">ALTTPFileReader</a> : <span class="keyword">protected</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html">MemoryReader</a></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;{</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; MEMORYREADER_BASE();</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html#ab2e5dbd0327dcbd04bef84685d75edf6">ALTTPFileReader</a>(atUint8*, atUint64);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html#ab2e5dbd0327dcbd04bef84685d75edf6">ALTTPFileReader</a>(<span class="keyword">const</span> std::string&amp;);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <a class="code" href="class_athena_1_1_a_l_t_t_p_file.html">ALTTPFile</a>* <a class="code" href="class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html#ac35c97164bf5e1d6056532d269e76265">readFile</a>();</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_room_flags.html">ALTTPRoomFlags</a>* readRoomFlags();</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_overworld_event.html">ALTTPOverworldEvent</a>* readOverworldEvent();</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a> readDungeonFlags();</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;};</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#endif // ALTTP_FILE_READER_HPP</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_room_flags_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_room_flags.html">Athena::ALTTPRoomFlags</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00027">ALTTPStructs.hpp:27</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_a_l_t_t_p_file_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html">Athena::io::ALTTPFileReader</a></div><div class="ttdoc">A Link to the Past save data reader class. </div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_file_reader_8hpp_source.html#l00038">ALTTPFileReader.hpp:38</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">Athena::ALTTPDungeonItemFlags</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00107">ALTTPStructs.hpp:107</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_a_l_t_t_p_file_reader_html_ab2e5dbd0327dcbd04bef84685d75edf6"><div class="ttname"><a href="class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html#ab2e5dbd0327dcbd04bef84685d75edf6">Athena::io::ALTTPFileReader::ALTTPFileReader</a></div><div class="ttdeci">ALTTPFileReader(atUint8 *, atUint64)</div><div class="ttdoc">This constructor takes an existing buffer to read from. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html">Athena::io::MemoryReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_reader_8hpp_source.html#l00035">MemoryReader.hpp:35</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_a_l_t_t_p_file_reader_html_ac35c97164bf5e1d6056532d269e76265"><div class="ttname"><a href="class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html#ac35c97164bf5e1d6056532d269e76265">Athena::io::ALTTPFileReader::readFile</a></div><div class="ttdeci">ALTTPFile * readFile()</div><div class="ttdoc">Reads the SRAM data from the buffer. </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_file_html"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a></div><div class="ttdoc">A Link to the Past data container class class. </div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_file_8hpp_source.html#l00034">ALTTPFile.hpp:34</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_overworld_event_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_overworld_event.html">Athena::ALTTPOverworldEvent</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00047">ALTTPStructs.hpp:47</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>ALTTPFileReader.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,181 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/ALTTPFileWriter.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 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.9.1 -->
<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><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&#160;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('_a_l_t_t_p_file_writer_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">ALTTPFileWriter.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef ALTTP_FILE_WRITER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define ALTTP_FILE_WRITER_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryWriter.hpp&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;Athena/ALTTPQuest.hpp&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span>ALTTPFile;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html"> 37</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html">ALTTPFileWriter</a> : <span class="keyword">protected</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html">MemoryWriter</a></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;{</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; MEMORYWRITER_BASE();</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html#af58ab28ebc001f2843ec5b11b167280d">ALTTPFileWriter</a>(atUint8*, atUint64);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html#af58ab28ebc001f2843ec5b11b167280d">ALTTPFileWriter</a>(<span class="keyword">const</span> std::string&amp;);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html#aa95cfe41ed654aefdcf97f7d6d1ea4dc">writeFile</a>(<a class="code" href="class_athena_1_1_a_l_t_t_p_file.html">ALTTPFile</a>* file);</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordtype">void</span> writeRoomFlags(<a class="code" href="struct_athena_1_1_a_l_t_t_p_room_flags.html">ALTTPRoomFlags</a>*);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">void</span> writeOverworldEvent(<a class="code" href="struct_athena_1_1_a_l_t_t_p_overworld_event.html">ALTTPOverworldEvent</a>*);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordtype">void</span> writeDungeonItems(<a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a>);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; atUint16 calculateChecksum(atUint32 game);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;};</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#endif // ALTTP_FILE_WRITER_HPP</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_a_l_t_t_p_file_writer_html_aa95cfe41ed654aefdcf97f7d6d1ea4dc"><div class="ttname"><a href="class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html#aa95cfe41ed654aefdcf97f7d6d1ea4dc">Athena::io::ALTTPFileWriter::writeFile</a></div><div class="ttdeci">void writeFile(ALTTPFile *file)</div><div class="ttdoc">Writes the given SRAM data to a file on disk. </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_room_flags_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_room_flags.html">Athena::ALTTPRoomFlags</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00027">ALTTPStructs.hpp:27</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">Athena::ALTTPDungeonItemFlags</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00107">ALTTPStructs.hpp:107</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_a_l_t_t_p_file_writer_html_af58ab28ebc001f2843ec5b11b167280d"><div class="ttname"><a href="class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html#af58ab28ebc001f2843ec5b11b167280d">Athena::io::ALTTPFileWriter::ALTTPFileWriter</a></div><div class="ttdeci">ALTTPFileWriter(atUint8 *, atUint64)</div><div class="ttdoc">This constructor takes an existing buffer to write to. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html">Athena::io::MemoryWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_writer_8hpp_source.html#l00036">MemoryWriter.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_a_l_t_t_p_file_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html">Athena::io::ALTTPFileWriter</a></div><div class="ttdoc">A Link to the Past save data writer class. </div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_file_writer_8hpp_source.html#l00037">ALTTPFileWriter.hpp:37</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_file_html"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a></div><div class="ttdoc">A Link to the Past data container class class. </div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_file_8hpp_source.html#l00034">ALTTPFile.hpp:34</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_overworld_event_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_overworld_event.html">Athena::ALTTPOverworldEvent</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00047">ALTTPStructs.hpp:47</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>ALTTPFileWriter.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,502 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/ALTTPQuest.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 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.9.1 -->
<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><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&#160;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('_a_l_t_t_p_quest_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">ALTTPQuest.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef ALTTP_QUEST_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define ALTTP_QUEST_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Types.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;Athena/ALTTPStructs.hpp&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;Athena/ALTTPEnums.hpp&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_athena_1_1_a_l_t_t_p_quest.html"> 35</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;{</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a212725bfc64930b341a9e053225d1691">ALTTPQuest</a>();</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; ~<a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a>();</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a53a564f171dc62de07af165ac5c5273d">setRoomFlags</a>(std::vector&lt;ALTTPRoomFlags*&gt; flags);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a53a564f171dc62de07af165ac5c5273d">setRoomFlags</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_room_flags.html">ALTTPRoomFlags</a>* rf, atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; std::vector&lt;ALTTPRoomFlags*&gt; <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ab8ac4c5895626d58611e0f835c888f26">roomFlags</a>();</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_room_flags.html">ALTTPRoomFlags</a>* <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ab8ac4c5895626d58611e0f835c888f26">roomFlags</a>(atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a229097d6768fbb05e8454019a4de7f0a">setOverworldEvents</a>(std::vector&lt;ALTTPOverworldEvent*&gt; events);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a229097d6768fbb05e8454019a4de7f0a">setOverworldEvents</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_overworld_event.html">ALTTPOverworldEvent</a>* ow, atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; std::vector&lt;ALTTPOverworldEvent*&gt; <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#affacf9f99be69c5faa53c0f912343d31">overworldEvents</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_overworld_event.html">ALTTPOverworldEvent</a>* <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a9687f2461774c6cd28ff4859551db5af">overworldEvent</a>(atUint32 <span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a12f64416ab10050daa2449764c52a7f9">setInventory</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_inventory.html">ALTTPInventory</a>* inv);</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_inventory.html">ALTTPInventory</a>* <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a32a80888d102e70defe10b671e558bc3">inventory</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a7d35d3ac214e6553a909c3665d819aed">setRupeeMax</a>(atUint16 val);</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; atUint16 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a26a35258b5b35a05cb5ee80cec7dfb05">rupeeMax</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a300853eb166d33bf1b7bd4908c39a038">setRupeeCurrent</a>(atUint16 val);</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; atUint16 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ac1617e57fd69aff0d7cf2fb6ecda403b">rupeeCurrent</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a2472c929e21791eeeb98ea138a0802a2">setCompasses</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a> flags);</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ac90bc11e61d4a540774d3dce75626c5a">compasses</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a62dfd22f9f990029b8b7f45e56ba77f4">setBigKeys</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a> flags);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a470bebb8c896215dc8225ca9daa47e58">bigKeys</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a5386ac84cd3b9544bf85f535a2bb8760">setDungeonMaps</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a> flags);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#af7d3b638ad59b7e14e46b46d56e61089">dungeonMaps</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ad9e73764a159a57a67f68af5724499c2">setWishingPond</a>(atUint16 val);</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; atUint16 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#af98279f0ffb360e927d627bd66b1a461">wishingPond</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a18ace79d562fdb51e2e8e3b8f1df435c">setHealthMax</a>(atUint8 val);</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ab3cb5d00f64144f4ce65fd1f7bfcfeec">healthMax</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ab9fc320107a8279cef259fdf189fd368">setHealth</a>(atUint8 val);</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ae102c2ea00ddb48cae1d08c73cf01849">health</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ae5bb5a3229812b38fc4e90a51f131a78">setMagicPower</a>(atUint8 val);</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a378b2ed0ec6bed4b4a7bad72a4513581">magicPower</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ab0eb751301a96eb13cc45a0bca8aa157">setKeys</a>(atUint8 val);</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ad7e2835fc59add9d8e37817df3f9dda8">keys</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#aeb3061f14f566cbca0483b117f8f3094">setBombUpgrades</a>(atUint8 val);</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160;</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a5dfae3f820648af6dc45271e0b771f9e">bombUpgrades</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#abc097214d803671a84f143e6c4b56c02">setArrowUpgrades</a>(atUint8 val);</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a7d1c51f7f7c93c269de29e4bcca9a5bc">arrowUpgrades</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a6c0d99c44606edc5836abaab6f979ea7">setHealthFiller</a>(atUint8 val);</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ab44aa590522d4579553c6003ec332e8d">healthFiller</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#aac535c163f0fd50f3263defbe48d02a5">setMagicFiller</a>(atUint8 val);</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a110f6a429bf780d8dd5bdc20cef91a2f">magicFiller</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a84c9eff2c241f89575b8cb608146e475">setPendants</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_pendants.html">ALTTPPendants</a> val);</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_pendants.html">ALTTPPendants</a> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a0f998a0774a3dac831ed73dd84014d41">pendants</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a9fc79fc023c508717aa878ac14031597">setBombFiller</a>(atUint8 val);</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a7d0a9193b9e3ed23fac00bf2cf57917b">bombFiller</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#aaa5671e169e02b388870cbe0171ba017">setArrowFiller</a>(atUint8 val);</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ae037c950a498ae1ab2525efd0e0e4980">arrowFiller</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a6668f39c386f48f4de32bb20fabfdf6e">setArrows</a>(atUint8 val);</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a2bbdb892dbd616635af86b8e7631555f">arrows</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a6d7e0331995ce19a8a9df7e320174688">setAbilityFlags</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_abilities.html">ALTTPAbilities</a> val);</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_abilities.html">ALTTPAbilities</a> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a408f1dcbedfbb3a0bd9ebaf980bab7cd">abilityFlags</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160;</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a20a31d543ca23caa429906a3751c3a39">setCrystals</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_crystals.html">ALTTPCrystals</a> val);</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; \</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160;</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_crystals.html">ALTTPCrystals</a> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a7ee8c8c4a032ad291a2cee2a2ff85cb4">crystals</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160;</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a2bf762627208cb8e236d7447a0cfea0a">setMagicUsage</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_magic_usage.html">ALTTPMagicUsage</a> val);</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160;</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_magic_usage.html">ALTTPMagicUsage</a> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#accc9d0e5af1de3c0b036b9b4684da8b9">magicUsage</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160;</div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a4b226d022be2d212ec827b56ba19b10a">setDungeonKeys</a>(std::vector&lt;atUint8&gt; val);</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160;</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a4b226d022be2d212ec827b56ba19b10a">setDungeonKeys</a>(atUint32 <span class="keywordtype">id</span>, atUint8 val);</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160;</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a1fc24efe2221e0eee8f80ad126add3ba">dungeonKeys</a>(atUint32 <span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160;</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; atUint32 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#abb4164034aa983399af871d7df26010b">dungeonCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160;</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#aeb741fe6bb80cfc108a9904f9c131ed9">setProgressIndicator</a>(ALTTPProgressIndicator val);</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160;</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; ALTTPProgressIndicator <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a2167041f5b42c456d2371b773a0cc50f">progressIndicator</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160;</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a4b37fb77e13b4d15635a58fbaec04736">setProgressFlags1</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_progress_flags1.html">ALTTPProgressFlags1</a> val);</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160;</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_progress_flags1.html">ALTTPProgressFlags1</a> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a684d99aaaeb3a912bb207bfa8d8e6c4d">progressFlags1</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160;</div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ae57ee97ea024424f1770ee1fb9395d47">setMapIcon</a>(ALTTPMapIcon val);</div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160;</div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; ALTTPMapIcon <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#afee41615b340b12188566fb72888e78b">mapIcon</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160;</div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a73b632587ce10d482eb0b005bf58f322">setStartLocation</a>(ALTTPStartLocation val);</div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160;</div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; ALTTPStartLocation <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#aba0e900b9a3f6601fe435479d31a4d7c">startLocation</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160;</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a581d89a3ab2df0b1dd7a7d3065f7642e">setProgressFlags2</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_progress_flags2.html">ALTTPProgressFlags2</a> val);</div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160;</div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_progress_flags2.html">ALTTPProgressFlags2</a> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a35aa1bb70a6ce143181530a27878f1d7">progressFlags2</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160;</div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a2506d9fc727d45d0b2853208db89f667">setLightDarkWorldIndicator</a>(<a class="code" href="struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html">ALTTPLightDarkWorldIndicator</a> val);</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160;</div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html">ALTTPLightDarkWorldIndicator</a> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a90532d84c125e729a924646a058b6abd">lightDarkWorldIndicator</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160;</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a5703a1291c9eecc30cafec7f763b809e">setTagAlong</a>(ALTTPTagAlong val);</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160;</div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160; ALTTPTagAlong <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ae8791d3bcc9fd488857f14d92f4668d2">tagAlong</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160;</div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a72205c195576ef613fc85a274843393b">setOldManFlags</a>(std::vector&lt;atUint8&gt; flags);</div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160;</div>
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ad2456aae02f0cd0d3eed26c4e4da6fc1">setOldManFlag</a>(atUint32 <span class="keywordtype">id</span>, atUint8 val);</div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160;</div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a7c41ae48411dc3267fd1c858aa069983">oldManFlag</a>(atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160;</div>
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160; atUint32 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#aa226ad59de8561a605ea105b87ddab1e">oldManFlagCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160;</div>
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ae0f7cab3579cc47f42acf577124ac150">setBombFlag</a>(atUint8 flag);</div>
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160;</div>
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a194eeb12027407924b3be192c0e281df">bombFlag</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160;</div>
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a896fbd70cfa7428547b053519b121f45">setUnknown1</a>(std::vector&lt;atUint8&gt; flags);</div>
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160;</div>
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a896fbd70cfa7428547b053519b121f45">setUnknown1</a>(atUint32 <span class="keywordtype">id</span>, atUint8 val);</div>
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160;</div>
<div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160; atUint8 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#af9bfaf05b2572fc410900dffde9dd633">unknown1</a>(atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160;</div>
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160; atUint32 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a36352db52c6686f3c6383d34e56b5848">unknown1Count</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160;</div>
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a9b3b852d6ef60526f38fe222297f3230">setPlayerName</a>(std::vector&lt;atUint16&gt; <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#aef6a71553e8971c73faa58b9f60f5c92">playerName</a>);</div>
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a9b3b852d6ef60526f38fe222297f3230">setPlayerName</a>(<span class="keyword">const</span> std::string&amp; playerName);</div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160; std::vector&lt;atUint16&gt; <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#aef6a71553e8971c73faa58b9f60f5c92">playerName</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160; std::string <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a8ca9e81554e7898000575a1105f6ede5">playerNameToString</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160;</div>
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a7d55a9cb69386a137fd3be0b888adf14">setValid</a>(<span class="keywordtype">bool</span> val);</div>
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160;</div>
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a6c450b0607dc08751976dd88923e44a3">valid</a>();</div>
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160;</div>
<div class="line"><a name="l00572"></a><span class="lineno"> 572</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#af9ebb4788f688027d78b156c911cb728">setDungeonDeathTotals</a>(std::vector&lt;atUint16&gt; val);</div>
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160;</div>
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a8ef78d9149155ec4b4d54f9934a248a2">setDungeonDeathTotal</a>(atUint32 <span class="keywordtype">id</span>, atUint16 val);</div>
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span>&#160;</div>
<div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160; atUint16 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a251316c5cacc64e4d07817b9b4863552">dungeonDeathTotal</a>(atUint32 <span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160;</div>
<div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160; atUint16 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a6cd66142d274192d47dc31e6256fed60">dungeonDeathTotalCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160;</div>
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#aea0ee1f95925d5dae59afd55965731c8">setUnknown2</a>(atUint16 val);</div>
<div class="line"><a name="l00599"></a><span class="lineno"> 599</span>&#160;</div>
<div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160; atUint16 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a674443ef1779d4a89ada3023e3976ce3">unknown2</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160;</div>
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a6dc808239452f0c9972e8b0d3d2ddfd3">setDeathSaveCount</a>(atUint16 val);</div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160;</div>
<div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160; atUint16 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a4d1ae687becd8945eba37cb1af06346b">deathSaveCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160;</div>
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a0738fc03b93da1a49c8465eb0d94ed0e">setPostGameDeathCounter</a>(atInt16 val);</div>
<div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160;</div>
<div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160; atInt16 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a336d7fafc74dceac5a2b384140398fcd">postGameDeathCounter</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160;</div>
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#a9ef57f73f59b9b05c95cde0cbddcebd8">setChecksum</a>(atUint16 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ae7529d2c3b389c2c463b6e1425cb3e2c">checksum</a>);</div>
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160;</div>
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160; atUint16 <a class="code" href="class_athena_1_1_a_l_t_t_p_quest.html#ae7529d2c3b389c2c463b6e1425cb3e2c">checksum</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160; std::vector&lt;ALTTPRoomFlags*&gt; m_roomFlags;</div>
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160; std::vector&lt;ALTTPOverworldEvent*&gt; m_overworldEvents;</div>
<div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_inventory.html">ALTTPInventory</a>* m_inventory;</div>
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160; atUint16 m_rupeeMax;</div>
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160; atUint16 m_rupeeCurrent;</div>
<div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a> m_compasses;</div>
<div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a> m_bigKeys;</div>
<div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a> m_dungeonMaps;</div>
<div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160; atUint16 m_wishingPond;</div>
<div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160; atUint8 m_healthMax;</div>
<div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; atUint8 m_health;</div>
<div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; atUint8 m_magicPower;</div>
<div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160; atUint8 m_keys;</div>
<div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160; atUint8 m_bombUpgrades;</div>
<div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160; atUint8 m_arrowUpgrades;</div>
<div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160; atUint8 m_heartFiller;</div>
<div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; atUint8 m_magicFiller;</div>
<div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_pendants.html">ALTTPPendants</a> m_pendants;</div>
<div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160; atUint8 m_bombFiller;</div>
<div class="line"><a name="l00661"></a><span class="lineno"> 661</span>&#160; atUint8 m_arrowFiller;</div>
<div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160; atUint8 m_arrows;</div>
<div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_abilities.html">ALTTPAbilities</a> m_abilityFlags;</div>
<div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_crystals.html">ALTTPCrystals</a> m_crystals;</div>
<div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_magic_usage.html">ALTTPMagicUsage</a> m_magicUsage;</div>
<div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; std::vector&lt;atUint8&gt; m_dungeonKeys;</div>
<div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160; ALTTPProgressIndicator m_progressIndicator;</div>
<div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_progress_flags1.html">ALTTPProgressFlags1</a> m_progressFlags1;</div>
<div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; ALTTPMapIcon m_mapIcon;</div>
<div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160; ALTTPStartLocation m_startLocation;</div>
<div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_progress_flags2.html">ALTTPProgressFlags2</a> m_progressFlags2;</div>
<div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160; <a class="code" href="struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html">ALTTPLightDarkWorldIndicator</a> m_lightDarkWorldIndicator;</div>
<div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160; ALTTPTagAlong m_tagAlong;</div>
<div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; std::vector&lt;atUint8&gt; m_oldManFlags;</div>
<div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160; atUint8 m_bombFlag;</div>
<div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160; std::vector&lt;atUint8&gt; m_unknown1;</div>
<div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160; std::vector&lt;atUint16&gt; m_playerName;</div>
<div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160; <span class="keywordtype">bool</span> m_valid;</div>
<div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; std::vector&lt;atUint16&gt; m_dungeonDeathTotals;</div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160; atUint16 m_unknown2;</div>
<div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160; atUint16 m_deathSaveCount;</div>
<div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160; atInt16 m_postGameDeathCounter;</div>
<div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; atUint16 m_checksum;</div>
<div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160;};</div>
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160;</div>
<div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160;</div>
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160;<span class="preprocessor">#endif // ALTTP_QUEST_HPP</span></div>
<div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a581d89a3ab2df0b1dd7a7d3065f7642e"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a581d89a3ab2df0b1dd7a7d3065f7642e">Athena::ALTTPQuest::setProgressFlags2</a></div><div class="ttdeci">void setProgressFlags2(ALTTPProgressFlags2 val)</div><div class="ttdoc">setProgressFlags2 </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a251316c5cacc64e4d07817b9b4863552"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a251316c5cacc64e4d07817b9b4863552">Athena::ALTTPQuest::dungeonDeathTotal</a></div><div class="ttdeci">atUint16 dungeonDeathTotal(atUint32 id) const </div><div class="ttdoc">dungeonDeathTotal </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ae7529d2c3b389c2c463b6e1425cb3e2c"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ae7529d2c3b389c2c463b6e1425cb3e2c">Athena::ALTTPQuest::checksum</a></div><div class="ttdeci">atUint16 checksum() const </div><div class="ttdoc">checksum </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_affacf9f99be69c5faa53c0f912343d31"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#affacf9f99be69c5faa53c0f912343d31">Athena::ALTTPQuest::overworldEvents</a></div><div class="ttdeci">std::vector&lt; ALTTPOverworldEvent * &gt; overworldEvents() const </div><div class="ttdoc">overworldEvents </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a6d7e0331995ce19a8a9df7e320174688"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a6d7e0331995ce19a8a9df7e320174688">Athena::ALTTPQuest::setAbilityFlags</a></div><div class="ttdeci">void setAbilityFlags(ALTTPAbilities val)</div><div class="ttdoc">setAbilityFlags </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a73b632587ce10d482eb0b005bf58f322"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a73b632587ce10d482eb0b005bf58f322">Athena::ALTTPQuest::setStartLocation</a></div><div class="ttdeci">void setStartLocation(ALTTPStartLocation val)</div><div class="ttdoc">setStartLocation </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a36352db52c6686f3c6383d34e56b5848"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a36352db52c6686f3c6383d34e56b5848">Athena::ALTTPQuest::unknown1Count</a></div><div class="ttdeci">atUint32 unknown1Count() const </div><div class="ttdoc">unknown1Count </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ae102c2ea00ddb48cae1d08c73cf01849"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ae102c2ea00ddb48cae1d08c73cf01849">Athena::ALTTPQuest::health</a></div><div class="ttdeci">atUint8 health() const </div><div class="ttdoc">health </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a4b226d022be2d212ec827b56ba19b10a"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a4b226d022be2d212ec827b56ba19b10a">Athena::ALTTPQuest::setDungeonKeys</a></div><div class="ttdeci">void setDungeonKeys(std::vector&lt; atUint8 &gt; val)</div><div class="ttdoc">setDungeonKeys </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a2bf762627208cb8e236d7447a0cfea0a"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a2bf762627208cb8e236d7447a0cfea0a">Athena::ALTTPQuest::setMagicUsage</a></div><div class="ttdeci">void setMagicUsage(ALTTPMagicUsage val)</div><div class="ttdoc">setMagicUsage </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a2506d9fc727d45d0b2853208db89f667"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a2506d9fc727d45d0b2853208db89f667">Athena::ALTTPQuest::setLightDarkWorldIndicator</a></div><div class="ttdeci">void setLightDarkWorldIndicator(ALTTPLightDarkWorldIndicator val)</div><div class="ttdoc">setLightDarkWorldIndicator </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a6dc808239452f0c9972e8b0d3d2ddfd3"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a6dc808239452f0c9972e8b0d3d2ddfd3">Athena::ALTTPQuest::setDeathSaveCount</a></div><div class="ttdeci">void setDeathSaveCount(atUint16 val)</div><div class="ttdoc">setDeathSaveCount </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_abilities_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_abilities.html">Athena::ALTTPAbilities</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00154">ALTTPStructs.hpp:154</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ae57ee97ea024424f1770ee1fb9395d47"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ae57ee97ea024424f1770ee1fb9395d47">Athena::ALTTPQuest::setMapIcon</a></div><div class="ttdeci">void setMapIcon(ALTTPMapIcon val)</div><div class="ttdoc">setMapIcon </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_accc9d0e5af1de3c0b036b9b4684da8b9"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#accc9d0e5af1de3c0b036b9b4684da8b9">Athena::ALTTPQuest::magicUsage</a></div><div class="ttdeci">ALTTPMagicUsage magicUsage() const </div><div class="ttdoc">magicUsage </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ab44aa590522d4579553c6003ec332e8d"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ab44aa590522d4579553c6003ec332e8d">Athena::ALTTPQuest::healthFiller</a></div><div class="ttdeci">atUint8 healthFiller() const </div><div class="ttdoc">healthFiller </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ab3cb5d00f64144f4ce65fd1f7bfcfeec"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ab3cb5d00f64144f4ce65fd1f7bfcfeec">Athena::ALTTPQuest::healthMax</a></div><div class="ttdeci">atUint8 healthMax() const </div><div class="ttdoc">healthMax </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a5dfae3f820648af6dc45271e0b771f9e"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a5dfae3f820648af6dc45271e0b771f9e">Athena::ALTTPQuest::bombUpgrades</a></div><div class="ttdeci">atUint8 bombUpgrades() const </div><div class="ttdoc">bombUpgrades </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a9fc79fc023c508717aa878ac14031597"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a9fc79fc023c508717aa878ac14031597">Athena::ALTTPQuest::setBombFiller</a></div><div class="ttdeci">void setBombFiller(atUint8 val)</div><div class="ttdoc">setBombFiller </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a90532d84c125e729a924646a058b6abd"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a90532d84c125e729a924646a058b6abd">Athena::ALTTPQuest::lightDarkWorldIndicator</a></div><div class="ttdeci">ALTTPLightDarkWorldIndicator lightDarkWorldIndicator() const </div><div class="ttdoc">lightDarkWorldIndicator </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_room_flags_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_room_flags.html">Athena::ALTTPRoomFlags</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00027">ALTTPStructs.hpp:27</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a6c0d99c44606edc5836abaab6f979ea7"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a6c0d99c44606edc5836abaab6f979ea7">Athena::ALTTPQuest::setHealthFiller</a></div><div class="ttdeci">void setHealthFiller(atUint8 val)</div><div class="ttdoc">setHealthFiller </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_af9bfaf05b2572fc410900dffde9dd633"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#af9bfaf05b2572fc410900dffde9dd633">Athena::ALTTPQuest::unknown1</a></div><div class="ttdeci">atUint8 unknown1(atUint32 id)</div><div class="ttdoc">unknown1 </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ac90bc11e61d4a540774d3dce75626c5a"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ac90bc11e61d4a540774d3dce75626c5a">Athena::ALTTPQuest::compasses</a></div><div class="ttdeci">ALTTPDungeonItemFlags compasses() const </div><div class="ttdoc">compasses </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a0f998a0774a3dac831ed73dd84014d41"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a0f998a0774a3dac831ed73dd84014d41">Athena::ALTTPQuest::pendants</a></div><div class="ttdeci">ALTTPPendants pendants() const </div><div class="ttdoc">pendants </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_progress_flags1_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_progress_flags1.html">Athena::ALTTPProgressFlags1</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00190">ALTTPStructs.hpp:190</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_aa226ad59de8561a605ea105b87ddab1e"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#aa226ad59de8561a605ea105b87ddab1e">Athena::ALTTPQuest::oldManFlagCount</a></div><div class="ttdeci">atUint32 oldManFlagCount() const </div><div class="ttdoc">oldManFlagCount </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a2167041f5b42c456d2371b773a0cc50f"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a2167041f5b42c456d2371b773a0cc50f">Athena::ALTTPQuest::progressIndicator</a></div><div class="ttdeci">ALTTPProgressIndicator progressIndicator() const </div><div class="ttdoc">progressIndicator </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_aef6a71553e8971c73faa58b9f60f5c92"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#aef6a71553e8971c73faa58b9f60f5c92">Athena::ALTTPQuest::playerName</a></div><div class="ttdeci">std::vector&lt; atUint16 &gt; playerName() const </div><div class="ttdoc">playerName </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a336d7fafc74dceac5a2b384140398fcd"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a336d7fafc74dceac5a2b384140398fcd">Athena::ALTTPQuest::postGameDeathCounter</a></div><div class="ttdeci">atInt16 postGameDeathCounter() const </div><div class="ttdoc">postGameDeathCounter </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ac1617e57fd69aff0d7cf2fb6ecda403b"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ac1617e57fd69aff0d7cf2fb6ecda403b">Athena::ALTTPQuest::rupeeCurrent</a></div><div class="ttdeci">atUint16 rupeeCurrent() const </div><div class="ttdoc">rupeeCurrent </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a212725bfc64930b341a9e053225d1691"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a212725bfc64930b341a9e053225d1691">Athena::ALTTPQuest::ALTTPQuest</a></div><div class="ttdeci">ALTTPQuest()</div><div class="ttdoc">ALTTPQuest. </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a378b2ed0ec6bed4b4a7bad72a4513581"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a378b2ed0ec6bed4b4a7bad72a4513581">Athena::ALTTPQuest::magicPower</a></div><div class="ttdeci">atUint8 magicPower() const </div><div class="ttdoc">magicPower </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ae0f7cab3579cc47f42acf577124ac150"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ae0f7cab3579cc47f42acf577124ac150">Athena::ALTTPQuest::setBombFlag</a></div><div class="ttdeci">void setBombFlag(atUint8 flag)</div><div class="ttdoc">setBombFlag </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a7d1c51f7f7c93c269de29e4bcca9a5bc"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a7d1c51f7f7c93c269de29e4bcca9a5bc">Athena::ALTTPQuest::arrowUpgrades</a></div><div class="ttdeci">atUint8 arrowUpgrades() const </div><div class="ttdoc">arrowUpgrades </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a18ace79d562fdb51e2e8e3b8f1df435c"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a18ace79d562fdb51e2e8e3b8f1df435c">Athena::ALTTPQuest::setHealthMax</a></div><div class="ttdeci">void setHealthMax(atUint8 val)</div><div class="ttdoc">setHealthMax </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a2bbdb892dbd616635af86b8e7631555f"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a2bbdb892dbd616635af86b8e7631555f">Athena::ALTTPQuest::arrows</a></div><div class="ttdeci">atUint8 arrows() const </div><div class="ttdoc">arrows </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a229097d6768fbb05e8454019a4de7f0a"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a229097d6768fbb05e8454019a4de7f0a">Athena::ALTTPQuest::setOverworldEvents</a></div><div class="ttdeci">void setOverworldEvents(std::vector&lt; ALTTPOverworldEvent * &gt; events)</div><div class="ttdoc">setOverworldEvents </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">Athena::ALTTPDungeonItemFlags</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00107">ALTTPStructs.hpp:107</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_abb4164034aa983399af871d7df26010b"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#abb4164034aa983399af871d7df26010b">Athena::ALTTPQuest::dungeonCount</a></div><div class="ttdeci">atUint32 dungeonCount() const </div><div class="ttdoc">dungeonCount </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_aac535c163f0fd50f3263defbe48d02a5"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#aac535c163f0fd50f3263defbe48d02a5">Athena::ALTTPQuest::setMagicFiller</a></div><div class="ttdeci">void setMagicFiller(atUint8 val)</div><div class="ttdoc">setMagicFiller </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a194eeb12027407924b3be192c0e281df"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a194eeb12027407924b3be192c0e281df">Athena::ALTTPQuest::bombFlag</a></div><div class="ttdeci">atUint8 bombFlag() const </div><div class="ttdoc">bombFlag </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a470bebb8c896215dc8225ca9daa47e58"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a470bebb8c896215dc8225ca9daa47e58">Athena::ALTTPQuest::bigKeys</a></div><div class="ttdeci">ALTTPDungeonItemFlags bigKeys() const </div><div class="ttdoc">bigKeys </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ab9fc320107a8279cef259fdf189fd368"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ab9fc320107a8279cef259fdf189fd368">Athena::ALTTPQuest::setHealth</a></div><div class="ttdeci">void setHealth(atUint8 val)</div><div class="ttdoc">setHealth </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a9687f2461774c6cd28ff4859551db5af"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a9687f2461774c6cd28ff4859551db5af">Athena::ALTTPQuest::overworldEvent</a></div><div class="ttdeci">ALTTPOverworldEvent * overworldEvent(atUint32 id) const </div><div class="ttdoc">overworldEvent </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a7c41ae48411dc3267fd1c858aa069983"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a7c41ae48411dc3267fd1c858aa069983">Athena::ALTTPQuest::oldManFlag</a></div><div class="ttdeci">atUint8 oldManFlag(atUint32 id)</div><div class="ttdoc">oldManFlag </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_progress_flags2_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_progress_flags2.html">Athena::ALTTPProgressFlags2</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00203">ALTTPStructs.hpp:203</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ad9e73764a159a57a67f68af5724499c2"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ad9e73764a159a57a67f68af5724499c2">Athena::ALTTPQuest::setWishingPond</a></div><div class="ttdeci">void setWishingPond(atUint16 val)</div><div class="ttdoc">setWishingPond </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_magic_usage_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_magic_usage.html">Athena::ALTTPMagicUsage</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00177">ALTTPStructs.hpp:177</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ab0eb751301a96eb13cc45a0bca8aa157"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ab0eb751301a96eb13cc45a0bca8aa157">Athena::ALTTPQuest::setKeys</a></div><div class="ttdeci">void setKeys(atUint8 val)</div><div class="ttdoc">setKeys </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a7d55a9cb69386a137fd3be0b888adf14"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a7d55a9cb69386a137fd3be0b888adf14">Athena::ALTTPQuest::setValid</a></div><div class="ttdeci">void setValid(bool val)</div><div class="ttdoc">setValid </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a300853eb166d33bf1b7bd4908c39a038"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a300853eb166d33bf1b7bd4908c39a038">Athena::ALTTPQuest::setRupeeCurrent</a></div><div class="ttdeci">void setRupeeCurrent(atUint16 val)</div><div class="ttdoc">setRupeeCurrent </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a8ef78d9149155ec4b4d54f9934a248a2"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a8ef78d9149155ec4b4d54f9934a248a2">Athena::ALTTPQuest::setDungeonDeathTotal</a></div><div class="ttdeci">void setDungeonDeathTotal(atUint32 id, atUint16 val)</div><div class="ttdoc">setDungeonDeathTotal </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a35aa1bb70a6ce143181530a27878f1d7"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a35aa1bb70a6ce143181530a27878f1d7">Athena::ALTTPQuest::progressFlags2</a></div><div class="ttdeci">ALTTPProgressFlags2 progressFlags2() const </div><div class="ttdoc">progressFlags2 </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a7d35d3ac214e6553a909c3665d819aed"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a7d35d3ac214e6553a909c3665d819aed">Athena::ALTTPQuest::setRupeeMax</a></div><div class="ttdeci">void setRupeeMax(atUint16 val)</div><div class="ttdoc">setRupeeMax </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a7d0a9193b9e3ed23fac00bf2cf57917b"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a7d0a9193b9e3ed23fac00bf2cf57917b">Athena::ALTTPQuest::bombFiller</a></div><div class="ttdeci">atUint8 bombFiller() const </div><div class="ttdoc">bombFiller </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a8ca9e81554e7898000575a1105f6ede5"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a8ca9e81554e7898000575a1105f6ede5">Athena::ALTTPQuest::playerNameToString</a></div><div class="ttdeci">std::string playerNameToString() const </div><div class="ttdoc">playerNameToString </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ad2456aae02f0cd0d3eed26c4e4da6fc1"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ad2456aae02f0cd0d3eed26c4e4da6fc1">Athena::ALTTPQuest::setOldManFlag</a></div><div class="ttdeci">void setOldManFlag(atUint32 id, atUint8 val)</div><div class="ttdoc">setOldManFlag </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_aba0e900b9a3f6601fe435479d31a4d7c"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#aba0e900b9a3f6601fe435479d31a4d7c">Athena::ALTTPQuest::startLocation</a></div><div class="ttdeci">ALTTPStartLocation startLocation() const </div><div class="ttdoc">startLocation </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a408f1dcbedfbb3a0bd9ebaf980bab7cd"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a408f1dcbedfbb3a0bd9ebaf980bab7cd">Athena::ALTTPQuest::abilityFlags</a></div><div class="ttdeci">ALTTPAbilities abilityFlags() const </div><div class="ttdoc">abilityFlags </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_af7d3b638ad59b7e14e46b46d56e61089"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#af7d3b638ad59b7e14e46b46d56e61089">Athena::ALTTPQuest::dungeonMaps</a></div><div class="ttdeci">ALTTPDungeonItemFlags dungeonMaps() const </div><div class="ttdoc">dungeonMaps </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a53a564f171dc62de07af165ac5c5273d"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a53a564f171dc62de07af165ac5c5273d">Athena::ALTTPQuest::setRoomFlags</a></div><div class="ttdeci">void setRoomFlags(std::vector&lt; ALTTPRoomFlags * &gt; flags)</div><div class="ttdoc">setRoomFlags </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ae5bb5a3229812b38fc4e90a51f131a78"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ae5bb5a3229812b38fc4e90a51f131a78">Athena::ALTTPQuest::setMagicPower</a></div><div class="ttdeci">void setMagicPower(atUint8 val)</div><div class="ttdoc">setMagicPower </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_crystals_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_crystals.html">Athena::ALTTPCrystals</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00166">ALTTPStructs.hpp:166</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a2472c929e21791eeeb98ea138a0802a2"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a2472c929e21791eeeb98ea138a0802a2">Athena::ALTTPQuest::setCompasses</a></div><div class="ttdeci">void setCompasses(ALTTPDungeonItemFlags flags)</div><div class="ttdoc">setCompasses </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a6cd66142d274192d47dc31e6256fed60"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a6cd66142d274192d47dc31e6256fed60">Athena::ALTTPQuest::dungeonDeathTotalCount</a></div><div class="ttdeci">atUint16 dungeonDeathTotalCount() const </div><div class="ttdoc">dungeonDeathTotalCount </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html">Athena::ALTTPLightDarkWorldIndicator</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00094">ALTTPStructs.hpp:94</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a896fbd70cfa7428547b053519b121f45"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a896fbd70cfa7428547b053519b121f45">Athena::ALTTPQuest::setUnknown1</a></div><div class="ttdeci">void setUnknown1(std::vector&lt; atUint8 &gt; flags)</div><div class="ttdoc">setUnknown1 </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ab8ac4c5895626d58611e0f835c888f26"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ab8ac4c5895626d58611e0f835c888f26">Athena::ALTTPQuest::roomFlags</a></div><div class="ttdeci">std::vector&lt; ALTTPRoomFlags * &gt; roomFlags()</div><div class="ttdoc">roomFlags </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_aeb741fe6bb80cfc108a9904f9c131ed9"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#aeb741fe6bb80cfc108a9904f9c131ed9">Athena::ALTTPQuest::setProgressIndicator</a></div><div class="ttdeci">void setProgressIndicator(ALTTPProgressIndicator val)</div><div class="ttdoc">setProgressIndicator </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a684d99aaaeb3a912bb207bfa8d8e6c4d"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a684d99aaaeb3a912bb207bfa8d8e6c4d">Athena::ALTTPQuest::progressFlags1</a></div><div class="ttdeci">ALTTPProgressFlags1 progressFlags1() const </div><div class="ttdoc">progressFlags1 </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a26a35258b5b35a05cb5ee80cec7dfb05"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a26a35258b5b35a05cb5ee80cec7dfb05">Athena::ALTTPQuest::rupeeMax</a></div><div class="ttdeci">atUint16 rupeeMax() const </div><div class="ttdoc">rupeeMax </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a6668f39c386f48f4de32bb20fabfdf6e"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a6668f39c386f48f4de32bb20fabfdf6e">Athena::ALTTPQuest::setArrows</a></div><div class="ttdeci">void setArrows(atUint8 val)</div><div class="ttdoc">setArrows </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a0738fc03b93da1a49c8465eb0d94ed0e"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a0738fc03b93da1a49c8465eb0d94ed0e">Athena::ALTTPQuest::setPostGameDeathCounter</a></div><div class="ttdeci">void setPostGameDeathCounter(atInt16 val)</div><div class="ttdoc">setPostGameDeathCounter </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a6c450b0607dc08751976dd88923e44a3"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a6c450b0607dc08751976dd88923e44a3">Athena::ALTTPQuest::valid</a></div><div class="ttdeci">bool valid()</div><div class="ttdoc">valid </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a12f64416ab10050daa2449764c52a7f9"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a12f64416ab10050daa2449764c52a7f9">Athena::ALTTPQuest::setInventory</a></div><div class="ttdeci">void setInventory(ALTTPInventory *inv)</div><div class="ttdoc">setInventory </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a72205c195576ef613fc85a274843393b"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a72205c195576ef613fc85a274843393b">Athena::ALTTPQuest::setOldManFlags</a></div><div class="ttdeci">void setOldManFlags(std::vector&lt; atUint8 &gt; flags)</div><div class="ttdoc">setOldManFlags </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a4b37fb77e13b4d15635a58fbaec04736"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a4b37fb77e13b4d15635a58fbaec04736">Athena::ALTTPQuest::setProgressFlags1</a></div><div class="ttdeci">void setProgressFlags1(ALTTPProgressFlags1 val)</div><div class="ttdoc">setProgressFlags1 </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a7ee8c8c4a032ad291a2cee2a2ff85cb4"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a7ee8c8c4a032ad291a2cee2a2ff85cb4">Athena::ALTTPQuest::crystals</a></div><div class="ttdeci">ALTTPCrystals crystals() const </div><div class="ttdoc">crystals </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_aea0ee1f95925d5dae59afd55965731c8"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#aea0ee1f95925d5dae59afd55965731c8">Athena::ALTTPQuest::setUnknown2</a></div><div class="ttdeci">void setUnknown2(atUint16 val)</div><div class="ttdoc">setUnknown2 </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a5703a1291c9eecc30cafec7f763b809e"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a5703a1291c9eecc30cafec7f763b809e">Athena::ALTTPQuest::setTagAlong</a></div><div class="ttdeci">void setTagAlong(ALTTPTagAlong val)</div><div class="ttdoc">setTagAlong </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a84c9eff2c241f89575b8cb608146e475"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a84c9eff2c241f89575b8cb608146e475">Athena::ALTTPQuest::setPendants</a></div><div class="ttdeci">void setPendants(ALTTPPendants val)</div><div class="ttdoc">setPendants </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a110f6a429bf780d8dd5bdc20cef91a2f"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a110f6a429bf780d8dd5bdc20cef91a2f">Athena::ALTTPQuest::magicFiller</a></div><div class="ttdeci">atUint8 magicFiller() const </div><div class="ttdoc">magicFiller </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_inventory_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_inventory.html">Athena::ALTTPInventory</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00059">ALTTPStructs.hpp:59</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a5386ac84cd3b9544bf85f535a2bb8760"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a5386ac84cd3b9544bf85f535a2bb8760">Athena::ALTTPQuest::setDungeonMaps</a></div><div class="ttdeci">void setDungeonMaps(ALTTPDungeonItemFlags flags)</div><div class="ttdoc">setDungeonMaps </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a9ef57f73f59b9b05c95cde0cbddcebd8"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a9ef57f73f59b9b05c95cde0cbddcebd8">Athena::ALTTPQuest::setChecksum</a></div><div class="ttdeci">void setChecksum(atUint16 checksum)</div><div class="ttdoc">setChecksum </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_pendants_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_pendants.html">Athena::ALTTPPendants</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00142">ALTTPStructs.hpp:142</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_afee41615b340b12188566fb72888e78b"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#afee41615b340b12188566fb72888e78b">Athena::ALTTPQuest::mapIcon</a></div><div class="ttdeci">ALTTPMapIcon mapIcon() const </div><div class="ttdoc">mapIcon </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a1fc24efe2221e0eee8f80ad126add3ba"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a1fc24efe2221e0eee8f80ad126add3ba">Athena::ALTTPQuest::dungeonKeys</a></div><div class="ttdeci">atUint8 dungeonKeys(atUint32 id) const </div><div class="ttdoc">dungeonKeys </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></div><div class="ttdoc">A Link to the Past Quest container class. </div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_quest_8hpp_source.html#l00035">ALTTPQuest.hpp:35</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_abc097214d803671a84f143e6c4b56c02"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#abc097214d803671a84f143e6c4b56c02">Athena::ALTTPQuest::setArrowUpgrades</a></div><div class="ttdeci">void setArrowUpgrades(atUint8 val)</div><div class="ttdoc">setArrowUpgrades </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ad7e2835fc59add9d8e37817df3f9dda8"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ad7e2835fc59add9d8e37817df3f9dda8">Athena::ALTTPQuest::keys</a></div><div class="ttdeci">atUint8 keys() const </div><div class="ttdoc">keys </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_af98279f0ffb360e927d627bd66b1a461"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#af98279f0ffb360e927d627bd66b1a461">Athena::ALTTPQuest::wishingPond</a></div><div class="ttdeci">atUint16 wishingPond() const </div><div class="ttdoc">wishingPond </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a32a80888d102e70defe10b671e558bc3"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a32a80888d102e70defe10b671e558bc3">Athena::ALTTPQuest::inventory</a></div><div class="ttdeci">ALTTPInventory * inventory() const </div><div class="ttdoc">inventory </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_af9ebb4788f688027d78b156c911cb728"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#af9ebb4788f688027d78b156c911cb728">Athena::ALTTPQuest::setDungeonDeathTotals</a></div><div class="ttdeci">void setDungeonDeathTotals(std::vector&lt; atUint16 &gt; val)</div><div class="ttdoc">setDungeonDeathTotals </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_aaa5671e169e02b388870cbe0171ba017"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#aaa5671e169e02b388870cbe0171ba017">Athena::ALTTPQuest::setArrowFiller</a></div><div class="ttdeci">void setArrowFiller(atUint8 val)</div><div class="ttdoc">setArrowFiller </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a9b3b852d6ef60526f38fe222297f3230"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a9b3b852d6ef60526f38fe222297f3230">Athena::ALTTPQuest::setPlayerName</a></div><div class="ttdeci">void setPlayerName(std::vector&lt; atUint16 &gt; playerName)</div><div class="ttdoc">setPlayerName </div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_overworld_event_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_overworld_event.html">Athena::ALTTPOverworldEvent</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00047">ALTTPStructs.hpp:47</a></div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a20a31d543ca23caa429906a3751c3a39"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a20a31d543ca23caa429906a3751c3a39">Athena::ALTTPQuest::setCrystals</a></div><div class="ttdeci">void setCrystals(ALTTPCrystals val)</div><div class="ttdoc">setCrystals </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a674443ef1779d4a89ada3023e3976ce3"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a674443ef1779d4a89ada3023e3976ce3">Athena::ALTTPQuest::unknown2</a></div><div class="ttdeci">atUint16 unknown2() const </div><div class="ttdoc">unknown2 </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ae037c950a498ae1ab2525efd0e0e4980"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ae037c950a498ae1ab2525efd0e0e4980">Athena::ALTTPQuest::arrowFiller</a></div><div class="ttdeci">atUint8 arrowFiller() const </div><div class="ttdoc">arrowFiller </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a62dfd22f9f990029b8b7f45e56ba77f4"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a62dfd22f9f990029b8b7f45e56ba77f4">Athena::ALTTPQuest::setBigKeys</a></div><div class="ttdeci">void setBigKeys(ALTTPDungeonItemFlags flags)</div><div class="ttdoc">setBigKeys </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_aeb3061f14f566cbca0483b117f8f3094"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#aeb3061f14f566cbca0483b117f8f3094">Athena::ALTTPQuest::setBombUpgrades</a></div><div class="ttdeci">void setBombUpgrades(atUint8 val)</div><div class="ttdoc">setBombUpgrades </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_a4d1ae687becd8945eba37cb1af06346b"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#a4d1ae687becd8945eba37cb1af06346b">Athena::ALTTPQuest::deathSaveCount</a></div><div class="ttdeci">atUint16 deathSaveCount() const </div><div class="ttdoc">deathSaveCount </div></div>
<div class="ttc" id="class_athena_1_1_a_l_t_t_p_quest_html_ae8791d3bcc9fd488857f14d92f4668d2"><div class="ttname"><a href="class_athena_1_1_a_l_t_t_p_quest.html#ae8791d3bcc9fd488857f14d92f4668d2">Athena::ALTTPQuest::tagAlong</a></div><div class="ttdeci">ALTTPTagAlong tagAlong() const </div><div class="ttdoc">tagAlong </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>ALTTPQuest.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,348 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/ALTTPStructs.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 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.9.1 -->
<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><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&#160;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('_a_l_t_t_p_structs_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">ALTTPStructs.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef ALTTP_STRUCTS_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define ALTTP_STRUCTS_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#ifndef __DOXYGEN_IGNORE__</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;Athena/Types.hpp&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</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"><a class="line" href="struct_athena_1_1_a_l_t_t_p_room_flags.html"> 27</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_room_flags.html">ALTTPRoomFlags</a></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;{</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keywordtype">bool</span> Chest1: 1;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keywordtype">bool</span> Chest2: 1;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keywordtype">bool</span> Chest3: 1;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keywordtype">bool</span> Chest4: 1;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keywordtype">bool</span> Quadrant1: 1;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordtype">bool</span> Quadrant2: 1;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keywordtype">bool</span> Quadrant3: 1;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keywordtype">bool</span> Quadrant4: 1;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordtype">bool</span> Door1: 1;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordtype">bool</span> Door2: 1;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordtype">bool</span> Door3: 1;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordtype">bool</span> Door4: 1;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordtype">bool</span> BossBattleWon: 1;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordtype">bool</span> Key: 1;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordtype">bool</span> KeyOrChest: 1;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordtype">bool</span> ChestOrTile: 1;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;};</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="struct_athena_1_1_a_l_t_t_p_overworld_event.html"> 47</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_overworld_event.html">ALTTPOverworldEvent</a></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;{</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordtype">bool</span> Unused1: 1;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordtype">bool</span> HeartPiece: 1;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keywordtype">bool</span> Overlay: 1;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordtype">bool</span> Unused2: 1;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordtype">bool</span> Unused3: 1;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordtype">bool</span> Unused4: 1;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordtype">bool</span> Set: 1;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordtype">bool</span> Unused5: 1;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;};</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"><a class="line" href="struct_athena_1_1_a_l_t_t_p_inventory.html"> 59</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_inventory.html">ALTTPInventory</a></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;{</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordtype">char</span> Bow;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordtype">char</span> Boomerang;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">bool</span> Hookshot;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordtype">char</span> Bombs; <span class="comment">// Bomb count</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">char</span> Magic;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordtype">bool</span> FireRod;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordtype">bool</span> IceRod;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">bool</span> Bombos;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordtype">bool</span> Ether;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordtype">bool</span> Quake;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordtype">bool</span> Torch;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keywordtype">bool</span> Hammer;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordtype">char</span> Flute;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordtype">bool</span> BugNet;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordtype">bool</span> Book;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordtype">bool</span> Bottles;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordtype">bool</span> Somaria;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordtype">bool</span> Byrna;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordtype">bool</span> MagicCape;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keywordtype">char</span> MagicMirror;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordtype">char</span> Gloves;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordtype">char</span> Boots;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keywordtype">bool</span> Flippers;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordtype">bool</span> MoonPearl;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keywordtype">char</span> Unused; <span class="comment">//?</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordtype">char</span> Sword;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordtype">char</span> Shield;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordtype">char</span> Armor;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordtype">char</span> BottleTypes[4];</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;};</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html"> 94</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html">ALTTPLightDarkWorldIndicator</a></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;{</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordtype">bool</span> Unused1: 1;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keywordtype">bool</span> Unused2: 1;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordtype">bool</span> Unused3: 1;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordtype">bool</span> Unused4: 1;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordtype">bool</span> Unused5: 1;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keywordtype">bool</span> Unused6: 1;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordtype">bool</span> IsDarkWorld: 1;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordtype">bool</span> Unused7: 1;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;};</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html"> 107</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">ALTTPDungeonItemFlags</a></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;{</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keyword">union</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; {</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keyword">struct</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; {</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordtype">bool</span> Unused1: 1;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordtype">bool</span> Unused2: 1;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordtype">bool</span> GanonsTower: 1;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordtype">bool</span> TurtleRock: 1;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordtype">bool</span> GargoylesDomain: 1;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordtype">bool</span> TowerOfHera: 1;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordtype">bool</span> IcePalace: 1;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordtype">bool</span> SkullWoods: 1;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; };</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; atUint8 flags1;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; };</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keyword">union</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; {</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keyword">struct</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; {</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordtype">bool</span> MiseryMire: 1;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keywordtype">bool</span> DarkPalace: 1;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keywordtype">bool</span> SwampPalace: 1;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordtype">bool</span> HyruleCastle2: 1; <span class="comment">// unused in orignal game</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordtype">bool</span> DesertPalace: 1;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordtype">bool</span> EasternPalace: 1;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordtype">bool</span> HyruleCastle: 1; <span class="comment">// unused exist in original game</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordtype">bool</span> SewerPassage: 1; <span class="comment">// unused exist in original game</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; };</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; atUint8 flags2;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; };</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;};</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="struct_athena_1_1_a_l_t_t_p_pendants.html"> 142</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_pendants.html">ALTTPPendants</a></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;{</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keywordtype">bool</span> Courage: 1;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keywordtype">bool</span> Wisdom: 1;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordtype">bool</span> Power: 1;</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordtype">bool</span> Unused1: 1;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordtype">bool</span> Unused2: 1;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordtype">bool</span> Unused3: 1;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordtype">bool</span> Unused4: 1;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordtype">bool</span> Unused5: 1;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;};</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="struct_athena_1_1_a_l_t_t_p_abilities.html"> 154</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_abilities.html">ALTTPAbilities</a></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;{</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">bool</span> Nothing: 1; <span class="comment">//?</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordtype">bool</span> Swim: 1;</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordtype">bool</span> Dash: 1;</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordtype">bool</span> Pull: 1;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordtype">bool</span> Unknown1: 1; <span class="comment">//---</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordtype">bool</span> Talk: 1;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordtype">bool</span> Read: 1;</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordtype">bool</span> Unknown2: 1; <span class="comment">//---</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;};</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="struct_athena_1_1_a_l_t_t_p_crystals.html"> 166</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_crystals.html">ALTTPCrystals</a></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;{</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keywordtype">bool</span> MiseryMire: 1;</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keywordtype">bool</span> DarkPalace: 1;</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordtype">bool</span> IcePalace: 1;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordtype">bool</span> TurtleRock: 1;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keywordtype">bool</span> SwampPalace: 1;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keywordtype">bool</span> GargoyleDomain: 1;</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordtype">bool</span> SkullWoods: 1;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;};</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;</div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="struct_athena_1_1_a_l_t_t_p_magic_usage.html"> 177</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_magic_usage.html">ALTTPMagicUsage</a></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;{</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordtype">bool</span> Normal: 1;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordtype">bool</span> Half: 1;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordtype">bool</span> Quarter: 1;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordtype">bool</span> Unused1: 1;</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">bool</span> Unused2: 1;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keywordtype">bool</span> Unused3: 1;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordtype">bool</span> Unused4: 1;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keywordtype">bool</span> Unused5: 1;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;};</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="struct_athena_1_1_a_l_t_t_p_progress_flags1.html"> 190</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_progress_flags1.html">ALTTPProgressFlags1</a></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;{</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordtype">bool</span> UncleSecretPassage: 1;</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keywordtype">bool</span> DyingPriest: 1; <span class="comment">//?</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keywordtype">bool</span> ZeldaSanctuary: 1; <span class="comment">//?</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordtype">bool</span> Unused1: 1;</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keywordtype">bool</span> UncleLeftHouse: 1;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordtype">bool</span> BookOfMudora: 1; <span class="comment">//? Math says it&#39;s a guess need to investigate</span></div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordtype">bool</span> DwarfPartner: 1; <span class="comment">//?</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="keywordtype">bool</span> Unused2: 1;</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;};</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;</div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="struct_athena_1_1_a_l_t_t_p_progress_flags2.html"> 203</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_a_l_t_t_p_progress_flags2.html">ALTTPProgressFlags2</a></div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;{</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordtype">bool</span> BottleFromBum: 1;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordtype">bool</span> BottleFromSalesMen: 1;</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="keywordtype">bool</span> Unused1: 1; <span class="comment">//?</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordtype">bool</span> FluteBoy: 1;</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordtype">bool</span> ThiefsChest: 1;</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="keywordtype">bool</span> SavedSmithPartner: 1;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="keywordtype">bool</span> Unused2: 1; <span class="comment">//?</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keywordtype">bool</span> SmithsHaveSword: 1;</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;};</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;}</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;<span class="preprocessor">#endif // __DOXYGEN_IGNORE__</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;<span class="preprocessor">#endif // ALTTP_STRUCTS_HPP</span></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_abilities_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_abilities.html">Athena::ALTTPAbilities</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00154">ALTTPStructs.hpp:154</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_room_flags_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_room_flags.html">Athena::ALTTPRoomFlags</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00027">ALTTPStructs.hpp:27</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_progress_flags1_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_progress_flags1.html">Athena::ALTTPProgressFlags1</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00190">ALTTPStructs.hpp:190</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html">Athena::ALTTPDungeonItemFlags</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00107">ALTTPStructs.hpp:107</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_progress_flags2_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_progress_flags2.html">Athena::ALTTPProgressFlags2</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00203">ALTTPStructs.hpp:203</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_magic_usage_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_magic_usage.html">Athena::ALTTPMagicUsage</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00177">ALTTPStructs.hpp:177</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_crystals_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_crystals.html">Athena::ALTTPCrystals</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00166">ALTTPStructs.hpp:166</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html">Athena::ALTTPLightDarkWorldIndicator</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00094">ALTTPStructs.hpp:94</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_inventory_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_inventory.html">Athena::ALTTPInventory</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00059">ALTTPStructs.hpp:59</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_pendants_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_pendants.html">Athena::ALTTPPendants</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00142">ALTTPStructs.hpp:142</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="struct_athena_1_1_a_l_t_t_p_overworld_event_html"><div class="ttname"><a href="struct_athena_1_1_a_l_t_t_p_overworld_event.html">Athena::ALTTPOverworldEvent</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_structs_8hpp_source.html#l00047">ALTTPStructs.hpp:47</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>ALTTPStructs.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,151 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/Checksums.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 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.9.1 -->
<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><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&#160;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('_checksums_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">Checksums.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef CHECKSUMS_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define CHECKSUMS_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></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="keyword">namespace </span>Checksums</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;atUint32 crc32(<span class="keyword">const</span> atUint8* data, atUint64 length, atUint32 seed = 0xFFFFFFFF);</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;atUint16 crc16CCITT(<span class="keyword">const</span> atUint8* data, atUint64 length, atUint16 seed = 0xFFFF, atUint16 <span class="keyword">final</span> = 0);</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;atUint16 crc16(<span class="keyword">const</span> atUint8* data, atUint64 length);</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;}</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;}</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#endif // CHECKSUMS_HPP</span></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>Checksums.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,164 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/Compression.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 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.9.1 -->
<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><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&#160;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('_compression_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">Compression.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef COMPRESSION_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define COMPRESSION_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></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="keyword">namespace </span>io</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span>Compression</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="comment">// Zlib compression</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;atInt32 decompressZlib(<span class="keyword">const</span> atUint8* src, atUint32 srcLen, atUint8* dst, atUint32 dstLen);</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;atInt32 compressZlib(<span class="keyword">const</span> atUint8* src, atUint32 srcLen, atUint8* dst, atUint32 dstLen);</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment">// lzo compression</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;atInt32 decompressLZO(<span class="keyword">const</span> atUint8* source, atInt32 sourceSize, atUint8* dst, atInt32&amp; dstSize);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="comment">// Yaz0 encoding</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;atUint32 yaz0Decode(<span class="keyword">const</span> atUint8* src, atUint8* dst, atUint32 uncompressedSize);</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;atUint32 yaz0Encode(<span class="keyword">const</span> atUint8* src, atUint32 srcSize, atUint8* data);</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;atUint32 decompressLZ77(<span class="keyword">const</span> atUint8* src, atUint32 srcLen, atUint8** dst);</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;atUint32 compressLZ77(<span class="keyword">const</span> atUint8* src, atUint32 srcLen, atUint8** dst, <span class="keywordtype">bool</span> extended = <span class="keyword">false</span>);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;}</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;}</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;}</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#endif // COMPRESSION_HPP</span></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>Compression.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

156
docs/_dir_8hpp_source.html Normal file
View File

@ -0,0 +1,156 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/Dir.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 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.9.1 -->
<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><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&#160;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('_dir_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">Dir.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef DIR_HPP</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define DIR_HPP</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;Athena/FileInfo.hpp&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;{</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_athena_1_1_dir.html"> 9</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_dir.html">Dir</a></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;{</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; <span class="keyword">explicit</span> <a class="code" href="class_athena_1_1_dir.html">Dir</a>(<span class="keyword">const</span> std::string&amp; path);</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; std::string absolutePath() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> std::string absolutePath(<span class="keyword">const</span> std::string&amp; path)</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_dir.html">Dir</a>(path).absolutePath(); }</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keywordtype">bool</span> isDir() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isDir(<span class="keyword">const</span> std::string dir)</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_dir.html">Dir</a>(dir).isDir(); }</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; std::vector&lt;FileInfo&gt; files() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keywordtype">bool</span> cd(<span class="keyword">const</span> std::string&amp; path);</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keywordtype">bool</span> rm(<span class="keyword">const</span> std::string&amp; path);</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keywordtype">bool</span> touch();</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> mkdir(<span class="keyword">const</span> std::string&amp; dir, mode_t mode = 0755);</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> mkpath(<span class="keyword">const</span> std::string&amp; path, mode_t mode = 0755);</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; std::string m_path;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;};</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;}</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#endif // DIR_HPP</span></div>
<div class="ttc" id="class_athena_1_1_dir_html"><div class="ttname"><a href="class_athena_1_1_dir.html">Athena::Dir</a></div><div class="ttdef"><b>Definition:</b> <a href="_dir_8hpp_source.html#l00009">Dir.hpp:9</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>Dir.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,244 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/Exception.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 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.9.1 -->
<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><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&#160;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('_exception_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">Exception.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef EXCEPTION_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define EXCEPTION_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;stdarg.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Athena/Utility.hpp&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define __STRX(x) #x</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#define __STR(x) __STRX(x)</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#define __LINE_STRING__ __STR(__LINE__)</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">namespace </span>error</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_exception.html"> 38</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1error_1_1_exception.html">Exception</a></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;{</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_exception.html#a6d3d8ea6244f6c31e5e8fde78acb891e"> 44</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="class_athena_1_1error_1_1_exception.html#a6d3d8ea6244f6c31e5e8fde78acb891e">Exception</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66">message</a>, <span class="keyword">const</span> std::string&amp; file, <span class="keyword">const</span> std::string&amp; <span class="keyword">function</span>, <span class="keyword">const</span> <span class="keywordtype">int</span> line) :</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="code" href="class_athena_1_1error_1_1_exception.html#a5a6ccea051c659632f5b2750f64e55f2">m_message</a>(message),</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; m_file(file),</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; m_function(function),</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; m_line(line),</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; m_exceptionName(<span class="stringliteral">&quot;Exception&quot;</span>)</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"> 51</span>&#160; }</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66"> 56</a></span>&#160; <span class="keyword">inline</span> std::string <a class="code" href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66">message</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keywordflow">return</span> m_exceptionName + (<a class="code" href="class_athena_1_1error_1_1_exception.html#a5a6ccea051c659632f5b2750f64e55f2">m_message</a>.empty() ? <span class="stringliteral">&quot;&quot;</span> : <span class="stringliteral">&quot;: &quot;</span> + <a class="code" href="class_athena_1_1error_1_1_exception.html#a5a6ccea051c659632f5b2750f64e55f2">m_message</a>);</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;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">inline</span> std::string file()<span class="keyword"> const</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordflow">return</span> m_file;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; }</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keyword">inline</span> std::string <span class="keyword">function</span>() <span class="keyword">const</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; {</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordflow">return</span> m_function;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; }</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keyword">inline</span> <span class="keywordtype">int</span> line()<span class="keyword"> const</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordflow">return</span> m_line;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; }</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keyword">inline</span> std::string formattedMessage()<span class="keyword"> const</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordflow">return</span> Athena::utility::sprintf(<span class="stringliteral">&quot;%s : %s (%i) %s&quot;</span>, m_file.c_str(), m_function.c_str(), m_line, <a class="code" href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66">message</a>().c_str());</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; }</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_exception.html#a5a6ccea051c659632f5b2750f64e55f2"> 81</a></span>&#160; std::string <a class="code" href="class_athena_1_1error_1_1_exception.html#a5a6ccea051c659632f5b2750f64e55f2">m_message</a>; </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; std::string m_file;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; std::string m_function;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordtype">int</span> m_line;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; std::string m_exceptionName;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;};</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;} <span class="comment">// error</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor">#define THROW_EXCEPTION(args,...) \</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="preprocessor">do { \</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return; \</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor"> } else { std::string msg = Athena::utility::sprintf(__VA_ARGS__); \</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor"> throw Athena::error::Exception(std::string(&quot;Exception: &quot;)+msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="preprocessor">} while(0)</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="preprocessor">#elif defined(__GNUC__)</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="preprocessor">#define THROW_EXCEPTION(args...) \</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="preprocessor">do { \</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) { atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return; \</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor"> } else { \</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="preprocessor"> std::string msg = Athena::utility::sprintf(args); \</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="preprocessor"> throw Athena::error::Exception(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="preprocessor">} while(0)</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;<span class="preprocessor">#define THROW_EXCEPTION_RETURN(ret, args,...) \</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="preprocessor">do { \</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) \</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="preprocessor"> { \</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="preprocessor"> atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); \</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="preprocessor"> return ret; \</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="preprocessor"> } else { \</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="preprocessor"> std::string msg = Athena::utility::sprintf(__VA_ARGS__); \</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="preprocessor"> throw Athena::error::Exception(std::string(&quot;Exception: &quot;)+msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="preprocessor">} while(0)</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="preprocessor">#elif defined(__GNUC__)</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="preprocessor">#define THROW_EXCEPTION_RETURN(ret, args...) \</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="preprocessor">do { \</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) { atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return ret; \</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;<span class="preprocessor"> } else { \</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="preprocessor"> std::string msg = Athena::utility::sprintf(args); \</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="preprocessor"> throw Athena::error::Exception(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="preprocessor">} while(0)</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="preprocessor">#endif // EXCEPTION_HPP</span></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html_a6d3d8ea6244f6c31e5e8fde78acb891e"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html#a6d3d8ea6244f6c31e5e8fde78acb891e">Athena::error::Exception::Exception</a></div><div class="ttdeci">Exception(const std::string &amp;message, const std::string &amp;file, const std::string &amp;function, const int line)</div><div class="ttdoc">The constructor for an Exception. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00044">Exception.hpp:44</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html_a01898523fb445712bd95b2404b9baa66"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66">Athena::error::Exception::message</a></div><div class="ttdeci">std::string message() const </div><div class="ttdoc">Returns the Error message of the exception. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00056">Exception.hpp:56</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html_a5a6ccea051c659632f5b2750f64e55f2"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html#a5a6ccea051c659632f5b2750f64e55f2">Athena::error::Exception::m_message</a></div><div class="ttdeci">std::string m_message</div><div class="ttdoc">The error message string. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00081">Exception.hpp:81</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html">Athena::error::Exception</a></div><div class="ttdoc">The baseclass for all Exceptions. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00038">Exception.hpp:38</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>Exception.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,181 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/FileInfo.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 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.9.1 -->
<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><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&#160;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('_file_info_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">FileInfo.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef FILEINFO_HPP</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define FILEINFO_HPP</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;{</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_athena_1_1_file_info.html"> 10</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_file_info.html">FileInfo</a></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;{</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; <span class="keyword">explicit</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(<span class="keyword">const</span> std::string&amp; path = std::string());</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; std::string absolutePath() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> std::string absolutePath(<span class="keyword">const</span> std::string&amp; lnk)</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(lnk).absolutePath(); }</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; std::string absoluteFilePath() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> std::string absoluteFilePath(<span class="keyword">const</span> std::string&amp; path)</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(path).absoluteFilePath(); }</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; std::string filename() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> std::string filename(<span class="keyword">const</span> std::string path)</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(path).filename(); }</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; std::string path() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> std::string path(<span class="keyword">const</span> std::string path)</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(path).path(); }</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; std::string extension() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> std::string extension(<span class="keyword">const</span> std::string path)</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(path).extension(); }</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; atUint64 size() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> atUint64 size(<span class="keyword">const</span> std::string path)</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(path).size(); }</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordtype">bool</span> exists() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> exists(<span class="keyword">const</span> std::string&amp; path)</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(path).exists(); }</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordtype">bool</span> isLink() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> isLink(<span class="keyword">const</span> std::string&amp; lnk)</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(lnk).isLink(); }</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordtype">bool</span> isFile() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> isFile(<span class="keyword">const</span> std::string&amp; path)</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(path).isFile(); }</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordtype">bool</span> touch() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> touch(<span class="keyword">const</span> std::string&amp; path)</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="class_athena_1_1_file_info.html">FileInfo</a>(path).touch(); }</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; std::string m_path;</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;}</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;<span class="preprocessor">#endif // FILEINFO_HPP</span></div>
<div class="ttc" id="class_athena_1_1_file_info_html"><div class="ttname"><a href="class_athena_1_1_file_info.html">Athena::FileInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_file_info_8hpp_source.html#l00010">FileInfo.hpp:10</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>FileInfo.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,194 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/FileNotFoundException.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 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.9.1 -->
<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><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&#160;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('_file_not_found_exception_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">FileNotFoundException.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef FILENOTFOUNDEXCEPTION_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define FILENOTFOUNDEXCEPTION_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/Exception.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></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="keyword">namespace </span>error</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_file_not_found_exception.html"> 33</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1error_1_1_file_not_found_exception.html">FileNotFoundException</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1error_1_1_exception.html">Exception</a></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_file_not_found_exception.html#a2b401e18b016c372a1fbc7d22edfbd3c"> 39</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="class_athena_1_1error_1_1_file_not_found_exception.html#a2b401e18b016c372a1fbc7d22edfbd3c">FileNotFoundException</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1error_1_1_file_not_found_exception.html#addee60cc3fe1e8ebe54d9f85fb586d93">filename</a>, <span class="keyword">const</span> std::string&amp; file, <span class="keyword">const</span> std::string&amp; <span class="keyword">function</span>, <span class="keyword">const</span> <span class="keywordtype">int</span> line) :</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="code" href="class_athena_1_1error_1_1_exception.html">Exception</a>(std::string(<span class="stringliteral">&quot;FileNotFoundException: Could not find file \&quot;&quot;</span>) + filename + std::string(<span class="stringliteral">&quot;\&quot;, please check that it exists.&quot;</span>), file, function, line),</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; m_filename(filename)</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; {</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; m_exceptionName = <span class="stringliteral">&quot;FileNotFoundException&quot;</span>;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; }</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_file_not_found_exception.html#addee60cc3fe1e8ebe54d9f85fb586d93"> 49</a></span>&#160; <span class="keyword">inline</span> std::string <a class="code" href="class_athena_1_1error_1_1_file_not_found_exception.html#addee60cc3fe1e8ebe54d9f85fb586d93">filename</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_filename; }</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; std::string m_filename;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;};</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;} <span class="comment">// error</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#ifndef THROW_FILE_NOT_FOUND_EXCEPTION</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor">#define THROW_FILE_NOT_FOUND_EXCEPTION(msg) \</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) \</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor"> { \</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor"> atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, msg); \</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor"> return; \</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor"> else \</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor"> throw Athena::error::FileNotFoundException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor">} while(0)</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#ifndef THROW_FILE_NOT_FOUND_EXCEPTION_RETURN</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#define THROW_FILE_NOT_FOUND_EXCEPTION_RETURN(ret, msg) \</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) \</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor"> { \</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor"> atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, msg); \</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor"> return ret; \</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor"> else \</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor"> throw Athena::error::FileNotFoundException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor">} while(0)</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor">#endif // FILENOTFOUNDEXCEPTION_HPP</span></div>
<div class="ttc" id="class_athena_1_1error_1_1_file_not_found_exception_html_a2b401e18b016c372a1fbc7d22edfbd3c"><div class="ttname"><a href="class_athena_1_1error_1_1_file_not_found_exception.html#a2b401e18b016c372a1fbc7d22edfbd3c">Athena::error::FileNotFoundException::FileNotFoundException</a></div><div class="ttdeci">FileNotFoundException(const std::string &amp;filename, const std::string &amp;file, const std::string &amp;function, const int line)</div><div class="ttdoc">The constructor for an FileNotFoundException. </div><div class="ttdef"><b>Definition:</b> <a href="_file_not_found_exception_8hpp_source.html#l00039">FileNotFoundException.hpp:39</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_file_not_found_exception_html_addee60cc3fe1e8ebe54d9f85fb586d93"><div class="ttname"><a href="class_athena_1_1error_1_1_file_not_found_exception.html#addee60cc3fe1e8ebe54d9f85fb586d93">Athena::error::FileNotFoundException::filename</a></div><div class="ttdeci">std::string filename() const </div><div class="ttdoc">Returns the path of the offending file. </div><div class="ttdef"><b>Definition:</b> <a href="_file_not_found_exception_8hpp_source.html#l00049">FileNotFoundException.hpp:49</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_file_not_found_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_file_not_found_exception.html">Athena::error::FileNotFoundException</a></div><div class="ttdoc">An excpeption thrown when a file could not be found at the given path. </div><div class="ttdef"><b>Definition:</b> <a href="_file_not_found_exception_8hpp_source.html#l00033">FileNotFoundException.hpp:33</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html">Athena::error::Exception</a></div><div class="ttdoc">The baseclass for all Exceptions. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00038">Exception.hpp:38</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>FileNotFoundException.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,209 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/FileReader.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 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.9.1 -->
<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><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&#160;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('_file_reader_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">FileReader.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef FILESTREAM_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define FILESTREAM_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/IStreamReader.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></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="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span>io</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"><a class="line" href="class_athena_1_1io_1_1_file_reader.html"> 27</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_file_reader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_i_stream_reader.html">IStreamReader</a></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;{</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <a class="code" href="class_athena_1_1io_1_1_file_reader.html">FileReader</a>(<span class="keyword">const</span> std::string&amp; filename);</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1io_1_1_file_reader.html">FileReader</a>();</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; std::string filename() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordtype">void</span> setEndian(Endian endian);</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; Endian endian() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keywordtype">bool</span> isBigEndian() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordtype">bool</span> isLittleEndian() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordtype">void</span> open();</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordtype">void</span> close();</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordtype">bool</span> isOpen() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordtype">bool</span> save();</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordtype">void</span> seek(atInt64 pos, SeekOrigin origin = SeekOrigin::Current);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> seekAlign32() {seek(ROUND_UP_32(position()), SeekOrigin::Begin);}</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordtype">bool</span> atEnd() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; atUint64 position() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; atUint64 length() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordtype">void</span> seekBit(<span class="keywordtype">int</span>);</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordtype">bool</span> readBit();</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; atUint8 readUByte();</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; atInt8 readByte();</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; atUint8* readUBytes(atUint64 len);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; atInt8* readBytes(atUint64 len);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; atUint64 readBytesToBuf(<span class="keywordtype">void</span>* buf, atUint64 len) {<span class="keywordflow">return</span> readUBytesToBuf(buf, len);}</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; atUint64 readUBytesToBuf(<span class="keywordtype">void</span>* buf, atUint64 len);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; atUint16 readUint16();</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; atInt16 readInt16();</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; atUint32 readUint32();</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; atInt32 readInt32();</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; atUint64 readUint64();</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; atInt64 readInt64();</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">double</span> readDouble();</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordtype">float</span> readFloat();</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">bool</span> readBool();</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; std::string readString(atInt32 maxlen = -1);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; std::string readUnicode(atInt32 maxlen = -1);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; std::string m_filename;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; FILE* m_fileHandle;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; Endian m_endian;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; atUint8 m_currentByte;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; atUint8 m_bitShift;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordtype">bool</span> m_bitValid;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;};</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor">#ifndef FILEREADER_BASE</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor">#define FILEREADER_BASE() \</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="preprocessor">private: \</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="preprocessor"> typedef Athena::io::FileReader base</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor">#endif // FILEREADER_BASE</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="preprocessor">#endif // FILESTREAM_HPP</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_file_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_file_reader.html">Athena::io::FileReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_file_reader_8hpp_source.html#l00027">FileReader.hpp:27</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_i_stream_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_i_stream_reader.html">Athena::io::IStreamReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_stream_reader_8hpp_source.html#l00010">IStreamReader.hpp:10</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>FileReader.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,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.9.1"/>
<title>Athena IO Library: include/Athena/FileWriter.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 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.9.1 -->
<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><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&#160;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('_file_writer_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">FileWriter.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef FILEWRITER_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define FILEWRITER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/IStreamWriter.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_file_writer.html"> 26</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_file_writer.html">FileWriter</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_i_stream_writer.html">IStreamWriter</a></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <a class="code" href="class_athena_1_1io_1_1_file_writer.html">FileWriter</a>(<span class="keyword">const</span> std::string&amp; filename, <span class="keywordtype">bool</span> overwrite = <span class="keyword">true</span>);</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1io_1_1_file_writer.html">FileWriter</a>();</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keywordtype">void</span> setEndian(Endian endian);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; Endian endian() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordtype">bool</span> isBigEndian() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keywordtype">bool</span> isLittleEndian() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keywordtype">void</span> open(<span class="keywordtype">bool</span> overwrite = <span class="keyword">true</span>);</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordtype">void</span> close();</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordtype">bool</span> isOpen() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordtype">void</span> seek(atInt64 pos, SeekOrigin origin = SeekOrigin::Current);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> seekAlign32() {seek(ROUND_UP_32(position()), SeekOrigin::Begin);}</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordtype">bool</span> atEnd() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; atUint64 position() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; atUint64 length() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keywordtype">void</span> writeBit(<span class="keywordtype">bool</span> val);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordtype">void</span> seekBit(<span class="keywordtype">int</span> bit);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordtype">void</span> writeUByte(atUint8 val);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordtype">void</span> writeByte(atInt8 val);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordtype">void</span> writeUBytes(atUint8* data, atUint64 len);</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordtype">void</span> writeBytes(atInt8* data, atUint64 len);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keywordtype">void</span> writeUint16(atUint16 val);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordtype">void</span> writeInt16(atInt16 val);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordtype">void</span> writeUint32(atUint32 val);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordtype">void</span> writeInt32(atInt32 val);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordtype">void</span> writeUint64(atUint64 val);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordtype">void</span> writeInt64(atInt64 val);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordtype">void</span> writeDouble(<span class="keywordtype">double</span> val);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keywordtype">void</span> writeFloat(<span class="keywordtype">float</span> val);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordtype">void</span> writeBool(<span class="keywordtype">bool</span> val);</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordtype">void</span> writeString(<span class="keyword">const</span> std::string&amp; val);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordtype">void</span> writeUnicode(<span class="keyword">const</span> std::string&amp; str);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordtype">void</span> fill(atInt8 byte, atUint64 len);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">void</span> fill(atUint8 byte, atUint64 len);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; std::string m_filename;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; FILE* m_fileHandle;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; Endian m_endian;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; atUint8 m_currentByte;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; atUint64 m_bytePosition;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; atUint8 m_bitShift;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordtype">bool</span> m_bitValid;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;};</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;}</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor">#ifndef FILEWRITER_BASE</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor">#define FILEWRITER_BASE() \</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor">private: \</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor"> typedef Athena::io::FileWriter base;</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="preprocessor">#endif // FILEWRITER_BASE</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="preprocessor">#endif // FILEWRITER_HPP</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_i_stream_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_i_stream_writer.html">Athena::io::IStreamWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_stream_writer_8hpp_source.html#l00010">IStreamWriter.hpp:10</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_file_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_file_writer.html">Athena::io::FileWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_file_writer_8hpp_source.html#l00026">FileWriter.hpp:26</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>FileWriter.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,248 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/Global.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 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.9.1 -->
<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><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&#160;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('_global_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">Global.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef GLOBAL_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define GLOBAL_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/Types.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/Utility.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></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">#ifdef _MSC_VER</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#pragma warning(disable : 4996)</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#endif</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="preprocessor">#ifndef AT_PRETTY_FUNCTION</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor"># if defined(__PRETTY_FUNCTION__) || defined(__GNUC__)</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor"># define AT_PRETTY_FUNCTION __PRETTY_FUNCTION__</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor"># elif defined(__FUNCSIG__)</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor"># define AT_PRETTY_FUNCTION __FUNCSIG__</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor"># elif defined(__FUNCTION__)</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor"># define AT_PRETTY_FUNCTION __FUNCTION__</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor"># elif defined(__FUNC__)</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor"># define AT_PRETTY_FUNCTION __FUNC__</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor"># elif defined(__func__)</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor"># define AT_PRETTY_FUNCTION __func__</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor"># else</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor"># define AT_PRETTY_FUNCTION &quot;&lt;unknown&gt;&quot;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor"># endif</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#ifdef GEKKO</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#include &quot;gekko_support.h&quot;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>stat stat64_t;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#define stat64 stat</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>stat64 stat64_t;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#ifndef aDebug</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#define aDebug() \</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor"> std::cout &lt;&lt; __FILE__ &lt;&lt; &quot;(&quot; &lt;&lt; __LINE__ &lt;&lt; &quot;) &quot; &lt;&lt; AT_PRETTY_FUNCTION &lt;&lt; &quot;: &quot;</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#ifndef aError</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor">#define aError() \</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor"> std::cerr &lt;&lt; __FILE__ &lt;&lt; &quot;(&quot; &lt;&lt; __LINE__ &lt;&lt; &quot;) &quot; &lt;&lt; AT_PRETTY_FUNCTION &lt;&lt; &quot;: &quot;</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#ifndef aPrint</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#define aPrint() std::cout</span></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="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#define aEnd() &#39;\n&#39;</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#ifndef BLOCKSZ</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#define BLOCKSZ 512</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#define ROUND_UP_32(val) (((val) + 31) &amp; ~31)</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#define ROUND_UP_16(val) (((val) + 15) &amp; ~15)</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;{</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="keyword">enum class</span> SeekOrigin</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;{</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; Begin,</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; Current,</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; End</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;};</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="keyword">enum class</span> Endian</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;{</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; LittleEndian,</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; BigEndian</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;};</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAKURA</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="keyword">namespace </span>Sakura</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;{</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_vector2_d.html"> 94</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2D</a></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;{</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; T x;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; T y;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2D</a>()</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; : x(0),</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; y(0)</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; {</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; }</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2D</a>(T x, T y)</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; : x(x),</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; y(y)</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; {</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; }</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;};</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="keyword">typedef</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2D&lt;int&gt;</a> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="keyword">typedef</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2D&lt;float&gt;</a> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;} <span class="comment">// Sakura</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAKURA</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="keyword">typedef</span> void (*atEXCEPTION_HANDLER)(<span class="keyword">const</span> std::string&amp; file, <span class="keyword">const</span> std::string&amp; <span class="keyword">function</span>, <span class="keywordtype">int</span> line, <span class="keyword">const</span> std::string&amp;, ...);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;atEXCEPTION_HANDLER atGetExceptionHandler();</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="keywordtype">void</span> atSetExceptionHandler(atEXCEPTION_HANDLER func);</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;std::ostream&amp; operator&lt;&lt;(std::ostream&amp; os, <span class="keyword">const</span> Athena::SeekOrigin&amp; origin);</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;std::ostream&amp; operator&lt;&lt;(std::ostream&amp; os, <span class="keyword">const</span> Athena::Endian&amp; endian);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="preprocessor">#endif // GLOBAL_HPP</span></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_vector2_d_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_vector2_d.html">Athena::Sakura::Vector2D</a></div><div class="ttdef"><b>Definition:</b> <a href="_global_8hpp_source.html#l00094">Global.hpp:94</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>Global.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,209 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/IOException.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 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.9.1 -->
<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><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&#160;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('_i_o_exception_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">IOException.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef IOEXCEPTION_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define IOEXCEPTION_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/Exception.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span>error</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_i_o_exception.html"> 36</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1error_1_1_i_o_exception.html">IOException</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1error_1_1_exception.html">Exception</a></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_i_o_exception.html#aec6c3f5bfc9698dbff033860741d5b13"> 42</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="class_athena_1_1error_1_1_i_o_exception.html#aec6c3f5bfc9698dbff033860741d5b13">IOException</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66">message</a>, <span class="keyword">const</span> std::string&amp; file, <span class="keyword">const</span> std::string&amp; <span class="keyword">function</span>, <span class="keyword">const</span> <span class="keywordtype">int</span> line) :</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="class_athena_1_1error_1_1_exception.html">Exception</a>(message, file, function, line)</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; {</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; m_exceptionName = <span class="stringliteral">&quot;IOException&quot;</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; }</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;};</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;} <span class="comment">// error</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#define THROW_IO_EXCEPTION(args, ...) \</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return; \</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor"> } else {</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;std::string msg = Athena::utility::sprintf(args, __VA_ARGS__);</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;throw <a class="code" href="class_athena_1_1error_1_1_i_o_exception.html">Athena::error::IOException</a>(std::string(<span class="stringliteral">&quot;IOException: &quot;</span>) + msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__);</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;\</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;} \</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="keywordflow">while</span> (0)</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#elif defined(__GNUC__)</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#define THROW_IO_EXCEPTION(args...) \</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return; \</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor"> } else { std::string msg = Athena::utility::sprintf(args); \</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor"> throw Athena::error::IOException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor"> } while(0)</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor">#define THROW_IO_EXCEPTION_RETURN(ret, args, ...) \</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return ret; \</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor"> } else {</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; std::string msg = Athena::utility::sprintf(args, __VA_ARGS__);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;\</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;throw <a class="code" href="class_athena_1_1error_1_1_i_o_exception.html">Athena::error::IOException</a>(std::string(<span class="stringliteral">&quot;IOException: &quot;</span>) + msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;\</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;} \</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;} <span class="keywordflow">while</span> (0)</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="preprocessor">#elif defined(__GNUC__)</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="preprocessor">#define THROW_IO_EXCEPTION_RETURN(ret, args...) \</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return ret; \</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="preprocessor"> } else { std::string msg = Athena::utility::sprintf(args); \</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor"> throw Athena::error::IOException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor"> } while(0)</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="preprocessor">#endif // IOEXCEPTION_HPP</span></div>
<div class="ttc" id="class_athena_1_1error_1_1_i_o_exception_html_aec6c3f5bfc9698dbff033860741d5b13"><div class="ttname"><a href="class_athena_1_1error_1_1_i_o_exception.html#aec6c3f5bfc9698dbff033860741d5b13">Athena::error::IOException::IOException</a></div><div class="ttdeci">IOException(const std::string &amp;message, const std::string &amp;file, const std::string &amp;function, const int line)</div><div class="ttdoc">The constructor for an IOException. </div><div class="ttdef"><b>Definition:</b> <a href="_i_o_exception_8hpp_source.html#l00042">IOException.hpp:42</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html_a01898523fb445712bd95b2404b9baa66"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66">Athena::error::Exception::message</a></div><div class="ttdeci">std::string message() const </div><div class="ttdoc">Returns the Error message of the exception. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00056">Exception.hpp:56</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_i_o_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_i_o_exception.html">Athena::error::IOException</a></div><div class="ttdoc">An excpeption thrown on inappropriate IO calls. </div><div class="ttdef"><b>Definition:</b> <a href="_i_o_exception_8hpp_source.html#l00036">IOException.hpp:36</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html">Athena::error::Exception</a></div><div class="ttdoc">The baseclass for all Exceptions. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00038">Exception.hpp:38</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>IOException.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,168 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/IStream.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 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.9.1 -->
<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><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&#160;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('_i_stream_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">IStream.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef STREAM_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define STREAM_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Global.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/NotImplementedException.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;std::ostream&amp; operator&lt;&lt;(std::ostream&amp; os, Endian&amp; endian);</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_i_stream.html"> 28</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_i_stream.html">IStream</a></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1io_1_1_i_stream.html">IStream</a>() {}</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setEndian(Endian) = 0;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keyword">virtual</span> Endian endian() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isBigEndian() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isLittleEndian()<span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isOpen() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> seek(atInt64, SeekOrigin) = 0;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> atEnd() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keyword">virtual</span> atUint64 position() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keyword">virtual</span> atUint64 length() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> seekBit(<span class="keywordtype">int</span>) = 0;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;};</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;}</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;}</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#endif // STREAM_HPP</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_i_stream_html"><div class="ttname"><a href="class_athena_1_1io_1_1_i_stream.html">Athena::io::IStream</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_stream_8hpp_source.html#l00028">IStream.hpp:28</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>IStream.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,170 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/IStreamReader.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 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.9.1 -->
<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><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&#160;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('_i_stream_reader_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">IStreamReader.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ISTREAMREADER_HPP</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define ISTREAMREADER_HPP</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;IStream.hpp&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;{</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;{</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_i_stream_reader.html"> 10</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_i_stream_reader.html">IStreamReader</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_i_stream.html">IStream</a></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;{</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1io_1_1_i_stream_reader.html">IStreamReader</a>() {}</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setEndian(Endian) = 0;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <span class="keyword">virtual</span> Endian endian() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isBigEndian() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isLittleEndian()<span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isOpen() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> seek(atInt64, SeekOrigin) = 0;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> seekAlign32() = 0;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> atEnd() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="keyword">virtual</span> atUint64 position() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keyword">virtual</span> atUint64 length() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> seekBit(<span class="keywordtype">int</span>) = 0;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> readBit() = 0;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">virtual</span> atUint8 readUByte() = 0;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keyword">virtual</span> atInt8 readByte() = 0;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keyword">virtual</span> atUint8* readUBytes(atUint64) = 0;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keyword">virtual</span> atInt8* readBytes(atUint64) = 0;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keyword">virtual</span> atUint64 readUBytesToBuf(<span class="keywordtype">void</span>*, atUint64) = 0;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keyword">virtual</span> atUint64 readBytesToBuf(<span class="keywordtype">void</span>*, atUint64) = 0;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keyword">virtual</span> atUint16 readUint16() = 0;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keyword">virtual</span> atInt16 readInt16() = 0;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keyword">virtual</span> atUint32 readUint32() = 0;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">virtual</span> atInt32 readInt32() = 0;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">virtual</span> atUint64 readUint64() = 0;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">virtual</span> atInt64 readInt64() = 0;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">double</span> readDouble() = 0;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">float</span> readFloat() = 0;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> readBool() = 0;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keyword">virtual</span> std::string readUnicode(atInt32 = -1) = 0;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">virtual</span> std::string readString(atInt32 = -1) = 0;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;};</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;}</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;}</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#endif // ISTREAMREADER</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div>
<div class="ttc" id="class_athena_1_1io_1_1_i_stream_html"><div class="ttname"><a href="class_athena_1_1io_1_1_i_stream.html">Athena::io::IStream</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_stream_8hpp_source.html#l00028">IStream.hpp:28</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_i_stream_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_i_stream_reader.html">Athena::io::IStreamReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_stream_reader_8hpp_source.html#l00010">IStreamReader.hpp:10</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>IStreamReader.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,170 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/IStreamWriter.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 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.9.1 -->
<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><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&#160;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('_i_stream_writer_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">IStreamWriter.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ISTREAMWRITER_HPP</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define ISTREAMWRITER_HPP</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;IStream.hpp&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;{</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;{</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_i_stream_writer.html"> 10</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_i_stream_writer.html">IStreamWriter</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_i_stream.html">IStream</a></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;{</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1io_1_1_i_stream_writer.html">IStreamWriter</a>() {}</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setEndian(Endian) = 0;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <span class="keyword">virtual</span> Endian endian() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isBigEndian() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isLittleEndian()<span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isOpen() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> seek(atInt64, SeekOrigin) = 0;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> seekAlign32() = 0;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> atEnd() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="keyword">virtual</span> atUint64 position() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keyword">virtual</span> atUint64 length() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> seekBit(<span class="keywordtype">int</span>) = 0;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeBit(<span class="keywordtype">bool</span>) = 0;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeUByte(atUint8) = 0;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeByte(atInt8) = 0;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeUBytes(atUint8*, atUint64) = 0;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeBytes(atInt8*, atUint64) = 0;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeUint16(atUint16) = 0;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeInt16(atInt16) = 0;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeUint32(atUint32) = 0;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeInt32(atInt32) = 0;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeUint64(atUint64) = 0;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeInt64(atInt64) = 0;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeDouble(<span class="keywordtype">double</span>) = 0;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeFloat(<span class="keywordtype">float</span>) = 0;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeBool(<span class="keywordtype">bool</span>) = 0;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeString(<span class="keyword">const</span> std::string&amp;) = 0;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeUnicode(<span class="keyword">const</span> std::string&amp;) = 0;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> fill(atUint8, atUint64) = 0;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> fill(atInt8, atUint64) = 0;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;};</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;}</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;}</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#endif // STREAMWRITER_HPP</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div>
<div class="ttc" id="class_athena_1_1io_1_1_i_stream_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_i_stream_writer.html">Athena::io::IStreamWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_stream_writer_8hpp_source.html#l00010">IStreamWriter.hpp:10</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_i_stream_html"><div class="ttname"><a href="class_athena_1_1io_1_1_i_stream.html">Athena::io::IStream</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_stream_8hpp_source.html#l00028">IStream.hpp:28</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>IStreamWriter.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,195 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/InvalidDataException.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 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.9.1 -->
<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><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&#160;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('_invalid_data_exception_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">InvalidDataException.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef INVALIDDATAEXCEPTION_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define INVALIDDATAEXCEPTION_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/Exception.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;sstream&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span>error</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_invalid_data_exception.html"> 35</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1error_1_1_invalid_data_exception.html">InvalidDataException</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1error_1_1_exception.html">Exception</a></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;{</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">inline</span> <a class="code" href="class_athena_1_1error_1_1_invalid_data_exception.html">InvalidDataException</a>(<span class="keyword">const</span> std::string&amp; error, <span class="keyword">const</span> std::string&amp; file, <span class="keyword">const</span> std::string&amp; <span class="keyword">function</span>, <span class="keyword">const</span> <span class="keywordtype">int</span> line)</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; : <a class="code" href="class_athena_1_1error_1_1_exception.html#a6d3d8ea6244f6c31e5e8fde78acb891e">Exception</a>((<span class="stringliteral">&quot;InvalidDataException&quot;</span>) + error, file, <span class="keyword">function</span>, line)</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; m_exceptionName = <span class="stringliteral">&quot;InvalidDataException&quot;</span>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; }</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;};</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;} <span class="comment">// error</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#define THROW_INVALID_DATA_EXCEPTION(args, ...) \</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return; } \</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor"> else { std::string msg = Athena::utility::sprintf(args, __VA_ARGS__); \</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor"> throw Athena::error::InvalidDataException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor"> } while(0)</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#elif defined(__GNUC__)</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#define THROW_INVALID_DATA_EXCEPTION(args...) \</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor"> do { if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return; } \</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor"> else { std::string msg = Athena::utility::sprintf(args); \</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor"> throw Athena::error::InvalidDataException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor"> } while(0)</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#define THROW_INVALID_DATA_EXCEPTION(args, ...) \</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return; } \</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor"> else { std::string msg = Athena::utility::sprintf(args, __VA_ARGS__); \</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor"> throw Athena::error::InvalidDataException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor"> } while(0)</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#elif defined(__GNUC__)</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#define THROW_INVALID_DATA_EXCEPTION_RETURN(ret, args...) \</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor"> do { if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return ret; } \</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor"> else { std::string msg = Athena::utility::sprintf(args); \</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor"> throw Athena::error::InvalidDataException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor"> } while(0)</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor">#endif // INVALIDDATAEXCEPTION_HPP</span></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html_a6d3d8ea6244f6c31e5e8fde78acb891e"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html#a6d3d8ea6244f6c31e5e8fde78acb891e">Athena::error::Exception::Exception</a></div><div class="ttdeci">Exception(const std::string &amp;message, const std::string &amp;file, const std::string &amp;function, const int line)</div><div class="ttdoc">The constructor for an Exception. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00044">Exception.hpp:44</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_invalid_data_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_invalid_data_exception.html">Athena::error::InvalidDataException</a></div><div class="ttdoc">An exception thrown on Invalid Data calls. </div><div class="ttdef"><b>Definition:</b> <a href="_invalid_data_exception_8hpp_source.html#l00035">InvalidDataException.hpp:35</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html">Athena::error::Exception</a></div><div class="ttdoc">The baseclass for all Exceptions. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00038">Exception.hpp:38</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>InvalidDataException.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,208 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/InvalidOperationException.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 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.9.1 -->
<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><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&#160;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('_invalid_operation_exception_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">InvalidOperationException.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef INVALID_OPERATION_EXCEPTION_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define INVALID_OPERATION_EXCEPTION_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;stdarg.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Athena/Exception.hpp&quot;</span></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="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span>error</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;{</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_invalid_operation_exception.html"> 36</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1error_1_1_invalid_operation_exception.html">InvalidOperationException</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1error_1_1_exception.html">Exception</a></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_invalid_operation_exception.html#a5c42ad8f9e8c4bb15045be98281bca0a"> 42</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="class_athena_1_1error_1_1_invalid_operation_exception.html#a5c42ad8f9e8c4bb15045be98281bca0a">InvalidOperationException</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66">message</a>, <span class="keyword">const</span> std::string&amp; file, <span class="keyword">const</span> std::string&amp; <span class="keyword">function</span>, <span class="keyword">const</span> <span class="keywordtype">int</span> line) :</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="class_athena_1_1error_1_1_exception.html">Exception</a>(message, file, function, line)</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; {</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; m_exceptionName = <span class="stringliteral">&quot;InvalidOperationException&quot;</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; }</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;};</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;} <span class="comment">// error</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;} <span class="comment">// Athena</span></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"> 51</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#define THROW_INVALID_OPERATION_EXCEPTION(args, ...) \</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return; \</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor"> } else {</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;std::string msg = Athena::utility::sprintf(args, __VA_ARGS__);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;\</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;throw <a class="code" href="class_athena_1_1error_1_1_invalid_operation_exception.html">Athena::error::InvalidOperationException</a>(std::string(<span class="stringliteral">&quot;InvalidOperationException: &quot;</span>) + msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__);</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;} \</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;} <span class="keywordflow">while</span> (0)</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#elif defined (__GNUC__)</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#define THROW_INVALID_OPERATION_EXCEPTION(args...) \</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return; \</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor"> } else { std::string msg = Athena::utility::sprintf(args); \</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor"> throw Athena::error::InvalidOperationException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor"> } while(0)</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor">#define THROW_INVALID_OPERATION_EXCEPTIONRETURN(ret, args, ...) \</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return ret; \</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor"> } else {</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; std::string msg = Athena::utility::sprintf(args, __VA_ARGS__);</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;\</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;throw <a class="code" href="class_athena_1_1error_1_1_invalid_operation_exception.html">Athena::error::InvalidOperationException</a>(std::string(<span class="stringliteral">&quot;InvalidOperationException: &quot;</span>) + msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;\</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;} \</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;} <span class="keywordflow">while</span> (0)</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="preprocessor">#elif defined(__GNUC__)</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="preprocessor">#define THROW_INVALID_OPERATION_EXCEPTION_RETURN(ret, args...) \</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return ret; \</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor"> } else { std::string msg = Athena::utility::sprintf(args); \</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="preprocessor"> throw Athena::error::InvalidOperationException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor"> } while(0)</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor">#endif // INVALID_OPERATION_EXCEPTION_HPP</span></div>
<div class="ttc" id="class_athena_1_1error_1_1_invalid_operation_exception_html_a5c42ad8f9e8c4bb15045be98281bca0a"><div class="ttname"><a href="class_athena_1_1error_1_1_invalid_operation_exception.html#a5c42ad8f9e8c4bb15045be98281bca0a">Athena::error::InvalidOperationException::InvalidOperationException</a></div><div class="ttdeci">InvalidOperationException(const std::string &amp;message, const std::string &amp;file, const std::string &amp;function, const int line)</div><div class="ttdoc">The constructor for an InvalidOperationException. </div><div class="ttdef"><b>Definition:</b> <a href="_invalid_operation_exception_8hpp_source.html#l00042">InvalidOperationException.hpp:42</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html_a01898523fb445712bd95b2404b9baa66"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66">Athena::error::Exception::message</a></div><div class="ttdeci">std::string message() const </div><div class="ttdoc">Returns the Error message of the exception. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00056">Exception.hpp:56</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_invalid_operation_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_invalid_operation_exception.html">Athena::error::InvalidOperationException</a></div><div class="ttdoc">An excpeption thrown on Invalid Operations calls. </div><div class="ttdef"><b>Definition:</b> <a href="_invalid_operation_exception_8hpp_source.html#l00036">InvalidOperationException.hpp:36</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html">Athena::error::Exception</a></div><div class="ttdoc">The baseclass for all Exceptions. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00038">Exception.hpp:38</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>InvalidOperationException.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,168 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/MCFile.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 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.9.1 -->
<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><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&#160;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('_m_c_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">MCFile.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef MCFILE_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define MCFILE_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></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;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">class </span>MCSlot;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_athena_1_1_m_c_file.html"> 31</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_m_c_file.html">MCFile</a></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> VERSION_EU_JP[33];</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> VERSION_US[33];</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">enum</span> SlotType</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; {</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; New = 0x54494E49,</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; Valid = 0x4D435A33,</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; Deleted = 0x466C6544</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; };</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="class_athena_1_1_m_c_file.html">MCFile</a>();</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">static</span> atUint8* unscramble(atUint8* data, atUint64 length);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="class_athena_1_1_m_c_slot.html">MCSlot</a>* m_slots[3];</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;};</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor">#endif // MCFILE_HPP</span></div>
<div class="ttc" id="class_athena_1_1_m_c_file_html"><div class="ttname"><a href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></div><div class="ttdoc">The Minish Cap data container class class. </div><div class="ttdef"><b>Definition:</b> <a href="_m_c_file_8hpp_source.html#l00031">MCFile.hpp:31</a></div></div>
<div class="ttc" id="class_athena_1_1_m_c_slot_html"><div class="ttname"><a href="class_athena_1_1_m_c_slot.html">Athena::MCSlot</a></div><div class="ttdef"><b>Definition:</b> <a href="_m_c_slot_8hpp_source.html#l00009">MCSlot.hpp:9</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>MCFile.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,171 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/MCFileReader.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 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.9.1 -->
<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><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&#160;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('_m_c_file_reader_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">MCFileReader.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef MCFILEREADER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define MCFILEREADER_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryReader.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">class </span>MCFile;</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>io</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;{</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_m_c_file_reader.html"> 37</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_m_c_file_reader.html">MCFileReader</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html">MemoryReader</a></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;{</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; MEMORYREADER_BASE();</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="class_athena_1_1io_1_1_m_c_file_reader.html#a7fdc25146f43968629ddcebc641e6f03">MCFileReader</a>(atUint8*, atUint64);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="class_athena_1_1io_1_1_m_c_file_reader.html#a7fdc25146f43968629ddcebc641e6f03">MCFileReader</a>(<span class="keyword">const</span> std::string&amp;);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="class_athena_1_1_m_c_file.html">MCFile</a>* <a class="code" href="class_athena_1_1io_1_1_m_c_file_reader.html#ab4fce05f458e1388ae38dc2a0a364e96">readFile</a>();</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;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#endif // MCFILEREADER_HPP</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_m_c_file_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_m_c_file_reader.html">Athena::io::MCFileReader</a></div><div class="ttdoc">The Minish Cap Save save data reader class. </div><div class="ttdef"><b>Definition:</b> <a href="_m_c_file_reader_8hpp_source.html#l00037">MCFileReader.hpp:37</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_m_c_file_reader_html_a7fdc25146f43968629ddcebc641e6f03"><div class="ttname"><a href="class_athena_1_1io_1_1_m_c_file_reader.html#a7fdc25146f43968629ddcebc641e6f03">Athena::io::MCFileReader::MCFileReader</a></div><div class="ttdeci">MCFileReader(atUint8 *, atUint64)</div><div class="ttdoc">This constructor takes an existing buffer to read from. </div></div>
<div class="ttc" id="class_athena_1_1_m_c_file_html"><div class="ttname"><a href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></div><div class="ttdoc">The Minish Cap data container class class. </div><div class="ttdef"><b>Definition:</b> <a href="_m_c_file_8hpp_source.html#l00031">MCFile.hpp:31</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_m_c_file_reader_html_ab4fce05f458e1388ae38dc2a0a364e96"><div class="ttname"><a href="class_athena_1_1io_1_1_m_c_file_reader.html#ab4fce05f458e1388ae38dc2a0a364e96">Athena::io::MCFileReader::readFile</a></div><div class="ttdeci">MCFile * readFile()</div><div class="ttdoc">Reads the save data from the buffer. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html">Athena::io::MemoryReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_reader_8hpp_source.html#l00035">MemoryReader.hpp:35</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>MCFileReader.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,178 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/MCFileWriter.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 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.9.1 -->
<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><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&#160;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('_m_c_file_writer_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">MCFileWriter.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef MCFILEWRITER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define MCFILEWRITER_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/Types.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryWriter.hpp&quot;</span></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="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span>MCFile;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_m_c_file_writer.html"> 38</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_m_c_file_writer.html">MCFileWriter</a> : <span class="keyword">protected</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html">MemoryWriter</a></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;{</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; MEMORYWRITER_BASE();</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="class_athena_1_1io_1_1_m_c_file_writer.html#a61103fdd2b8de23d0f3a266721d7083f">MCFileWriter</a>(atUint8*, atUint64);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="class_athena_1_1io_1_1_m_c_file_writer.html#a61103fdd2b8de23d0f3a266721d7083f">MCFileWriter</a>(<span class="keyword">const</span> std::string&amp;);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_m_c_file_writer.html#aceb354726f6e4e64d5e02bb038435163">writeFile</a>(<a class="code" href="class_athena_1_1_m_c_file.html">MCFile</a>* file);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keyword">static</span> atUint16 calculateChecksum(atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">data</a>, atUint32 <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">length</a>);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; atUint16 calculateSlotChecksum(atUint32 game);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;};</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#endif // MCFILEWRITER_HPP</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_m_c_file_writer_html_aceb354726f6e4e64d5e02bb038435163"><div class="ttname"><a href="class_athena_1_1io_1_1_m_c_file_writer.html#aceb354726f6e4e64d5e02bb038435163">Athena::io::MCFileWriter::writeFile</a></div><div class="ttdeci">void writeFile(MCFile *file)</div><div class="ttdoc">Writes the given save data to a file on disk. </div></div>
<div class="ttc" id="class_athena_1_1_m_c_file_html"><div class="ttname"><a href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></div><div class="ttdoc">The Minish Cap data container class class. </div><div class="ttdef"><b>Definition:</b> <a href="_m_c_file_8hpp_source.html#l00031">MCFile.hpp:31</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_m_c_file_writer_html_a61103fdd2b8de23d0f3a266721d7083f"><div class="ttname"><a href="class_athena_1_1io_1_1_m_c_file_writer.html#a61103fdd2b8de23d0f3a266721d7083f">Athena::io::MCFileWriter::MCFileWriter</a></div><div class="ttdeci">MCFileWriter(atUint8 *, atUint64)</div><div class="ttdoc">This constructor takes an existing buffer to write to. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_ac971745b70a796b1747a81fff1de5257"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">Athena::io::MemoryWriter::length</a></div><div class="ttdeci">atUint64 length() const </div><div class="ttdoc">Returns whether or not the stream is at the end. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html">Athena::io::MemoryWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_writer_8hpp_source.html#l00036">MemoryWriter.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_m_c_file_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_m_c_file_writer.html">Athena::io::MCFileWriter</a></div><div class="ttdoc">The Minish Cap Save save data writer class. </div><div class="ttdef"><b>Definition:</b> <a href="_m_c_file_writer_8hpp_source.html#l00038">MCFileWriter.hpp:38</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_accd127e370fb1bb89d19bb96c90dfa76"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">Athena::io::MemoryWriter::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it&#39;s perfectly...</div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>MCFileWriter.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,142 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/MCSlot.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 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.9.1 -->
<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><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&#160;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('_m_c_slot_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">MCSlot.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef MCSLOT_HPP</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define MCSLOT_HPP</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &quot;Athena/ZQuestFile.hpp&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;{</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_athena_1_1_m_c_slot.html"> 9</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_m_c_slot.html">MCSlot</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1_z_quest_file.html">ZQuestFile</a></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;{</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; <a class="code" href="class_athena_1_1_m_c_slot.html">MCSlot</a>(atUint8* <a class="code" href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">data</a>, atUint32 <a class="code" href="class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820">length</a>);</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;};</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#endif // MCSLOT_HPP</span></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_a9056511b53ab3b967f7e1995c4ed6184"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">Athena::ZQuestFile::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">data </div></div>
<div class="ttc" id="class_athena_1_1_m_c_slot_html"><div class="ttname"><a href="class_athena_1_1_m_c_slot.html">Athena::MCSlot</a></div><div class="ttdef"><b>Definition:</b> <a href="_m_c_slot_8hpp_source.html#l00009">MCSlot.hpp:9</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></div><div class="ttdoc">ZQuestFile is an export format for save data. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00033">ZQuestFile.hpp:33</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_aa9c08de974af9d8a99c07b1127a2d820"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820">Athena::ZQuestFile::length</a></div><div class="ttdeci">atUint32 length() const </div><div class="ttdoc">length </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>MCSlot.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,280 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/MemoryReader.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 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.9.1 -->
<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><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&#160;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('_memory_reader_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">MemoryReader.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef MEMORYREADER_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define MEMORYREADER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/IStreamReader.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></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="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_memory_reader.html"> 35</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_memory_reader.html">MemoryReader</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_i_stream_reader.html">IStreamReader</a></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;{</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#ad972e9efe4923a74b02f2ceb841d9dce">MemoryReader</a>(<span class="keyword">const</span> atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#abdcf5e4548ea7344d22e1dbf2dcd7d83">data</a>, atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a3e148f063ad3d711c6381a85d40930db">length</a>);</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#ad972e9efe4923a74b02f2ceb841d9dce">MemoryReader</a>(<span class="keyword">const</span> std::string&amp; filename, std::function&lt;<span class="keywordtype">void</span>(<span class="keywordtype">int</span>)&gt; progressFun = <span class="keyword">nullptr</span>);</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"> 51</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1io_1_1_memory_reader.html">MemoryReader</a>();</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a0960543340b9df1cd76975efe234dd9e">setEndian</a>(Endian <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a0cf5c666f5693429ca3d3d020b223d66">endian</a>);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; Endian <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a0cf5c666f5693429ca3d3d020b223d66">endian</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a2f250a5760bbd61bc8ef60365202884e">isBigEndian</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#afaa07e1bb7b271d66f367bd8cf3ad908">isLittleEndian</a>()<span class="keyword">const</span>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a6c4718abc19e77970e9cc15f9c12520c">isOpen</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a41d152d6c90ff08d0f40aef042cb4485">seek</a>(atInt64 pos, SeekOrigin origin = SeekOrigin::Current);</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_memory_reader.html#aa180f214bd4c1517f54ea70501296c77"> 92</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#aa180f214bd4c1517f54ea70501296c77">seekAlign32</a>() {<a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a41d152d6c90ff08d0f40aef042cb4485">seek</a>(ROUND_UP_32(m_position), SeekOrigin::Begin);}</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#aa922b98037dc3631110c9335be718e8e">atEnd</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a1d9d2fa632816d941d30f90e7a34a1d0">position</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a3e148f063ad3d711c6381a85d40930db">length</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a89f172f63454d80868a3c6091d8b2940">setData</a>(<span class="keyword">const</span> atUint8* data, atUint64 length);</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#abdcf5e4548ea7344d22e1dbf2dcd7d83">data</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a1f415d881086905dd60a30334f1bad21">setFilepath</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a57f341464e6009906ffef16197cedf4c">filepath</a>);</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; std::string <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a57f341464e6009906ffef16197cedf4c">filepath</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a83516d32ad00d195dbd2f885e200d405">seekBit</a>(<span class="keywordtype">int</span> bit);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a72605b567c1ae0c4f763154b767f8764">readBit</a>();</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; atInt8 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a52811e54dbc3c423743b17a4c5b27b75">readByte</a>();</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; atUint8 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a07a91fd0a959784cd84f5577dc124a8f">readUByte</a>();</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_memory_reader.html#ab62c46b8b8537ca09c0dc1f0b6926a8a"> 173</a></span>&#160; <span class="keyword">inline</span> atInt8* <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#ab62c46b8b8537ca09c0dc1f0b6926a8a">readBytes</a>(atUint64 length) {<span class="keywordflow">return</span> (atInt8*)<a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a323ae4361aa74b3b4bd666eb75974355">readUBytes</a>(length);}</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a323ae4361aa74b3b4bd666eb75974355">readUBytes</a>(atUint64 length);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; atUint64 readBytesToBuf(<span class="keywordtype">void</span>* buf, atUint64 len) {<span class="keywordflow">return</span> readUBytesToBuf(buf, len);}</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; atUint64 readUBytesToBuf(<span class="keywordtype">void</span>* buf, atUint64 len);</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; atInt16 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a7c5b6ada7e4cf96344541f67b1619ffb">readInt16</a>();</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; atUint16 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#adbdebd99576dcce11841255db69393e8">readUint16</a>();</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; atInt32 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#ae2df5bdab6cb06a251907edc02778e3a">readInt32</a>();</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; atUint32 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#ad331ef1ed1a0e5f8188f20e376600ae1">readUint32</a>();</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; atInt64 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a502e2f723cbbcdb400619c934d30c963">readInt64</a>();</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160;</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a2782cabdc43574346d248f0d9a5b0222">readUint64</a>();</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#ae1353a410dc8f0972a22e5da82741f5d">readFloat</a>();</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a3322e270ea116892b784b74434099b8a">readDouble</a>();</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#ae7749643ed83dca84267985000f44359">readBool</a>();</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160;</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; std::string <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a00293644a6d68f732938386dc80f81cf">readUnicode</a>(atInt32 maxlen = -1);</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; std::string <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a89188d0719a0cbe7f8136444e76f3d25">readString</a>(atInt32 maxlen = -1);</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordtype">void</span> setProgressCallback(std::function&lt;<span class="keywordtype">void</span>(<span class="keywordtype">int</span>)&gt; cb);</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <span class="keywordtype">void</span> loadData();</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; atUint8* m_data;</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; atUint64 m_length;</div>
<div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_memory_reader.html#adfa77146a3168060b2f26f6bc11c9153"> 290</a></span>&#160; std::string <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#adfa77146a3168060b2f26f6bc11c9153">m_filepath</a>; </div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; atUint64 m_position;</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; atUint64 m_bitPosition;</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; Endian m_endian;</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; std::function&lt;void(int)&gt; m_progressCallback;</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;};</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;<span class="preprocessor">#ifndef MEMORYREADER_BASE</span></div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;<span class="preprocessor">#define MEMORYREADER_BASE() \</span></div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;<span class="preprocessor">private: \</span></div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;<span class="preprocessor"> typedef Athena::io::MemoryReader base</span></div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;<span class="preprocessor">#endif // MEMORYREADER_BASE</span></div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;<span class="preprocessor">#endif // MEMORYREADER_HPP</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_aa922b98037dc3631110c9335be718e8e"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#aa922b98037dc3631110c9335be718e8e">Athena::io::MemoryReader::atEnd</a></div><div class="ttdeci">bool atEnd() const </div><div class="ttdoc">Returns whether or not the stream is at the end. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a1d9d2fa632816d941d30f90e7a34a1d0"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a1d9d2fa632816d941d30f90e7a34a1d0">Athena::io::MemoryReader::position</a></div><div class="ttdeci">atUint64 position() const </div><div class="ttdoc">Returns the current position in the stream. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a0960543340b9df1cd76975efe234dd9e"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a0960543340b9df1cd76975efe234dd9e">Athena::io::MemoryReader::setEndian</a></div><div class="ttdeci">void setEndian(Endian endian)</div><div class="ttdoc">Sets the Endianss of the stream. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a41d152d6c90ff08d0f40aef042cb4485"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a41d152d6c90ff08d0f40aef042cb4485">Athena::io::MemoryReader::seek</a></div><div class="ttdeci">void seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)</div><div class="ttdoc">Sets the buffers position relative to the specified position. It seeks relative to the current posit...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_afaa07e1bb7b271d66f367bd8cf3ad908"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#afaa07e1bb7b271d66f367bd8cf3ad908">Athena::io::MemoryReader::isLittleEndian</a></div><div class="ttdeci">bool isLittleEndian() const </div><div class="ttdoc">Returns whether the stream is LittleEndian. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_adbdebd99576dcce11841255db69393e8"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#adbdebd99576dcce11841255db69393e8">Athena::io::MemoryReader::readUint16</a></div><div class="ttdeci">atUint16 readUint16()</div><div class="ttdoc">Reads a Uint16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a52811e54dbc3c423743b17a4c5b27b75"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a52811e54dbc3c423743b17a4c5b27b75">Athena::io::MemoryReader::readByte</a></div><div class="ttdeci">atInt8 readByte()</div><div class="ttdoc">Reads a byte at the current position and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_aa180f214bd4c1517f54ea70501296c77"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#aa180f214bd4c1517f54ea70501296c77">Athena::io::MemoryReader::seekAlign32</a></div><div class="ttdeci">void seekAlign32()</div><div class="ttdoc">Sets the buffers position relative to the next 32-byte aligned position. </div><div class="ttdef"><b>Definition:</b> <a href="_memory_reader_8hpp_source.html#l00092">MemoryReader.hpp:92</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a323ae4361aa74b3b4bd666eb75974355"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a323ae4361aa74b3b4bd666eb75974355">Athena::io::MemoryReader::readUBytes</a></div><div class="ttdeci">atUint8 * readUBytes(atUint64 length)</div><div class="ttdoc">Reads a byte at the current position and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a3e148f063ad3d711c6381a85d40930db"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a3e148f063ad3d711c6381a85d40930db">Athena::io::MemoryReader::length</a></div><div class="ttdeci">atUint64 length() const </div><div class="ttdoc">Returns whether or not the stream is at the end. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a89188d0719a0cbe7f8136444e76f3d25"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a89188d0719a0cbe7f8136444e76f3d25">Athena::io::MemoryReader::readString</a></div><div class="ttdeci">std::string readString(atInt32 maxlen=-1)</div><div class="ttdoc">Reads a string and advances the position in the file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a2782cabdc43574346d248f0d9a5b0222"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a2782cabdc43574346d248f0d9a5b0222">Athena::io::MemoryReader::readUint64</a></div><div class="ttdeci">atUint64 readUint64()</div><div class="ttdoc">Reads a Uint64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_adfa77146a3168060b2f26f6bc11c9153"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#adfa77146a3168060b2f26f6bc11c9153">Athena::io::MemoryReader::m_filepath</a></div><div class="ttdeci">std::string m_filepath</div><div class="ttdoc">Path to the target file. </div><div class="ttdef"><b>Definition:</b> <a href="_memory_reader_8hpp_source.html#l00290">MemoryReader.hpp:290</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a83516d32ad00d195dbd2f885e200d405"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a83516d32ad00d195dbd2f885e200d405">Athena::io::MemoryReader::seekBit</a></div><div class="ttdeci">void seekBit(int bit)</div><div class="ttdoc">Seeks to the specified bit within the current byte. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_ad972e9efe4923a74b02f2ceb841d9dce"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#ad972e9efe4923a74b02f2ceb841d9dce">Athena::io::MemoryReader::MemoryReader</a></div><div class="ttdeci">MemoryReader(const atUint8 *data, atUint64 length)</div><div class="ttdoc">This constructor takes an existing buffer to read from. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a3322e270ea116892b784b74434099b8a"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a3322e270ea116892b784b74434099b8a">Athena::io::MemoryReader::readDouble</a></div><div class="ttdeci">double readDouble()</div><div class="ttdoc">Reads a double and swaps to proper endianness depending on platform and Stream settings, and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_ad331ef1ed1a0e5f8188f20e376600ae1"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#ad331ef1ed1a0e5f8188f20e376600ae1">Athena::io::MemoryReader::readUint32</a></div><div class="ttdeci">atUint32 readUint32()</div><div class="ttdoc">Reads a Uint32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a6c4718abc19e77970e9cc15f9c12520c"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a6c4718abc19e77970e9cc15f9c12520c">Athena::io::MemoryReader::isOpen</a></div><div class="ttdeci">bool isOpen() const </div><div class="ttdoc">Retuns whether or not the Stream is open. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a502e2f723cbbcdb400619c934d30c963"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a502e2f723cbbcdb400619c934d30c963">Athena::io::MemoryReader::readInt64</a></div><div class="ttdeci">atInt64 readInt64()</div><div class="ttdoc">Reads a Int64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_abdcf5e4548ea7344d22e1dbf2dcd7d83"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#abdcf5e4548ea7344d22e1dbf2dcd7d83">Athena::io::MemoryReader::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it&#39;s perfectly...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_ae1353a410dc8f0972a22e5da82741f5d"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#ae1353a410dc8f0972a22e5da82741f5d">Athena::io::MemoryReader::readFloat</a></div><div class="ttdeci">float readFloat()</div><div class="ttdoc">Reads a float and swaps to proper endianness depending on platform and Stream settings, and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a72605b567c1ae0c4f763154b767f8764"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a72605b567c1ae0c4f763154b767f8764">Athena::io::MemoryReader::readBit</a></div><div class="ttdeci">bool readBit()</div><div class="ttdoc">Reads a bit at the current position and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a07a91fd0a959784cd84f5577dc124a8f"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a07a91fd0a959784cd84f5577dc124a8f">Athena::io::MemoryReader::readUByte</a></div><div class="ttdeci">atUint8 readUByte()</div><div class="ttdoc">Reads a byte at the current position and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a1f415d881086905dd60a30334f1bad21"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a1f415d881086905dd60a30334f1bad21">Athena::io::MemoryReader::setFilepath</a></div><div class="ttdeci">void setFilepath(const std::string &amp;filepath)</div><div class="ttdoc">Sets the target file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_ab62c46b8b8537ca09c0dc1f0b6926a8a"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#ab62c46b8b8537ca09c0dc1f0b6926a8a">Athena::io::MemoryReader::readBytes</a></div><div class="ttdeci">atInt8 * readBytes(atUint64 length)</div><div class="ttdoc">Reads a byte at the current position and advances the current position. </div><div class="ttdef"><b>Definition:</b> <a href="_memory_reader_8hpp_source.html#l00173">MemoryReader.hpp:173</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a7c5b6ada7e4cf96344541f67b1619ffb"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a7c5b6ada7e4cf96344541f67b1619ffb">Athena::io::MemoryReader::readInt16</a></div><div class="ttdeci">atInt16 readInt16()</div><div class="ttdoc">Reads a Int16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html">Athena::io::MemoryReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_reader_8hpp_source.html#l00035">MemoryReader.hpp:35</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a2f250a5760bbd61bc8ef60365202884e"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a2f250a5760bbd61bc8ef60365202884e">Athena::io::MemoryReader::isBigEndian</a></div><div class="ttdeci">bool isBigEndian() const </div><div class="ttdoc">Returns whether the stream is BigEndian. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_ae7749643ed83dca84267985000f44359"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#ae7749643ed83dca84267985000f44359">Athena::io::MemoryReader::readBool</a></div><div class="ttdeci">bool readBool()</div><div class="ttdoc">Reads a bool and advances the current position. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a0cf5c666f5693429ca3d3d020b223d66"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a0cf5c666f5693429ca3d3d020b223d66">Athena::io::MemoryReader::endian</a></div><div class="ttdeci">Endian endian() const </div><div class="ttdoc">Returns the current Endianness of the stream. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_i_stream_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_i_stream_reader.html">Athena::io::IStreamReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_stream_reader_8hpp_source.html#l00010">IStreamReader.hpp:10</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_ae2df5bdab6cb06a251907edc02778e3a"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#ae2df5bdab6cb06a251907edc02778e3a">Athena::io::MemoryReader::readInt32</a></div><div class="ttdeci">atInt32 readInt32()</div><div class="ttdoc">Reads a Int32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a57f341464e6009906ffef16197cedf4c"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a57f341464e6009906ffef16197cedf4c">Athena::io::MemoryReader::filepath</a></div><div class="ttdeci">std::string filepath() const </div><div class="ttdoc">Returns the target file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a00293644a6d68f732938386dc80f81cf"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a00293644a6d68f732938386dc80f81cf">Athena::io::MemoryReader::readUnicode</a></div><div class="ttdeci">std::string readUnicode(atInt32 maxlen=-1)</div><div class="ttdoc">Reads a Unicode string and advances the position in the file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a89f172f63454d80868a3c6091d8b2940"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a89f172f63454d80868a3c6091d8b2940">Athena::io::MemoryReader::setData</a></div><div class="ttdeci">void setData(const atUint8 *data, atUint64 length)</div><div class="ttdoc">Sets the buffer to the given one, deleting the current one. BEWARE: As this deletes the current buff...</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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>MemoryReader.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,285 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/MemoryWriter.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 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.9.1 -->
<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><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&#160;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('_memory_writer_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">MemoryWriter.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef MEMORYWRITER_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define MEMORYWRITER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/IStreamWriter.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></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="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span>io</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;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_memory_writer.html"> 36</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_memory_writer.html">MemoryWriter</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_i_stream_writer.html">IStreamWriter</a></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keyword">explicit</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a35c1d2edf6366bfdfe7d19e550903478">MemoryWriter</a>(atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">data</a> = <span class="keyword">nullptr</span>, atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">length</a> = 0x10);</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a35c1d2edf6366bfdfe7d19e550903478">MemoryWriter</a>(<span class="keyword">const</span> std::string&amp; filename, std::function&lt;<span class="keywordtype">void</span>(<span class="keywordtype">int</span>)&gt; progressFun = <span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1io_1_1_memory_writer.html">MemoryWriter</a>();</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#aba582443e654563da612952340b6ed44">setEndian</a>(Endian <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a6ef02e88da9a1a04c963f52c20bb26a0">endian</a>);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; Endian <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a6ef02e88da9a1a04c963f52c20bb26a0">endian</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a4bbb9bef1edf4ca5be5565e935ce0298">isBigEndian</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a5a8957ed313172ee0899acef0106d0b5">isLittleEndian</a>()<span class="keyword">const</span>;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ab089d9124731afffadf0e06c64756cc5">isOpen</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a5957d982141ded294e38d83c98485048">seek</a>(atInt64 pos, SeekOrigin origin = SeekOrigin::Current);</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_memory_writer.html#a2a338ae6478f614c6b14b2241c5ac10c"> 93</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a2a338ae6478f614c6b14b2241c5ac10c">seekAlign32</a>() {<a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a5957d982141ded294e38d83c98485048">seek</a>(ROUND_UP_32(m_position), SeekOrigin::Begin);}</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a95718e1d031ea41924fa239e81ae516b">atEnd</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a855af0123e2f18c7d1ebe23699079c78">position</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">length</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#afd352a08ad88562d6cf00bcbdb1b24f8">setData</a>(<span class="keyword">const</span> atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">data</a>, atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">length</a>);</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">data</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#aa9fbd017d744786b0f4aa5c987dbfe55">setFilepath</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ad2bb5d48bd85561af0ea2069ed14c9b7">filepath</a>);</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; std::string <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ad2bb5d48bd85561af0ea2069ed14c9b7">filepath</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#abc39ece257c97707017c20251e9e5ce7">save</a>(<span class="keyword">const</span> std::string&amp; filename = <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a722aea14169704ec0a88a67a29771b19">seekBit</a>(<span class="keywordtype">int</span> bit);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ab45fad5cc2894613beb3441c5c2134ab">writeBit</a>(<span class="keywordtype">bool</span> val);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a22e44276756c672d7a5e6529198a1e24">writeUByte</a>(atUint8 val);</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#aad1df56cdec64ffb19e532baa5543c77">writeByte</a>(atInt8 val);</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a7cb0bdab5efa97a103e300365cae219d">writeUBytes</a>(atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">data</a>, atUint64 len);</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a38833e7b0f0f9247cc55a6498e7303f2">writeBytes</a>(atInt8* <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">data</a>, atUint64 len);</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a18137cc5f21dec7a234d0829c9c25655">writeInt16</a>(atInt16 val);</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#af8cec2a5cb206a3ee0de65781d807e59">writeUint16</a>(atUint16);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ad73afb9bf9f1cfeb60042c4c948582c9">writeInt32</a>(atInt32);</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a32e6f5d07962ff7a01ac975af2e86f41">writeUint32</a>(atUint32);</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#aa889ff61fd82678ca07dc52f9d57a118">writeInt64</a>(atInt64);</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a5e308dde27c7a1524b2a03084278278c">writeUint64</a>(atUint64);</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a7769e996c5ef209110225fad1a07e6c4">writeFloat</a>(<span class="keywordtype">float</span>);</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#abdee570cca032c838507f282a0478110">writeDouble</a>(<span class="keywordtype">double</span>);</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a56170d8f4f94e96ccf7f14a44949d147">writeBool</a>(<span class="keywordtype">bool</span>);</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#aea541b7084b08b7d2bf7d8bdebd4fc37">writeUnicode</a>(<span class="keyword">const</span> std::string&amp; str);</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a14e57ca951f30927ebaf2552fd6a922b">writeString</a>(<span class="keyword">const</span> std::string&amp; str);</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160;</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="keywordtype">void</span> fill(atUint8 val, atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">length</a>);</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <span class="keywordtype">void</span> fill(atInt8 val, atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">length</a>);</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keywordtype">void</span> setProgressCallback(std::function&lt;<span class="keywordtype">void</span>(<span class="keywordtype">int</span>)&gt; cb);</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <span class="keywordtype">void</span> loadData();</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; atUint8* m_data;</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; atUint64 m_length;</div>
<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_memory_writer.html#a762d2d5e0bbc1322cacf2625dc11afd8"> 287</a></span>&#160; std::string <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#a762d2d5e0bbc1322cacf2625dc11afd8">m_filepath</a>; </div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; atUint64 m_position;</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; atUint64 m_bitPosition;</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; Endian m_endian;</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; std::function&lt;void(int)&gt; m_progressCallback;</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keywordtype">void</span> resize(atUint64 newSize);</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;};</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;}</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;}</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;<span class="preprocessor">#ifndef MEMORYWRITER_BASE</span></div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;<span class="preprocessor">#define MEMORYWRITER_BASE() \</span></div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;<span class="preprocessor"> private: \</span></div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;<span class="preprocessor"> typedef Athena::io::MemoryWriter base</span></div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;<span class="preprocessor">#endif // BINARYWRITER_BASE</span></div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;<span class="preprocessor">#endif // MEMORYWRITER_HPP</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a56170d8f4f94e96ccf7f14a44949d147"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a56170d8f4f94e96ccf7f14a44949d147">Athena::io::MemoryWriter::writeBool</a></div><div class="ttdeci">void writeBool(bool)</div><div class="ttdoc">Writes an bool to the buffer and advances the buffer. It also swaps the bytes depending on the platfo...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_aba582443e654563da612952340b6ed44"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#aba582443e654563da612952340b6ed44">Athena::io::MemoryWriter::setEndian</a></div><div class="ttdeci">void setEndian(Endian endian)</div><div class="ttdoc">Sets the Endianss of the stream. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_afd352a08ad88562d6cf00bcbdb1b24f8"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#afd352a08ad88562d6cf00bcbdb1b24f8">Athena::io::MemoryWriter::setData</a></div><div class="ttdeci">void setData(const atUint8 *data, atUint64 length)</div><div class="ttdoc">Sets the buffer to the given one, deleting the current one. BEWARE: As this deletes the current buff...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a95718e1d031ea41924fa239e81ae516b"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a95718e1d031ea41924fa239e81ae516b">Athena::io::MemoryWriter::atEnd</a></div><div class="ttdeci">bool atEnd() const </div><div class="ttdoc">Returns whether or not the stream is at the end. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a6ef02e88da9a1a04c963f52c20bb26a0"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a6ef02e88da9a1a04c963f52c20bb26a0">Athena::io::MemoryWriter::endian</a></div><div class="ttdeci">Endian endian() const </div><div class="ttdoc">Returns the current Endianness of the stream. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_ad2bb5d48bd85561af0ea2069ed14c9b7"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#ad2bb5d48bd85561af0ea2069ed14c9b7">Athena::io::MemoryWriter::filepath</a></div><div class="ttdeci">std::string filepath() const </div><div class="ttdoc">Returns the target file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_i_stream_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_i_stream_writer.html">Athena::io::IStreamWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_stream_writer_8hpp_source.html#l00010">IStreamWriter.hpp:10</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_abc39ece257c97707017c20251e9e5ce7"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#abc39ece257c97707017c20251e9e5ce7">Athena::io::MemoryWriter::save</a></div><div class="ttdeci">void save(const std::string &amp;filename=&quot;&quot;)</div><div class="ttdoc">Saves the file to the specified file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a4bbb9bef1edf4ca5be5565e935ce0298"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a4bbb9bef1edf4ca5be5565e935ce0298">Athena::io::MemoryWriter::isBigEndian</a></div><div class="ttdeci">bool isBigEndian() const </div><div class="ttdoc">Returns whether the stream is BigEndian. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a5e308dde27c7a1524b2a03084278278c"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a5e308dde27c7a1524b2a03084278278c">Athena::io::MemoryWriter::writeUint64</a></div><div class="ttdeci">void writeUint64(atUint64)</div><div class="ttdoc">Writes an Uint64 to the buffer and advances the buffer. It also swaps the bytes depending on the plat...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a2a338ae6478f614c6b14b2241c5ac10c"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a2a338ae6478f614c6b14b2241c5ac10c">Athena::io::MemoryWriter::seekAlign32</a></div><div class="ttdeci">void seekAlign32()</div><div class="ttdoc">Sets the buffers position relative to the next 32-byte aligned position. </div><div class="ttdef"><b>Definition:</b> <a href="_memory_writer_8hpp_source.html#l00093">MemoryWriter.hpp:93</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_aa9fbd017d744786b0f4aa5c987dbfe55"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#aa9fbd017d744786b0f4aa5c987dbfe55">Athena::io::MemoryWriter::setFilepath</a></div><div class="ttdeci">void setFilepath(const std::string &amp;filepath)</div><div class="ttdoc">Sets the target file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_aea541b7084b08b7d2bf7d8bdebd4fc37"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#aea541b7084b08b7d2bf7d8bdebd4fc37">Athena::io::MemoryWriter::writeUnicode</a></div><div class="ttdeci">void writeUnicode(const std::string &amp;str)</div><div class="ttdoc">Writes an unicode string to the buffer and advances the buffer. It also swaps the bytes depending on ...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_ad73afb9bf9f1cfeb60042c4c948582c9"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#ad73afb9bf9f1cfeb60042c4c948582c9">Athena::io::MemoryWriter::writeInt32</a></div><div class="ttdeci">void writeInt32(atInt32)</div><div class="ttdoc">Writes an Int32 to the buffer and advances the buffer. It also swaps the bytes depending on the platf...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a5a8957ed313172ee0899acef0106d0b5"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a5a8957ed313172ee0899acef0106d0b5">Athena::io::MemoryWriter::isLittleEndian</a></div><div class="ttdeci">bool isLittleEndian() const </div><div class="ttdoc">Returns whether the stream is LittleEndian. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a5957d982141ded294e38d83c98485048"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a5957d982141ded294e38d83c98485048">Athena::io::MemoryWriter::seek</a></div><div class="ttdeci">void seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)</div><div class="ttdoc">Sets the buffers position relative to the specified position. It seeks relative to the current posit...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a38833e7b0f0f9247cc55a6498e7303f2"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a38833e7b0f0f9247cc55a6498e7303f2">Athena::io::MemoryWriter::writeBytes</a></div><div class="ttdeci">void writeBytes(atInt8 *data, atUint64 len)</div><div class="ttdoc">Writes the given buffer with the specified length, buffers can be bigger than the length however it&#39;s...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a22e44276756c672d7a5e6529198a1e24"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a22e44276756c672d7a5e6529198a1e24">Athena::io::MemoryWriter::writeUByte</a></div><div class="ttdeci">void writeUByte(atUint8 val)</div><div class="ttdoc">Writes a byte at the current position and advances the position by one byte. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_ac971745b70a796b1747a81fff1de5257"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">Athena::io::MemoryWriter::length</a></div><div class="ttdeci">atUint64 length() const </div><div class="ttdoc">Returns whether or not the stream is at the end. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a7cb0bdab5efa97a103e300365cae219d"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a7cb0bdab5efa97a103e300365cae219d">Athena::io::MemoryWriter::writeUBytes</a></div><div class="ttdeci">void writeUBytes(atUint8 *data, atUint64 len)</div><div class="ttdoc">Writes the given buffer with the specified length, buffers can be bigger than the length however it&#39;s...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a18137cc5f21dec7a234d0829c9c25655"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a18137cc5f21dec7a234d0829c9c25655">Athena::io::MemoryWriter::writeInt16</a></div><div class="ttdeci">void writeInt16(atInt16 val)</div><div class="ttdoc">Writes an Int16 to the buffer and advances the buffer. It also swaps the bytes depending on the platf...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a7769e996c5ef209110225fad1a07e6c4"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a7769e996c5ef209110225fad1a07e6c4">Athena::io::MemoryWriter::writeFloat</a></div><div class="ttdeci">void writeFloat(float)</div><div class="ttdoc">Writes an float to the buffer and advances the buffer. It also swaps the bytes depending on the platf...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_aa889ff61fd82678ca07dc52f9d57a118"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#aa889ff61fd82678ca07dc52f9d57a118">Athena::io::MemoryWriter::writeInt64</a></div><div class="ttdeci">void writeInt64(atInt64)</div><div class="ttdoc">Writes an Int64 to the buffer and advances the buffer. It also swaps the bytes depending on the platf...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a32e6f5d07962ff7a01ac975af2e86f41"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a32e6f5d07962ff7a01ac975af2e86f41">Athena::io::MemoryWriter::writeUint32</a></div><div class="ttdeci">void writeUint32(atUint32)</div><div class="ttdoc">Writes an Uint32 to the buffer and advances the buffer. It also swaps the bytes depending on the plat...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html">Athena::io::MemoryWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_writer_8hpp_source.html#l00036">MemoryWriter.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_ab089d9124731afffadf0e06c64756cc5"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#ab089d9124731afffadf0e06c64756cc5">Athena::io::MemoryWriter::isOpen</a></div><div class="ttdeci">bool isOpen() const </div><div class="ttdoc">Retuns whether or not the Stream is open. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a855af0123e2f18c7d1ebe23699079c78"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a855af0123e2f18c7d1ebe23699079c78">Athena::io::MemoryWriter::position</a></div><div class="ttdeci">atUint64 position() const </div><div class="ttdoc">Returns the current position in the stream. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_ab45fad5cc2894613beb3441c5c2134ab"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#ab45fad5cc2894613beb3441c5c2134ab">Athena::io::MemoryWriter::writeBit</a></div><div class="ttdeci">void writeBit(bool val)</div><div class="ttdoc">Writes a bit at the current position and advances the position by one bit. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_accd127e370fb1bb89d19bb96c90dfa76"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">Athena::io::MemoryWriter::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it&#39;s perfectly...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_af8cec2a5cb206a3ee0de65781d807e59"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#af8cec2a5cb206a3ee0de65781d807e59">Athena::io::MemoryWriter::writeUint16</a></div><div class="ttdeci">void writeUint16(atUint16)</div><div class="ttdoc">Writes an Uint16 to the buffer and advances the buffer. It also swaps the bytes depending on the plat...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a14e57ca951f30927ebaf2552fd6a922b"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a14e57ca951f30927ebaf2552fd6a922b">Athena::io::MemoryWriter::writeString</a></div><div class="ttdeci">void writeString(const std::string &amp;str)</div><div class="ttdoc">Writes an string to the buffer and advances the buffer. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a722aea14169704ec0a88a67a29771b19"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a722aea14169704ec0a88a67a29771b19">Athena::io::MemoryWriter::seekBit</a></div><div class="ttdeci">void seekBit(int bit)</div><div class="ttdoc">Seeks to the specified bit within the current byte. </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_abdee570cca032c838507f282a0478110"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#abdee570cca032c838507f282a0478110">Athena::io::MemoryWriter::writeDouble</a></div><div class="ttdeci">void writeDouble(double)</div><div class="ttdoc">Writes an double to the buffer and advances the buffer. It also swaps the bytes depending on the plat...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a35c1d2edf6366bfdfe7d19e550903478"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a35c1d2edf6366bfdfe7d19e550903478">Athena::io::MemoryWriter::MemoryWriter</a></div><div class="ttdeci">MemoryWriter(atUint8 *data=nullptr, atUint64 length=0x10)</div><div class="ttdoc">This constructor takes an existing buffer to write to. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_aad1df56cdec64ffb19e532baa5543c77"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#aad1df56cdec64ffb19e532baa5543c77">Athena::io::MemoryWriter::writeByte</a></div><div class="ttdeci">void writeByte(atInt8 val)</div><div class="ttdoc">Writes a byte at the current position and advances the position by one byte. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_a762d2d5e0bbc1322cacf2625dc11afd8"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#a762d2d5e0bbc1322cacf2625dc11afd8">Athena::io::MemoryWriter::m_filepath</a></div><div class="ttdeci">std::string m_filepath</div><div class="ttdoc">Path to the target file. </div><div class="ttdef"><b>Definition:</b> <a href="_memory_writer_8hpp_source.html#l00287">MemoryWriter.hpp:287</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>MemoryWriter.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,177 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/NotImplementedException.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 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.9.1 -->
<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><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&#160;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('_not_implemented_exception_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">NotImplementedException.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef NOTIMPLEMENTEDEXCEPTION_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define NOTIMPLEMENTEDEXCEPTION_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;Athena/Exception.hpp&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></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="keyword">namespace </span>error</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_athena_1_1error_1_1_not_implemented_exception.html"> 25</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1error_1_1_not_implemented_exception.html">NotImplementedException</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1error_1_1_exception.html">Exception</a></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">public</span>:</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <a class="code" href="class_athena_1_1error_1_1_not_implemented_exception.html">NotImplementedException</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66">message</a>, <span class="keyword">const</span> std::string&amp; file, <span class="keyword">const</span> std::string&amp; <span class="keyword">function</span>, <span class="keyword">const</span> <span class="keywordtype">int</span> line) :</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <a class="code" href="class_athena_1_1error_1_1_exception.html#a6d3d8ea6244f6c31e5e8fde78acb891e">Exception</a>(message, file, <span class="keyword">function</span>, line)</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; {</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; m_exceptionName = <span class="stringliteral">&quot;NotImplementedException&quot;</span>;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; }</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;};</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;} <span class="comment">// error</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#define THROW_NOT_IMPLEMENTED_EXCEPTION() \</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, &quot;NotImplementedException&quot;); return; \</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor"> } else { \</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor"> throw Athena::error::NotImplementedException(std::string(), __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor"> } while(0)</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#define THROW_NOT_IMPLEMENTED_EXCEPTION_RETURN(ret) \</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor"> do { \</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor"> if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, &quot;NotImplementedException&quot;); return ret; \</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor"> } else { \</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor"> throw Athena::error::NotImplementedException(std::string(), __FILE__, AT_PRETTY_FUNCTION, __LINE__); \</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor"> } \</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor"> } while(0)</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#endif // NOTIMPLEMENTEDEXCEPTION_HPP</span></div>
<div class="ttc" id="class_athena_1_1error_1_1_not_implemented_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_not_implemented_exception.html">Athena::error::NotImplementedException</a></div><div class="ttdef"><b>Definition:</b> <a href="_not_implemented_exception_8hpp_source.html#l00025">NotImplementedException.hpp:25</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html_a6d3d8ea6244f6c31e5e8fde78acb891e"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html#a6d3d8ea6244f6c31e5e8fde78acb891e">Athena::error::Exception::Exception</a></div><div class="ttdeci">Exception(const std::string &amp;message, const std::string &amp;file, const std::string &amp;function, const int line)</div><div class="ttdoc">The constructor for an Exception. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00044">Exception.hpp:44</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html_a01898523fb445712bd95b2404b9baa66"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66">Athena::error::Exception::message</a></div><div class="ttdeci">std::string message() const </div><div class="ttdoc">Returns the Error message of the exception. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00056">Exception.hpp:56</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1error_1_1_exception_html"><div class="ttname"><a href="class_athena_1_1error_1_1_exception.html">Athena::error::Exception</a></div><div class="ttdoc">The baseclass for all Exceptions. </div><div class="ttdef"><b>Definition:</b> <a href="_exception_8hpp_source.html#l00038">Exception.hpp:38</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>NotImplementedException.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,182 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/PHYSFSFileReader.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 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.9.1 -->
<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><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&#160;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('_p_h_y_s_f_s_file_reader_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">PHYSFSFileReader.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifdef ATHENA_ENABLE_PHYSFS</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#ifndef PHYSFSSTREAM_HPP</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#define PHYSFSSTREAM_HPP</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &quot;Athena/Stream.hpp&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &lt;physfs.h&gt;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;{</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;{</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">class </span>PHYSFSFileReader : <span class="keyword">public</span> Stream</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;{</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; PHYSFSFileReader(<span class="keyword">const</span> std::string&amp; path);</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keywordtype">void</span> setEndian(Endian);</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; Endian endian() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keywordtype">bool</span> isBigEndian() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keywordtype">bool</span> isLittleEndian() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; atUint8* data();</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; atUint64 length() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; atUint64 position() <span class="keyword">const</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="keywordtype">bool</span> isOpen() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keywordtype">void</span> seek(atInt64 position, SeekOrigin origin);</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; atInt8 readByte();</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; atUint8 readUByte();</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; atUint8* readUBytes(atUint64 length);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; atInt8* readBytes(atUint64 length);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; atUint16 readUint16();</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; atInt16 readInt16();</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; atUint32 readUint32();</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; atInt32 readInt32();</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; atUint64 readUint64();</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; atInt64 readInt64();</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordtype">double</span> readDouble();</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordtype">float</span> readFloat();</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordtype">bool</span> readBool();</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordtype">bool</span> atEnd() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="comment">// TODO: Strings</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; Endian m_endian;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; std::string m_path;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; atUint64 m_length;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; PHYSFS_File* m_handle;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;};</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;}</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;}</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#ifndef PHYSFSFILEREADER_BASE</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor">#define PHYSFSFILEREADER_BASE() \</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor"> typedef Athena::io::PHYSFSFileReader base</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor">#endif // PHYSFSSTREAM_HPP</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#endif // ATHENA_ENABLE_PHYSFS</span></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>PHYSFSFileReader.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,189 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/SkywardSwordFile.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 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.9.1 -->
<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><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&#160;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('_skyward_sword_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">SkywardSwordFile.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#if !defined(ATHENA_NO_SAVES) &amp;&amp; !defined(ATHENA_NO_ZQUEST)</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef SSFILE_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define SSFILE_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">// standard lib</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></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">class </span>SkywardSwordQuest;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">enum class</span> Region</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; NTSC,</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; NTSCJ,</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; PAL</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;};</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_athena_1_1_skyward_sword_file.html"> 36</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_skyward_sword_file.html">SkywardSwordFile</a></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">enum</span> MagicNumbers</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; USMagic = 0x534F5545,</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; JAMagic = 0x534F554A,</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; EUMagic = 0x534F5550</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; };</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="class_athena_1_1_skyward_sword_file.html">SkywardSwordFile</a>();</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="class_athena_1_1_skyward_sword_file.html">SkywardSwordFile</a>(std::vector&lt;SkywardSwordQuest*&gt; quests);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; ~<a class="code" href="class_athena_1_1_skyward_sword_file.html">SkywardSwordFile</a>();</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordtype">void</span> addQuest(<a class="code" href="class_athena_1_1_skyward_sword_quest.html">SkywardSwordQuest</a>* q);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="class_athena_1_1_skyward_sword_quest.html">SkywardSwordQuest</a>* quest(atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; std::vector&lt;SkywardSwordQuest*&gt; questList() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordtype">void</span> setRegion(Region region);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; Region region() <span class="keyword">const</span>;</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">private</span>:</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; Region m_region;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="comment">// A vector is a bit overkill</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; std::vector&lt;SkywardSwordQuest*&gt; m_quests;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; atUint32 m_numQuests;</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;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;}</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#endif // SSFILE_HPP</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1_skyward_sword_file_html"><div class="ttname"><a href="class_athena_1_1_skyward_sword_file.html">Athena::SkywardSwordFile</a></div><div class="ttdef"><b>Definition:</b> <a href="_skyward_sword_file_8hpp_source.html#l00036">SkywardSwordFile.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1_skyward_sword_quest_html"><div class="ttname"><a href="class_athena_1_1_skyward_sword_quest.html">Athena::SkywardSwordQuest</a></div><div class="ttdef"><b>Definition:</b> <a href="_skyward_sword_quest_8hpp_source.html#l00027">SkywardSwordQuest.hpp:27</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>SkywardSwordFile.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,167 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/SkywardSwordFileReader.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 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.9.1 -->
<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><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&#160;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('_skyward_sword_file_reader_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">SkywardSwordFileReader.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#if !defined(ATHENA_NO_SAVES) &amp;&amp; !defined(ATHENA_NO_ZQUEST)</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef SSFILEREADER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define SSFILEREADER_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryReader.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">class </span>SkywardSwordFile;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span>io</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"><a class="line" href="class_athena_1_1io_1_1_skyward_sword_file_reader.html"> 27</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_skyward_sword_file_reader.html">SkywardSwordFileReader</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html">MemoryReader</a></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;{</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; MEMORYREADER_BASE();</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <a class="code" href="class_athena_1_1io_1_1_skyward_sword_file_reader.html">SkywardSwordFileReader</a>(atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#abdcf5e4548ea7344d22e1dbf2dcd7d83">data</a>, atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a3e148f063ad3d711c6381a85d40930db">length</a>);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <a class="code" href="class_athena_1_1io_1_1_skyward_sword_file_reader.html">SkywardSwordFileReader</a>(<span class="keyword">const</span> std::string&amp; filename);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="class_athena_1_1_skyward_sword_file.html">SkywardSwordFile</a>* read();</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;};</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#endif // SSFILEREADER_HPP</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1_skyward_sword_file_html"><div class="ttname"><a href="class_athena_1_1_skyward_sword_file.html">Athena::SkywardSwordFile</a></div><div class="ttdef"><b>Definition:</b> <a href="_skyward_sword_file_8hpp_source.html#l00036">SkywardSwordFile.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a3e148f063ad3d711c6381a85d40930db"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a3e148f063ad3d711c6381a85d40930db">Athena::io::MemoryReader::length</a></div><div class="ttdeci">atUint64 length() const </div><div class="ttdoc">Returns whether or not the stream is at the end. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_abdcf5e4548ea7344d22e1dbf2dcd7d83"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#abdcf5e4548ea7344d22e1dbf2dcd7d83">Athena::io::MemoryReader::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it&#39;s perfectly...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html">Athena::io::MemoryReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_reader_8hpp_source.html#l00035">MemoryReader.hpp:35</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_skyward_sword_file_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_skyward_sword_file_reader.html">Athena::io::SkywardSwordFileReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_skyward_sword_file_reader_8hpp_source.html#l00027">SkywardSwordFileReader.hpp:27</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>SkywardSwordFileReader.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,166 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/SkywardSwordFileWriter.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 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.9.1 -->
<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><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&#160;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('_skyward_sword_file_writer_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">SkywardSwordFileWriter.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#if !defined(ATHENA_NO_SAVES) &amp;&amp; !defined(ATHENA_NO_ZQUEST)</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef SSFILEWRITER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define SSFILEWRITER_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryWriter.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">class </span>SkywardSwordFile;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_skyward_sword_file_writer.html"> 29</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_skyward_sword_file_writer.html">SkywardSwordFileWriter</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html">MemoryWriter</a></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; MEMORYWRITER_BASE();</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <a class="code" href="class_athena_1_1io_1_1_skyward_sword_file_writer.html">SkywardSwordFileWriter</a>(atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">data</a>, atUint64 len);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="class_athena_1_1io_1_1_skyward_sword_file_writer.html">SkywardSwordFileWriter</a>(<span class="keyword">const</span> std::string&amp; filename);</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keywordtype">void</span> write(<a class="code" href="class_athena_1_1_skyward_sword_file.html">SkywardSwordFile</a>* file);</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;};</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;}</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;}</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#endif // SSFILEWRITER_HPP</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1_skyward_sword_file_html"><div class="ttname"><a href="class_athena_1_1_skyward_sword_file.html">Athena::SkywardSwordFile</a></div><div class="ttdef"><b>Definition:</b> <a href="_skyward_sword_file_8hpp_source.html#l00036">SkywardSwordFile.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_skyward_sword_file_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_skyward_sword_file_writer.html">Athena::io::SkywardSwordFileWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_skyward_sword_file_writer_8hpp_source.html#l00029">SkywardSwordFileWriter.hpp:29</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html">Athena::io::MemoryWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_writer_8hpp_source.html#l00036">MemoryWriter.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_accd127e370fb1bb89d19bb96c90dfa76"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">Athena::io::MemoryWriter::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it&#39;s perfectly...</div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>SkywardSwordFileWriter.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,200 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/SkywardSwordQuest.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 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.9.1 -->
<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><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&#160;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('_skyward_sword_quest_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">SkywardSwordQuest.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#if !defined(ATHENA_NO_SAVES) &amp;&amp; !defined(ATHENA_NO_ZQUEST)</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160; <span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160; <span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; <span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; <span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; <span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; <span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; <span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; <span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef SKYWARDSWORDQUEST_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define SKYWARDSWORDQUEST_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Athena/ZQuestFile.hpp&quot;</span></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="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; {</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="comment">// TODO: Handle game specific data</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_athena_1_1_skyward_sword_quest.html"> 27</a></span>&#160; <span class="keyword">class </span><a class="code" href="class_athena_1_1_skyward_sword_quest.html">SkywardSwordQuest</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1_z_quest_file.html">ZQuestFile</a></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; {</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keyword">enum</span> AmmoType</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; {</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; Arrows,</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; Bombs,</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; Seeds</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; };</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="class_athena_1_1_skyward_sword_quest.html">SkywardSwordQuest</a>(atUint8* <a class="code" href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">data</a>, atUint32 len);</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordtype">void</span> setPlayerName(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; std::string playerName() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordtype">void</span> setRupeeCount(atUint16 value);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; atUint16 rupeeCount();</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordtype">void</span> setAmmoCount(AmmoType type, atUint32 count);</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; atUint32 ammoCount(AmmoType type);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordtype">void</span> setMaxHP(atUint16 val);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; atUint16 maxHP();</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordtype">float</span> maxHearts();</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordtype">void</span> setSpawnHP(atUint16 val);</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; atUint16 spawnHP();</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keywordtype">float</span> spawnHearts();</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordtype">void</span> setCurrentHP(atUint16 val);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; atUint16 currentHP();</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordtype">float</span> currentHearts();</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; std::string currentLocation();</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; std::string currentArea();</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; std::string currentLocationCopy();</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; <span class="keywordtype">void</span> setSkipData(<span class="keyword">const</span> atUint8* data);</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; atUint8* skipData() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</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; atUint32 slotChecksum();</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; atUint32 skipChecksum();</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">void</span> fixChecksums();</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordtype">void</span> setNew(<span class="keywordtype">bool</span> isNew);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">bool</span> isNew() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; atUint8* m_skipData;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; };</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; } <span class="comment">// zelda</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor">#endif // SSQUEST_HPP</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_a9056511b53ab3b967f7e1995c4ed6184"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">Athena::ZQuestFile::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">data </div></div>
<div class="ttc" id="class_athena_1_1_skyward_sword_quest_html"><div class="ttname"><a href="class_athena_1_1_skyward_sword_quest.html">Athena::SkywardSwordQuest</a></div><div class="ttdef"><b>Definition:</b> <a href="_skyward_sword_quest_8hpp_source.html#l00027">SkywardSwordQuest.hpp:27</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></div><div class="ttdoc">ZQuestFile is an export format for save data. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00033">ZQuestFile.hpp:33</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>SkywardSwordQuest.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,268 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/Sprite.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 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.9.1 -->
<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><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&#160;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('_sprite_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">Sprite.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAKURA</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef SSPRITE_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define SSPRITE_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;QPoint&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;QString&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;QList&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">namespace </span>Sakura</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">class </span>SpriteFile;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">class </span>SpriteFrame;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_sprite.html"> 39</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;{</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a> : <span class="keyword">public</span> QObject</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;{</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; Q_PROPERTY(QString name READ name WRITE setName)</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; Q_PROPERTY(qreal currentState READ currentState WRITE setCurrentState)</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; Q_PROPERTY(qreal stateCount READ stateCount CONSTANT)</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a>* root);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a>* root, <span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>();</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setPosition(<span class="keyword">const</span> <span class="keywordtype">float</span> x, <span class="keyword">const</span> <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setPosition(<span class="keyword">const</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a>&amp; pos);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> position() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordtype">void</span> setName(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; std::string name() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setPosition(<span class="keyword">const</span> QPoint&amp; pos);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keyword">virtual</span> QPoint position() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordtype">void</span> setName(<span class="keyword">const</span> QString&amp; name);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; QString name() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">void</span> addStateId(<span class="keywordtype">int</span> <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite.html#a8717ac9b9947b356cdca8b227457b9b3">stateId</a>(<span class="keywordtype">int</span> index) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordtype">void</span> setStateIds(std::vector&lt;int&gt; ids);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; std::vector&lt;int&gt; stateIds() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; QList&lt;int&gt; stateIds() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; atUint32 stateCount() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keywordtype">void</span> setCurrentState(atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; atUint32 currentState() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordtype">bool</span> addFrame(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* Frame);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordtype">bool</span> removeFrame(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* Frame);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* Frame(atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordtype">void</span> setFrame(atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordtype">void</span> setFrames(std::vector&lt;SpriteFrame*&gt; frames);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordtype">void</span> setFrames(QList&lt;SpriteFrame*&gt; frames);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; atUint32 frameCount() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; std::vector&lt;SpriteFrame*&gt; frames() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; QList&lt;SpriteFrame*&gt; frames() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a>* container() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keywordtype">void</span> setCurrentFrame(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* frame);</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordtype">void</span> setCurrentFrame(atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* currentFrame() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordtype">void</span> advanceFrame();</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordtype">void</span> retreatFrame();</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordtype">void</span> setRoot(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a>* root);</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a>* root() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="preprocessor">#ifdef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;signals:</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordtype">void</span> frameChanged(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* frame);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordtype">void</span> nameChanged(QString);</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordtype">void</span> stateChanged(quint32);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a>* m_root;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; std::string m_name;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> m_position;</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; std::vector&lt;int&gt; m_stateIds; </div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; std::vector&lt;SpriteFrame*&gt; m_frames;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; QString m_name;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; QPoint m_position;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; QList&lt;int&gt; m_stateIds;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; QList&lt;SpriteFrame*&gt; m_frames;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; atUint32 m_currentState;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; atUint32 m_currentFrame;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;};</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;} <span class="comment">// Sakura</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="preprocessor">#ifdef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;Q_DECLARE_METATYPE(Uint32)</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;Q_DECLARE_METATYPE(<a class="code" href="namespace_athena.html">Athena</a>::Sakura::Sprite*)</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="preprocessor">#endif // SSPRITE_HPP</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAKURA</span></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_8hpp_source.html#l00039">Sprite.hpp:39</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_vector2_d_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_vector2_d.html">Athena::Sakura::Vector2D&lt; float &gt;</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_frame_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_frame.html">Athena::Sakura::SpriteFrame</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_frame_8hpp_source.html#l00039">SpriteFrame.hpp:39</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html">Athena::Sakura::SpriteFile</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00046">SpriteFile.hpp:46</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_html_a8717ac9b9947b356cdca8b227457b9b3"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite.html#a8717ac9b9947b356cdca8b227457b9b3">Athena::Sakura::Sprite::stateId</a></div><div class="ttdeci">int stateId(int index) const </div><div class="ttdoc">Returns the texture id of a given state. </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>Sprite.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,335 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/SpriteFile.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 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.9.1 -->
<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><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&#160;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('_sprite_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">SpriteFile.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAKURA</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef SSPRITEFILE_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define SSPRITEFILE_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;QMap&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;QList&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;QSize&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;QPoint&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;{</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">namespace </span>Sakura</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="struct_athena_1_1_sakura_1_1_s_texture.html"> 38</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_athena_1_1_sakura_1_1_s_texture.html">STexture</a></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;{</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; std::string Filepath;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordtype">bool</span> Preload;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;};</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_sprite_file.html"> 46</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;{</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a> : <span class="keyword">public</span> QObject</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"> 51</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_sprite_file.html#a869fbc4b1b796a94930ca3a2c6a4daec"> 57</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a869fbc4b1b796a94930ca3a2c6a4daec">Major</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_sprite_file.html#a8338714f5b324c79d676391a27ef9848"> 62</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a8338714f5b324c79d676391a27ef9848">Minor</a>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_sprite_file.html#aee833c7b130e6e3d6bfaffd48289c5fe"> 67</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#aee833c7b130e6e3d6bfaffd48289c5fe">Revision</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_sprite_file.html#a7c602fc4eac4b4ef864ef370bfc4dced"> 72</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a7c602fc4eac4b4ef864ef370bfc4dced">Build</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_sprite_file.html#a3ae447e93f91773ce6f9e83e689370c8"> 77</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a3ae447e93f91773ce6f9e83e689370c8">Version</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_sprite_file.html#a76f0dfa2984afa12f18e3cb7743e2f6e"> 82</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a76f0dfa2984afa12f18e3cb7743e2f6e">Magic</a>;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a6a0c272742273e708c979db0d2a11cfb">SpriteFile</a>();</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a6a0c272742273e708c979db0d2a11cfb">SpriteFile</a>(atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a538738ddf7ec6dade685675bc5476065">width</a>, atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a0429bb9b9f3e84ffbdb455970f12353c">height</a>, <span class="keywordtype">float</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a68a774af3246e1125c1ce71306a45350">originX</a>, <span class="keywordtype">float</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#ab1034dd4cc6889fc1ca7c89324a0a03e">originY</a>);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a6a0c272742273e708c979db0d2a11cfb">SpriteFile</a>(<span class="keyword">const</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a>&amp; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#adc50a6a07801cd4a2556a92993a65fc9">size</a>, <span class="keyword">const</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a>&amp; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a3c7aa3dc5c830ce218c322a4ee861345">origin</a>);</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a6a0c272742273e708c979db0d2a11cfb">SpriteFile</a>(<span class="keyword">const</span> QSize&amp; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#adc50a6a07801cd4a2556a92993a65fc9">size</a>, <span class="keyword">const</span> QPoint&amp; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a3c7aa3dc5c830ce218c322a4ee861345">origin</a>);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; ~<a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a>();</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="keyword">public</span> slots:</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#ac5cdb7fcad73a4af9a194efb52e81858">setSize</a>(atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a538738ddf7ec6dade685675bc5476065">width</a>, atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a0429bb9b9f3e84ffbdb455970f12353c">height</a>);</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#ac5cdb7fcad73a4af9a194efb52e81858">setSize</a>(<span class="keyword">const</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a>&amp; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#adc50a6a07801cd4a2556a92993a65fc9">size</a>);</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#ac5cdb7fcad73a4af9a194efb52e81858">setSize</a>(<span class="keyword">const</span> QSize&amp; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#adc50a6a07801cd4a2556a92993a65fc9">size</a>);</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#adc50a6a07801cd4a2556a92993a65fc9">size</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; QSize <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#adc50a6a07801cd4a2556a92993a65fc9">size</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a538738ddf7ec6dade685675bc5476065">width</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; atUint32 <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a0429bb9b9f3e84ffbdb455970f12353c">height</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a5028868ff0aeed65fe9029a5c3dfd024">setOrigin</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> x, <span class="keyword">const</span> <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a5028868ff0aeed65fe9029a5c3dfd024">setOrigin</a>(<span class="keyword">const</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a>&amp; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a3c7aa3dc5c830ce218c322a4ee861345">origin</a>);</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a5028868ff0aeed65fe9029a5c3dfd024">setOrigin</a>(<span class="keyword">const</span> QPoint&amp; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a3c7aa3dc5c830ce218c322a4ee861345">origin</a>);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a3c7aa3dc5c830ce218c322a4ee861345">origin</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; QPoint <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a3c7aa3dc5c830ce218c322a4ee861345">origin</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a68a774af3246e1125c1ce71306a45350">originX</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#ab1034dd4cc6889fc1ca7c89324a0a03e">originY</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#a0bfe13005f665b92acc04a43e0e0b082">addTexture</a>(<a class="code" href="struct_athena_1_1_sakura_1_1_s_texture.html">STexture</a>* <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#aef6a04151c322e0b77dc5d2de4be3f43">texture</a>);</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#aa74ab3ea1ecaaa9397a9d382e5df1318">removeTexture</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <a class="code" href="struct_athena_1_1_sakura_1_1_s_texture.html">STexture</a>* <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#aef6a04151c322e0b77dc5d2de4be3f43">texture</a>(atUint32 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; std::vector&lt;STexture*&gt; textures() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; QList&lt;STexture*&gt; textures() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; atUint32 textureCount() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#ac130275c65d721f968cde86ea609640e">setTextures</a>(std::vector&lt;STexture*&gt; textures);</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html#ac130275c65d721f968cde86ea609640e">setTextures</a>(QList&lt;STexture*&gt; textures);</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <span class="keywordtype">void</span> addSprite(<a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>* sprite);</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160;</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <span class="keywordtype">void</span> removeSprite(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <span class="keywordtype">void</span> removeSprite(<span class="keyword">const</span> QString&amp; name);</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="keywordtype">void</span> removeSprite(<a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>* sprite);</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="keywordtype">void</span> setSprites(std::unordered_map&lt;std::string, Sprite*&gt; sprites);</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordtype">void</span> setSprites(QMap&lt;QString, Sprite*&gt; sprites);</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>* sprite(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; std::unordered_map&lt;std::string, Sprite*&gt; sprites() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>* sprite(<span class="keyword">const</span> QString&amp; name);</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; QMap&lt;QString, Sprite*&gt; sprites() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; atUint32 spriteCount() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;<span class="preprocessor">#ifdef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;signals:</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="keywordtype">void</span> originChanged(QPoint);</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="keywordtype">void</span> sizeChanged(QSize);</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; std::vector&lt;STexture*&gt; m_textures;</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> m_size;</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> m_origin;</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; std::unordered_map&lt;std::string, Sprite*&gt; m_sprites;</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; QList&lt;STexture*&gt; m_textures;</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; QSize m_size;</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; QPoint m_origin;</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; QMap&lt;QString, Sprite*&gt; m_sprites;</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;};</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;} <span class="comment">// Sakura</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;} <span class="comment">// Zelda</span></div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;<span class="preprocessor">#ifdef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160;Q_DECLARE_METATYPE(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">Athena::Sakura::SpriteFile</a>*)</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;Q_DECLARE_METATYPE(<a class="code" href="namespace_athena.html">Athena</a>::Sakura::STexture*)</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;<span class="preprocessor">#endif // SSPRITE_HPP</span></div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160;</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAKURA</span></div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;</div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_8hpp_source.html#l00039">Sprite.hpp:39</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_vector2_d_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_vector2_d.html">Athena::Sakura::Vector2D&lt; int &gt;</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_ac5cdb7fcad73a4af9a194efb52e81858"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#ac5cdb7fcad73a4af9a194efb52e81858">Athena::Sakura::SpriteFile::setSize</a></div><div class="ttdeci">void setSize(atUint32 width, atUint32 height)</div><div class="ttdoc">setSize </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_ab1034dd4cc6889fc1ca7c89324a0a03e"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#ab1034dd4cc6889fc1ca7c89324a0a03e">Athena::Sakura::SpriteFile::originY</a></div><div class="ttdeci">float originY() const </div><div class="ttdoc">originY </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a0bfe13005f665b92acc04a43e0e0b082"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a0bfe13005f665b92acc04a43e0e0b082">Athena::Sakura::SpriteFile::addTexture</a></div><div class="ttdeci">bool addTexture(STexture *texture)</div><div class="ttdoc">addTexture </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_aee833c7b130e6e3d6bfaffd48289c5fe"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#aee833c7b130e6e3d6bfaffd48289c5fe">Athena::Sakura::SpriteFile::Revision</a></div><div class="ttdeci">static const atUint32 Revision</div><div class="ttdoc">Revision. </div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00067">SpriteFile.hpp:67</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_ac130275c65d721f968cde86ea609640e"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#ac130275c65d721f968cde86ea609640e">Athena::Sakura::SpriteFile::setTextures</a></div><div class="ttdeci">void setTextures(std::vector&lt; STexture * &gt; textures)</div><div class="ttdoc">setTextures </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a869fbc4b1b796a94930ca3a2c6a4daec"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a869fbc4b1b796a94930ca3a2c6a4daec">Athena::Sakura::SpriteFile::Major</a></div><div class="ttdeci">static const atUint32 Major</div><div class="ttdoc">Major. </div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00057">SpriteFile.hpp:57</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a3c7aa3dc5c830ce218c322a4ee861345"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a3c7aa3dc5c830ce218c322a4ee861345">Athena::Sakura::SpriteFile::origin</a></div><div class="ttdeci">Vector2Df origin() const </div><div class="ttdoc">origin </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a68a774af3246e1125c1ce71306a45350"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a68a774af3246e1125c1ce71306a45350">Athena::Sakura::SpriteFile::originX</a></div><div class="ttdeci">float originX() const </div><div class="ttdoc">originX </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html">Athena::Sakura::SpriteFile</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00046">SpriteFile.hpp:46</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_aa74ab3ea1ecaaa9397a9d382e5df1318"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#aa74ab3ea1ecaaa9397a9d382e5df1318">Athena::Sakura::SpriteFile::removeTexture</a></div><div class="ttdeci">void removeTexture(int id)</div><div class="ttdoc">removeTexture </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a76f0dfa2984afa12f18e3cb7743e2f6e"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a76f0dfa2984afa12f18e3cb7743e2f6e">Athena::Sakura::SpriteFile::Magic</a></div><div class="ttdeci">static const atUint32 Magic</div><div class="ttdoc">Magic. </div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00082">SpriteFile.hpp:82</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a6a0c272742273e708c979db0d2a11cfb"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a6a0c272742273e708c979db0d2a11cfb">Athena::Sakura::SpriteFile::SpriteFile</a></div><div class="ttdeci">SpriteFile()</div><div class="ttdoc">SSprite. </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_adc50a6a07801cd4a2556a92993a65fc9"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#adc50a6a07801cd4a2556a92993a65fc9">Athena::Sakura::SpriteFile::size</a></div><div class="ttdeci">Vector2Di size() const </div><div class="ttdoc">size </div></div>
<div class="ttc" id="struct_athena_1_1_sakura_1_1_s_texture_html"><div class="ttname"><a href="struct_athena_1_1_sakura_1_1_s_texture.html">Athena::Sakura::STexture</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00038">SpriteFile.hpp:38</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a7c602fc4eac4b4ef864ef370bfc4dced"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a7c602fc4eac4b4ef864ef370bfc4dced">Athena::Sakura::SpriteFile::Build</a></div><div class="ttdeci">static const atUint32 Build</div><div class="ttdoc">Patch. </div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00072">SpriteFile.hpp:72</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a8338714f5b324c79d676391a27ef9848"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a8338714f5b324c79d676391a27ef9848">Athena::Sakura::SpriteFile::Minor</a></div><div class="ttdeci">static const atUint32 Minor</div><div class="ttdoc">Minor. </div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00062">SpriteFile.hpp:62</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a3ae447e93f91773ce6f9e83e689370c8"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a3ae447e93f91773ce6f9e83e689370c8">Athena::Sakura::SpriteFile::Version</a></div><div class="ttdeci">static const atUint32 Version</div><div class="ttdoc">Version. </div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00077">SpriteFile.hpp:77</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a538738ddf7ec6dade685675bc5476065"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a538738ddf7ec6dade685675bc5476065">Athena::Sakura::SpriteFile::width</a></div><div class="ttdeci">atUint32 width() const </div><div class="ttdoc">width </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a5028868ff0aeed65fe9029a5c3dfd024"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a5028868ff0aeed65fe9029a5c3dfd024">Athena::Sakura::SpriteFile::setOrigin</a></div><div class="ttdeci">void setOrigin(const float x, const float y)</div><div class="ttdoc">setOrigin </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_aef6a04151c322e0b77dc5d2de4be3f43"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#aef6a04151c322e0b77dc5d2de4be3f43">Athena::Sakura::SpriteFile::texture</a></div><div class="ttdeci">STexture * texture(atUint32 id)</div><div class="ttdoc">texture </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html_a0429bb9b9f3e84ffbdb455970f12353c"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html#a0429bb9b9f3e84ffbdb455970f12353c">Athena::Sakura::SpriteFile::height</a></div><div class="ttdeci">atUint32 height() const </div><div class="ttdoc">height </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>SpriteFile.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,173 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/SpriteFileReader.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 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.9.1 -->
<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><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&#160;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('_sprite_file_reader_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">SpriteFileReader.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAKURA</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef SSPRITEFILEREADER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define SSPRITEFILEREADER_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryReader.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span>Sakura</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span>SpriteFile;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;} <span class="comment">// Sakura</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_sprite_file_reader.html"> 32</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_sprite_file_reader.html">SpriteFileReader</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html">MemoryReader</a></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; MEMORYREADER_BASE();</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="class_athena_1_1io_1_1_sprite_file_reader.html">SpriteFileReader</a>(atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#abdcf5e4548ea7344d22e1dbf2dcd7d83">data</a>, atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a3e148f063ad3d711c6381a85d40930db">length</a>);</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="class_athena_1_1io_1_1_sprite_file_reader.html">SpriteFileReader</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a57f341464e6009906ffef16197cedf4c">filepath</a>);</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">Sakura::SpriteFile</a>* readFile();</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;};</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#endif // SSPRITEFILEREADER_HPP</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAKURA</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a3e148f063ad3d711c6381a85d40930db"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a3e148f063ad3d711c6381a85d40930db">Athena::io::MemoryReader::length</a></div><div class="ttdeci">atUint64 length() const </div><div class="ttdoc">Returns whether or not the stream is at the end. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_abdcf5e4548ea7344d22e1dbf2dcd7d83"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#abdcf5e4548ea7344d22e1dbf2dcd7d83">Athena::io::MemoryReader::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it&#39;s perfectly...</div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html">Athena::Sakura::SpriteFile</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00046">SpriteFile.hpp:46</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html">Athena::io::MemoryReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_reader_8hpp_source.html#l00035">MemoryReader.hpp:35</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a57f341464e6009906ffef16197cedf4c"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a57f341464e6009906ffef16197cedf4c">Athena::io::MemoryReader::filepath</a></div><div class="ttdeci">std::string filepath() const </div><div class="ttdoc">Returns the target file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_sprite_file_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_sprite_file_reader.html">Athena::io::SpriteFileReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_reader_8hpp_source.html#l00032">SpriteFileReader.hpp:32</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>SpriteFileReader.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,173 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/SpriteFileWriter.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 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.9.1 -->
<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><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&#160;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('_sprite_file_writer_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">SpriteFileWriter.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAKURA</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef SSPRITEFILEWRITER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define SSPRITEFILEWRITER_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryWriter.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span>Sakura</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span>SpriteFile;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;} <span class="comment">// Sakura</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_sprite_file_writer.html"> 32</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_sprite_file_writer.html">SpriteFileWriter</a> : <span class="keyword">public</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html">MemoryWriter</a></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; MEMORYWRITER_BASE();</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="class_athena_1_1io_1_1_sprite_file_writer.html">SpriteFileWriter</a>(atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">data</a>, atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">length</a>);</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <a class="code" href="class_athena_1_1io_1_1_sprite_file_writer.html">SpriteFileWriter</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ad2bb5d48bd85561af0ea2069ed14c9b7">filepath</a>);</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordtype">void</span> writeFile(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_file.html">Sakura::SpriteFile</a>* file);</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;};</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#endif // SSPRITEFILEWRITER_HPP</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAKURA</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_ad2bb5d48bd85561af0ea2069ed14c9b7"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#ad2bb5d48bd85561af0ea2069ed14c9b7">Athena::io::MemoryWriter::filepath</a></div><div class="ttdeci">std::string filepath() const </div><div class="ttdoc">Returns the target file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_sprite_file_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_sprite_file_writer.html">Athena::io::SpriteFileWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_writer_8hpp_source.html#l00032">SpriteFileWriter.hpp:32</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_ac971745b70a796b1747a81fff1de5257"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">Athena::io::MemoryWriter::length</a></div><div class="ttdeci">atUint64 length() const </div><div class="ttdoc">Returns whether or not the stream is at the end. </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_file_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_file.html">Athena::Sakura::SpriteFile</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_file_8hpp_source.html#l00046">SpriteFile.hpp:46</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html">Athena::io::MemoryWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_writer_8hpp_source.html#l00036">MemoryWriter.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_accd127e370fb1bb89d19bb96c90dfa76"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">Athena::io::MemoryWriter::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it&#39;s perfectly...</div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>SpriteFileWriter.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,216 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/SpriteFrame.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 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.9.1 -->
<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><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&#160;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('_sprite_frame_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">SpriteFrame.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAKURA</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef SSPRITEFRAME_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define SSPRITEFRAME_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></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">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;QList&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;{</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">namespace </span>Sakura</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">class </span>Sprite;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">class </span>SpritePart;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_sprite_frame.html"> 39</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;{</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> : <span class="keyword">public</span> QObject</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;{</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; Q_PROPERTY(qreal <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html#a87d3dcf7c8f25355ce34372cd32bc052">frameTime</a> READ <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html#a87d3dcf7c8f25355ce34372cd32bc052">frameTime</a> WRITE <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html#abfc7f9cf6482528cf03ee2f376a3e384">setFrameTime</a>)</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html#a8a5873170a4bb9b2526371d55de93066">SpriteFrame</a>();</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html#a8a5873170a4bb9b2526371d55de93066">SpriteFrame</a>(<a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>* root);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html#abfc7f9cf6482528cf03ee2f376a3e384">setFrameTime</a>(<span class="keywordtype">float</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html#a87d3dcf7c8f25355ce34372cd32bc052">frameTime</a>);</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;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html#a87d3dcf7c8f25355ce34372cd32bc052">frameTime</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">void</span> setParts(std::vector&lt;SpritePart*&gt; parts);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; std::vector&lt;SpritePart*&gt; parts() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordtype">void</span> setParts(QList&lt;SpritePart*&gt; parts);</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; QList&lt;SpritePart*&gt; parts() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; atUint32 partCount() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordtype">void</span> setRoot(<a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>* root);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>* root() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor">#ifdef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;signals:</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordtype">void</span> frameTimeChanged(<span class="keywordtype">float</span>);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a>* m_root;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keywordtype">float</span> m_frameTime;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; std::vector&lt;SpritePart*&gt; m_parts;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; QList&lt;SpritePart*&gt; m_parts;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;};</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;} <span class="comment">// Sakura</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="preprocessor">#ifdef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;Q_DECLARE_METATYPE(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">Athena::Sakura::SpriteFrame</a>*);</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="preprocessor">#endif // SSPRITEFRAME_HPP</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAKURA</span></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_8hpp_source.html#l00039">Sprite.hpp:39</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_frame_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_frame.html">Athena::Sakura::SpriteFrame</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_frame_8hpp_source.html#l00039">SpriteFrame.hpp:39</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_frame_html_abfc7f9cf6482528cf03ee2f376a3e384"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_frame.html#abfc7f9cf6482528cf03ee2f376a3e384">Athena::Sakura::SpriteFrame::setFrameTime</a></div><div class="ttdeci">void setFrameTime(float frameTime)</div><div class="ttdoc">setFrameTime </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_frame_html_a8a5873170a4bb9b2526371d55de93066"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_frame.html#a8a5873170a4bb9b2526371d55de93066">Athena::Sakura::SpriteFrame::SpriteFrame</a></div><div class="ttdeci">SpriteFrame()</div><div class="ttdoc">SSpriteFrame. </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_frame_html_a87d3dcf7c8f25355ce34372cd32bc052"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_frame.html#a87d3dcf7c8f25355ce34372cd32bc052">Athena::Sakura::SpriteFrame::frameTime</a></div><div class="ttdeci">float frameTime() const </div><div class="ttdoc">frameTime </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>SpriteFrame.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,296 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/SpritePart.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 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.9.1 -->
<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><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&#160;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('_sprite_part_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">SpritePart.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAKURA</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef SSPRITEPART_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define SSPRITEPART_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor"># include &lt;vector&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor"># include &lt;QObject&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor"># include &lt;QPoint&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor"># include &lt;QSize&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor"># include &lt;QString&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">namespace </span>Sakura</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;{</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">class </span>SpriteFrame;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_athena_1_1_sakura_1_1_sprite_part.html"> 39</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html">SpritePart</a></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;{</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html">SpritePart</a> : <span class="keyword">public</span> QObject</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;{</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; Q_PROPERTY(QString name READ name WRITE setName)</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; Q_PROPERTY(<span class="keywordtype">bool</span> hasCollision READ hasCollision WRITE setCollision)</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; Q_PROPERTY(<span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a82508b80a0448daf048d23bd408300e1">flippedHorizontally</a> READ <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a82508b80a0448daf048d23bd408300e1">flippedHorizontally</a> WRITE <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a1bb72765ab056627bd0222801d01b2dc">setFlippedHorizontally</a>)</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; Q_PROPERTY(<span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#abfa7f9a4ef3755c68d8ee09018497ad9">flippedVertically</a> READ <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#abfa7f9a4ef3755c68d8ee09018497ad9">flippedVertically</a> WRITE <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a3a2339aeaf01d6c3c888b23fdadfaf9d">setFlippedVertically</a>)</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; Q_PROPERTY(QPoint <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a7a9859244f9f769bdb732034a4852342">offset</a> READ <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a7a9859244f9f769bdb732034a4852342">offset</a> WRITE <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a725b715cf75d951bd6a695fee2e3730d">setOffset</a>)</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; Q_PROPERTY(QPoint <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a51d43cd362da203d52cf4fc3064e1b5b">textureOffset</a> READ <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a51d43cd362da203d52cf4fc3064e1b5b">textureOffset</a> WRITE <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a04e752a3e79e4a82328e1b24fcdfb5d9">setTextureOffset</a>)</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; Q_PROPERTY(QSize <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#ab7dc7c67db5406a66ab3434f008206c3">size</a> READ <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#ab7dc7c67db5406a66ab3434f008206c3">size</a> WRITE <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#aa12c5b9f1f8643044f37bcc531482c50">setSize</a>)</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html">SpritePart</a>(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* root);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html">SpritePart</a>(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* root, <span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">bool</span> hasCollision = <span class="keyword">false</span>);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html">SpritePart</a>();</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</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;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordtype">void</span> setName(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; std::string name() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">void</span> setName(<span class="keyword">const</span> QString&amp; name);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; QString name() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordtype">void</span> setCollision(<span class="keywordtype">bool</span> col);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">bool</span> hasCollision() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a725b715cf75d951bd6a695fee2e3730d">setOffset</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a725b715cf75d951bd6a695fee2e3730d">setOffset</a>(<span class="keyword">const</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a>&amp; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a7a9859244f9f769bdb732034a4852342">offset</a>);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a725b715cf75d951bd6a695fee2e3730d">setOffset</a>(<span class="keyword">const</span> QPoint&amp; offset);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a7a9859244f9f769bdb732034a4852342">offset</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; QPoint <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a7a9859244f9f769bdb732034a4852342">offset</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a04e752a3e79e4a82328e1b24fcdfb5d9">setTextureOffset</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a04e752a3e79e4a82328e1b24fcdfb5d9">setTextureOffset</a>(<span class="keyword">const</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a>&amp; offset);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a04e752a3e79e4a82328e1b24fcdfb5d9">setTextureOffset</a>(<span class="keyword">const</span> QPoint&amp; offset);</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a51d43cd362da203d52cf4fc3064e1b5b">textureOffset</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; QPoint <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a51d43cd362da203d52cf4fc3064e1b5b">textureOffset</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#aa12c5b9f1f8643044f37bcc531482c50">setSize</a>(atUint32 width, atUint32 height);</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#aa12c5b9f1f8643044f37bcc531482c50">setSize</a>(<span class="keyword">const</span> <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a>&amp; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#ab7dc7c67db5406a66ab3434f008206c3">size</a>);</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#aa12c5b9f1f8643044f37bcc531482c50">setSize</a>(<span class="keyword">const</span> QSize&amp; size);</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#ab7dc7c67db5406a66ab3434f008206c3">size</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; QSize <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#ab7dc7c67db5406a66ab3434f008206c3">size</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a1bb72765ab056627bd0222801d01b2dc">setFlippedHorizontally</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> val);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a82508b80a0448daf048d23bd408300e1">flippedHorizontally</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#a3a2339aeaf01d6c3c888b23fdadfaf9d">setFlippedVertically</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> val);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html#abfa7f9a4ef3755c68d8ee09018497ad9">flippedVertically</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordtype">void</span> setRoot(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* root);</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* root() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;<span class="preprocessor">#ifdef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;signals:</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordtype">void</span> nameChanged(QString);</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordtype">void</span> orientationChanged(<span class="keywordtype">bool</span>, <span class="keywordtype">bool</span>);</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordtype">void</span> offsetChanged(QPoint);</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">void</span> textureOffsetChanged(QPoint);</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keywordtype">void</span> sizeChanged(QSize);</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordtype">void</span> collisionChanged(<span class="keywordtype">bool</span>);</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a>* m_root;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; std::string m_name;</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; QString m_name;</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordtype">bool</span> m_hasCollision;</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;<span class="preprocessor">#ifndef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> m_offset;</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> m_textureOffset;</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <a class="code" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> m_size;</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; QPoint m_offset;</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; QPoint m_textureOffset;</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; QSize m_size;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordtype">bool</span> m_flippedH;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordtype">bool</span> m_flippedV;</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; atUint32 m_frameIndex;</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;};</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;}</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;}</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;<span class="preprocessor">#ifdef ATHENA_USE_QT</span></div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;Q_DECLARE_METATYPE(<a class="code" href="class_athena_1_1_sakura_1_1_sprite_part.html">Athena::Sakura::SpritePart</a>*)</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;<span class="preprocessor">#endif // SSPRITEPART_HPP</span></div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAKURA</span></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_vector2_d_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_vector2_d.html">Athena::Sakura::Vector2D&lt; float &gt;</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_frame_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_frame.html">Athena::Sakura::SpriteFrame</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_frame_8hpp_source.html#l00039">SpriteFrame.hpp:39</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html_a1bb72765ab056627bd0222801d01b2dc"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html#a1bb72765ab056627bd0222801d01b2dc">Athena::Sakura::SpritePart::setFlippedHorizontally</a></div><div class="ttdeci">void setFlippedHorizontally(const bool val)</div><div class="ttdoc">setFlippedHorizontally </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html_a04e752a3e79e4a82328e1b24fcdfb5d9"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html#a04e752a3e79e4a82328e1b24fcdfb5d9">Athena::Sakura::SpritePart::setTextureOffset</a></div><div class="ttdeci">void setTextureOffset(float x, float y)</div><div class="ttdoc">setTextureOffset </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html_a51d43cd362da203d52cf4fc3064e1b5b"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html#a51d43cd362da203d52cf4fc3064e1b5b">Athena::Sakura::SpritePart::textureOffset</a></div><div class="ttdeci">Vector2Df textureOffset() const </div><div class="ttdoc">textureOffset </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html_a725b715cf75d951bd6a695fee2e3730d"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html#a725b715cf75d951bd6a695fee2e3730d">Athena::Sakura::SpritePart::setOffset</a></div><div class="ttdeci">void setOffset(float x, float y)</div><div class="ttdoc">setOffset </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html_aa12c5b9f1f8643044f37bcc531482c50"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html#aa12c5b9f1f8643044f37bcc531482c50">Athena::Sakura::SpritePart::setSize</a></div><div class="ttdeci">void setSize(atUint32 width, atUint32 height)</div><div class="ttdoc">setSize </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html_a7a9859244f9f769bdb732034a4852342"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html#a7a9859244f9f769bdb732034a4852342">Athena::Sakura::SpritePart::offset</a></div><div class="ttdeci">Vector2Df offset() const </div><div class="ttdoc">offset </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html_a82508b80a0448daf048d23bd408300e1"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html#a82508b80a0448daf048d23bd408300e1">Athena::Sakura::SpritePart::flippedHorizontally</a></div><div class="ttdeci">bool flippedHorizontally() const </div><div class="ttdoc">flippedHorizontally </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html">Athena::Sakura::SpritePart</a></div><div class="ttdef"><b>Definition:</b> <a href="_sprite_part_8hpp_source.html#l00039">SpritePart.hpp:39</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html_a3a2339aeaf01d6c3c888b23fdadfaf9d"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html#a3a2339aeaf01d6c3c888b23fdadfaf9d">Athena::Sakura::SpritePart::setFlippedVertically</a></div><div class="ttdeci">void setFlippedVertically(const bool val)</div><div class="ttdoc">setFlippedVertically </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html_abfa7f9a4ef3755c68d8ee09018497ad9"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html#abfa7f9a4ef3755c68d8ee09018497ad9">Athena::Sakura::SpritePart::flippedVertically</a></div><div class="ttdeci">bool flippedVertically() const </div><div class="ttdoc">flippedVertically </div></div>
<div class="ttc" id="class_athena_1_1_sakura_1_1_sprite_part_html_ab7dc7c67db5406a66ab3434f008206c3"><div class="ttname"><a href="class_athena_1_1_sakura_1_1_sprite_part.html#ab7dc7c67db5406a66ab3434f008206c3">Athena::Sakura::SpritePart::size</a></div><div class="ttdeci">Vector2Di size() const </div><div class="ttdoc">size </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>SpritePart.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,200 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/Types.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 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.9.1 -->
<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><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&#160;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('_types_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">Types.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef TYPES_HPP</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define TYPES_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;limits.h&gt;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">// 8 bits integer types</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#if UCHAR_MAX == 0xFF</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> atInt8;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> atUint8;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#error No 8 bits integer type for this platform</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment">// 16 bits integer types</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#if USHRT_MAX == 0xFFFF</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> atInt16;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> atUint16;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#elif UINT_MAX == 0xFFFF</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">int</span> atInt16;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> atUint16;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#elif ULONG_MAX == 0xFFFF</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> atInt16;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> atUint16;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#error No 16 bits integer type for this platform</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="comment">// 32 bits integer types</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#if USHRT_MAX == 0xFFFFFFFF</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> atInt32;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> atUint32;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#elif UINT_MAX == 0xFFFFFFFF</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">int</span> atInt32;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> atUint32;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor">#elif ULONG_MAX == 0xFFFFFFFF</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> atInt32;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> atUint32;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#error No 32 bits integer type for this platform</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> atInt64;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> atUint64;</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;<span class="preprocessor">#ifndef NULL</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#define NULL 0</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#else // __cplusplus</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#define NULL (void*)0</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#endif // NULL</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#ifndef UNUSED</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#define UNUSED(x) ((void)x)</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#endif // UNUSED</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#ifdef __GNUC__</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#define DEPRECATED(func) func __attribute__ ((deprecated))</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#elif defined(_MSC_VER)</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor">#define DEPRECATED(func) __declspec(deprecated) func</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor">#pragma message(&quot;WARNING: You need to implement DEPRECATED for this compiler&quot;)</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor">#define DEPRECATED(func) func</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor">#endif // TYPES_HPP</span></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>Types.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,350 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/Utility.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 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.9.1 -->
<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><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&#160;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('_utility_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">Utility.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// This file is part of libAthena.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// (at your option) any later version.</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">// libAthena 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 General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef __UTILITY_H__</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define __UTILITY_H__</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;stdarg.h&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;Athena/Types.hpp&quot;</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="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;{</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span>utility</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> isEmpty(atInt8* buf, atUint32 size) {<span class="keywordflow">return</span> !memcmp(buf, buf + 1, size - 1);}</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keywordtype">bool</span> isSystemBigEndian();</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">inline</span> atInt16 swap16(atInt16 val)</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;{</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#if __GNUC__</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordflow">return</span> __builtin_bswap16(val);</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#elif _WIN32</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordflow">return</span> _byteswap_ushort(val);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordflow">return</span> (val = (val &lt;&lt; 8) | ((val &gt;&gt; 8) &amp; 0xFF));</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;}</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keyword">inline</span> atUint16 swapU16(atUint16 val) {<span class="keywordflow">return</span> (atUint16)swap16(val);}</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="keyword">inline</span> atInt32 swap32(atInt32 val)</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;{</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#if __GNUC__</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordflow">return</span> __builtin_bswap32(val);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor">#elif _WIN32</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordflow">return</span> _byteswap_ulong(val);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; val = (val &amp; 0x0000FFFF) &lt;&lt; 16 | (val &amp; 0xFFFF0000) &gt;&gt; 16;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; val = (val &amp; 0x00FF00FF) &lt;&lt; 8 | (val &amp; 0xFF00FF00) &gt;&gt; 8;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#endif</span></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">inline</span> atUint32 swapU32(atUint32 val) {<span class="keywordflow">return</span> (atUint32)swap32(val);}</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="keyword">inline</span> atInt64 swap64(atInt64 val)</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="preprocessor">#if __GNUC__</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordflow">return</span> __builtin_bswap64(val);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#elif _WIN32</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordflow">return</span> _byteswap_uint64(val);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordflow">return</span> (val = ((atInt64)((((atInt64)(val) &amp; 0xFF00000000000000ULL) &gt;&gt; 56) |</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; (((atInt64)(val) &amp; 0x00FF000000000000ULL) &gt;&gt; 40) |</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; (((atInt64)(val) &amp; 0x0000FF0000000000ULL) &gt;&gt; 24) |</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; (((atInt64)(val) &amp; 0x000000FF00000000ULL) &gt;&gt; 8) |</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; (((atInt64)(val) &amp; 0x00000000FF000000ULL) &lt;&lt; 8) |</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; (((atInt64)(val) &amp; 0x0000000000FF0000ULL) &lt;&lt; 24) |</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; (((atInt64)(val) &amp; 0x000000000000FF00ULL) &lt;&lt; 40) |</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; (((atInt64)(val) &amp; 0x00000000000000FFULL) &lt;&lt; 56))));</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;}</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="keyword">inline</span> atUint64 swapU64(atUint64 val) {<span class="keywordflow">return</span> (atUint64)swap64(val);}</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">float</span> swapFloat(<span class="keywordtype">float</span> val)</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;{</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; atInt32 ival = swap64(static_cast&lt;atInt32&gt;(val));</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">float</span><span class="keyword">&gt;</span>(ival);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;}</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">double</span> swapDouble(<span class="keywordtype">double</span> val)</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;{</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; atInt64 ival = swap64(static_cast&lt;atInt64&gt;(val));</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(ival);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;}</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="keyword">inline</span> atInt16 LittleInt16(atInt16&amp; val)</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;{</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordflow">if</span> (Athena::utility::isSystemBigEndian())</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; val = Athena::utility::swap16(val);</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;}</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="keyword">inline</span> atUint16 LittleUint16(atUint16&amp; val)</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;{</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; atInt16 ret = val;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; LittleInt16(ret);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; val = ret;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;}</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="keyword">inline</span> atInt16 BigInt16(atInt16&amp; val)</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;{</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordflow">if</span> (!Athena::utility::isSystemBigEndian())</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; val = Athena::utility::swap16(val);</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;}</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="keyword">inline</span> atUint16 BigUint16(atUint16&amp; val)</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;{</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; atInt16 ret = val;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; BigInt16(ret);</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; val = ret;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;}</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="keyword">inline</span> atInt32 LittleInt32(atInt32&amp; val)</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;{</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordflow">if</span> (Athena::utility::isSystemBigEndian())</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; val = Athena::utility::swap32(val);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;}</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="keyword">inline</span> atUint32 LittleUint32(atUint32&amp; val)</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;{</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; atInt32 ret = val;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; LittleInt32(ret);</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; val = ret;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;}</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="keyword">inline</span> atInt32 BigInt32(atInt32&amp; val)</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;{</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordflow">if</span> (!Athena::utility::isSystemBigEndian())</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; val = Athena::utility::swap32(val);</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;}</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="keyword">inline</span> atUint32 BigUint32(atUint32&amp; val)</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;{</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; atInt32 ret = val;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; BigInt32(ret);</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; val = ret;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;}</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="keyword">inline</span> atInt64 LittleInt64(atInt64&amp; val)</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;{</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordflow">if</span> (Athena::utility::isSystemBigEndian())</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; val = Athena::utility::swap64(val);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;}</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="keyword">inline</span> atUint64 LittleUint64(atUint64&amp; val)</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;{</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; atInt64 ret = val;</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; LittleInt64(ret);</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; val = ret;</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;}</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="keyword">inline</span> atInt64 BigInt64(atInt64&amp; val)</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;{</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordflow">if</span> (!Athena::utility::isSystemBigEndian())</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; val = Athena::utility::swap64(val);</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;}</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;<span class="keyword">inline</span> atUint64 BigUint64(atUint64&amp; val)</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;{</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; atInt64 ret = val;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; BigInt64(ret);</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; val = ret;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;}</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">float</span> LittleFloat(<span class="keywordtype">float</span>&amp; val)</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;{</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordflow">if</span> (Athena::utility::isSystemBigEndian())</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; val = Athena::utility::swapFloat(val);</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;}</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">float</span> BigFloat(<span class="keywordtype">float</span>&amp; val)</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;{</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keywordflow">if</span> (!Athena::utility::isSystemBigEndian())</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; val = Athena::utility::swapFloat(val);</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;}</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">double</span> LittleDouble(<span class="keywordtype">double</span>&amp; val)</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;{</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keywordflow">if</span> (Athena::utility::isSystemBigEndian())</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; val = Athena::utility::swapDouble(val);</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;}</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">double</span> BigDouble(<span class="keywordtype">double</span>&amp; val)</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;{</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <span class="keywordflow">if</span> (!Athena::utility::isSystemBigEndian())</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; val = Athena::utility::swapDouble(val);</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;}</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;<span class="keywordtype">void</span> fillRandom(atUint8 * rndArea, atUint64 count);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;std::vector&lt;std::string&gt; split(<span class="keyword">const</span> std::string &amp;s, <span class="keywordtype">char</span> delim);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;atUint64 rand64();</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;std::string join(<span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; elems, <span class="keyword">const</span> std::string&amp; delims);</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;<span class="keywordtype">void</span> tolower(std::string&amp; str);</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;<span class="keywordtype">void</span> toupper(std::string&amp; str);</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;std::string vsprintf(<span class="keyword">const</span> <span class="keywordtype">char</span>* fmt, va_list list);</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;std::string sprintf(<span class="keyword">const</span> <span class="keywordtype">char</span>* fmt, ...);</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;<span class="keywordtype">bool</span> parseBool(<span class="keyword">const</span> std::string&amp; <span class="keywordtype">boolean</span>, <span class="keywordtype">bool</span>* valid = NULL);</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;<span class="keywordtype">int</span> countChar(<span class="keyword">const</span> std::string&amp; str, <span class="keyword">const</span> <span class="keywordtype">char</span> chr, <span class="keywordtype">int</span>* lastOccur = NULL);</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;<span class="comment">// trim from start</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;std::string&amp; ltrim(std::string&amp; s);</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;<span class="comment">// trim from end</span></div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;std::string&amp; rtrim(std::string&amp; s);</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;<span class="comment">// trim from both ends</span></div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;std::string&amp; trim(std::string&amp; s);</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;atUint64 fileSize(<span class="keyword">const</span> std::string&amp; filename);</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;} <span class="comment">// utility</span></div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;} <span class="comment">// Athena</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>Utility.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,240 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/WiiBanner.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 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.9.1 -->
<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><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&#160;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_banner_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">WiiBanner.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef WIIBANNER_H</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define WIIBANNER_H</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></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">class </span>WiiImage;</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_athena_1_1_wii_banner.html"> 33</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_wii_banner.html">WiiBanner</a></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">enum</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; {</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; NoCopy = 0x00000001,</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; Bounce = 0x00000010,</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; NoCopyBounce = NoCopy | Bounce</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; };</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="class_athena_1_1_wii_banner.html#a600a5cc07c4a9f57ff5eb1ab7cae5291">WiiBanner</a>();</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="class_athena_1_1_wii_banner.html#a600a5cc07c4a9f57ff5eb1ab7cae5291">WiiBanner</a>(atUint32 gameId, <span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1_wii_banner.html#a521e1b1d31ee53a894e27641fee41083">title</a>, <span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1_wii_banner.html#aeda9ea65eaf2253f37a525177446b54c">subtitle</a>, <a class="code" href="class_athena_1_1_wii_image.html">WiiImage</a>* m_banner, std::vector&lt;WiiImage*&gt; <a class="code" href="class_athena_1_1_wii_banner.html#a01482d71a940b4e60b8e20501fde1de0">icons</a>);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1_wii_banner.html">WiiBanner</a>();</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_banner.html#a2a6c5ab568f3268673097b3e1651360f">setGameID</a>(atUint64 <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; atUint64 <a class="code" href="class_athena_1_1_wii_banner.html#aaa3ca62533f98af53d6dc7195a1f4947">gameID</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_banner.html#ad0dd0baa53d9d251cbf62d2d1bd5a6a2">setBannerImage</a>(<a class="code" href="class_athena_1_1_wii_image.html">WiiImage</a>* banner);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="class_athena_1_1_wii_image.html">WiiImage</a>* <a class="code" href="class_athena_1_1_wii_banner.html#aa8dd87d586b5314d4f003b826c035c5f">bannerImage</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_banner.html#acffe5d1fb1b25ce464e2f7f84f1c7e5c">setBannerSize</a>(atUint32 size);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; atUint32 <a class="code" href="class_athena_1_1_wii_banner.html#a29f0255172db477ad5a13cf43a26036f">bannerSize</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_banner.html#afefa7cbbd85e768d7ab9fa54d9576cd8">setTitle</a>(<span class="keyword">const</span> std::string&amp; title);</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; std::string <a class="code" href="class_athena_1_1_wii_banner.html#a521e1b1d31ee53a894e27641fee41083">title</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_banner.html#aa87e321d71bcd55e233a8369c42057ab">setSubtitle</a>(<span class="keyword">const</span> std::string&amp; subtitle);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; std::string <a class="code" href="class_athena_1_1_wii_banner.html#aeda9ea65eaf2253f37a525177446b54c">subtitle</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_banner.html#aa64956915ff70482e1c42bbd4bd1120c">addIcon</a>(<a class="code" href="class_athena_1_1_wii_image.html">WiiImage</a>* icon);</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_banner.html#a521c41b7e9d810fc8be7f06c5ad64490">setIcon</a>(atUint32 <span class="keywordtype">id</span>, <a class="code" href="class_athena_1_1_wii_image.html">WiiImage</a>* icon);</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <a class="code" href="class_athena_1_1_wii_image.html">WiiImage</a>* <a class="code" href="class_athena_1_1_wii_banner.html#abfce662b38f678b3c03dfe0e472a2078">getIcon</a>(atUint32 <span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; std::vector&lt;WiiImage*&gt; <a class="code" href="class_athena_1_1_wii_banner.html#a01482d71a940b4e60b8e20501fde1de0">icons</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_banner.html#a3d760dd62e49462e680e332ad0098d29">setAnimationSpeed</a>(atUint16 animSpeed);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; atUint16 <a class="code" href="class_athena_1_1_wii_banner.html#a2e2ab033f02da5d5faa0dadc310781af">animationSpeed</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_banner.html#ae41c6fa4c470fcface89a2bd9e1a3092">setPermissions</a>(atUint8 <a class="code" href="class_athena_1_1_wii_banner.html#a8c5274e75167bf1f10af48b827707cd6">permissions</a>);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; atUint8 <a class="code" href="class_athena_1_1_wii_banner.html#a8c5274e75167bf1f10af48b827707cd6">permissions</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_banner.html#ae582bd37fb946ea968c2d0adb86cfec7">setFlags</a>(atUint32 <a class="code" href="class_athena_1_1_wii_banner.html#aed33ea4d676f5e0c52c551c369ee36f7">flags</a>);</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; atUint32 <a class="code" href="class_athena_1_1_wii_banner.html#aed33ea4d676f5e0c52c551c369ee36f7">flags</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; atUint64 m_gameId;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <a class="code" href="class_athena_1_1_wii_image.html">WiiImage</a>* m_banner;</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; atUint32 m_animSpeed;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; atUint8 m_permissions;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; atUint32 m_flags;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; atUint32 m_bannerSize;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; std::vector&lt;WiiImage*&gt; m_icons;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; std::string m_title;</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; std::string m_subtitle;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;};</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;<span class="preprocessor">#endif // WIIBANNER_H</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_aed33ea4d676f5e0c52c551c369ee36f7"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#aed33ea4d676f5e0c52c551c369ee36f7">Athena::WiiBanner::flags</a></div><div class="ttdeci">atUint32 flags() const </div><div class="ttdoc">flags </div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html"><div class="ttname"><a href="class_athena_1_1_wii_image.html">Athena::WiiImage</a></div><div class="ttdoc">The WiiImage class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_image_8hpp_source.html#l00028">WiiImage.hpp:28</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_a2a6c5ab568f3268673097b3e1651360f"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#a2a6c5ab568f3268673097b3e1651360f">Athena::WiiBanner::setGameID</a></div><div class="ttdeci">void setGameID(atUint64 id)</div><div class="ttdoc">setGameID </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_a521e1b1d31ee53a894e27641fee41083"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#a521e1b1d31ee53a894e27641fee41083">Athena::WiiBanner::title</a></div><div class="ttdeci">std::string title() const </div><div class="ttdoc">title </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_ae582bd37fb946ea968c2d0adb86cfec7"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#ae582bd37fb946ea968c2d0adb86cfec7">Athena::WiiBanner::setFlags</a></div><div class="ttdeci">void setFlags(atUint32 flags)</div><div class="ttdoc">setFlags </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html"><div class="ttname"><a href="class_athena_1_1_wii_banner.html">Athena::WiiBanner</a></div><div class="ttdoc">Wii banner container class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_banner_8hpp_source.html#l00033">WiiBanner.hpp:33</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_aaa3ca62533f98af53d6dc7195a1f4947"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#aaa3ca62533f98af53d6dc7195a1f4947">Athena::WiiBanner::gameID</a></div><div class="ttdeci">atUint64 gameID() const </div><div class="ttdoc">gameID </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_a3d760dd62e49462e680e332ad0098d29"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#a3d760dd62e49462e680e332ad0098d29">Athena::WiiBanner::setAnimationSpeed</a></div><div class="ttdeci">void setAnimationSpeed(atUint16 animSpeed)</div><div class="ttdoc">setAnimationSpeed </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_ad0dd0baa53d9d251cbf62d2d1bd5a6a2"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#ad0dd0baa53d9d251cbf62d2d1bd5a6a2">Athena::WiiBanner::setBannerImage</a></div><div class="ttdeci">void setBannerImage(WiiImage *banner)</div><div class="ttdoc">setBannerImage </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_aa87e321d71bcd55e233a8369c42057ab"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#aa87e321d71bcd55e233a8369c42057ab">Athena::WiiBanner::setSubtitle</a></div><div class="ttdeci">void setSubtitle(const std::string &amp;subtitle)</div><div class="ttdoc">setSubtitle </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_abfce662b38f678b3c03dfe0e472a2078"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#abfce662b38f678b3c03dfe0e472a2078">Athena::WiiBanner::getIcon</a></div><div class="ttdeci">WiiImage * getIcon(atUint32 id) const </div><div class="ttdoc">getIcon </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_ae41c6fa4c470fcface89a2bd9e1a3092"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#ae41c6fa4c470fcface89a2bd9e1a3092">Athena::WiiBanner::setPermissions</a></div><div class="ttdeci">void setPermissions(atUint8 permissions)</div><div class="ttdoc">setPermissions </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_aa64956915ff70482e1c42bbd4bd1120c"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#aa64956915ff70482e1c42bbd4bd1120c">Athena::WiiBanner::addIcon</a></div><div class="ttdeci">void addIcon(WiiImage *icon)</div><div class="ttdoc">addIcon </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_a521c41b7e9d810fc8be7f06c5ad64490"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#a521c41b7e9d810fc8be7f06c5ad64490">Athena::WiiBanner::setIcon</a></div><div class="ttdeci">void setIcon(atUint32 id, WiiImage *icon)</div><div class="ttdoc">setIcon </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_a2e2ab033f02da5d5faa0dadc310781af"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#a2e2ab033f02da5d5faa0dadc310781af">Athena::WiiBanner::animationSpeed</a></div><div class="ttdeci">atUint16 animationSpeed() const </div><div class="ttdoc">animationSpeed </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_a8c5274e75167bf1f10af48b827707cd6"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#a8c5274e75167bf1f10af48b827707cd6">Athena::WiiBanner::permissions</a></div><div class="ttdeci">atUint8 permissions() const </div><div class="ttdoc">permissions </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_afefa7cbbd85e768d7ab9fa54d9576cd8"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#afefa7cbbd85e768d7ab9fa54d9576cd8">Athena::WiiBanner::setTitle</a></div><div class="ttdeci">void setTitle(const std::string &amp;title)</div><div class="ttdoc">setTitle </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_a29f0255172db477ad5a13cf43a26036f"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#a29f0255172db477ad5a13cf43a26036f">Athena::WiiBanner::bannerSize</a></div><div class="ttdeci">atUint32 bannerSize() const </div><div class="ttdoc">bannerSize </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_a01482d71a940b4e60b8e20501fde1de0"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#a01482d71a940b4e60b8e20501fde1de0">Athena::WiiBanner::icons</a></div><div class="ttdeci">std::vector&lt; WiiImage * &gt; icons() const </div><div class="ttdoc">icons </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_aeda9ea65eaf2253f37a525177446b54c"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#aeda9ea65eaf2253f37a525177446b54c">Athena::WiiBanner::subtitle</a></div><div class="ttdeci">std::string subtitle() const </div><div class="ttdoc">subtitle </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_acffe5d1fb1b25ce464e2f7f84f1c7e5c"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#acffe5d1fb1b25ce464e2f7f84f1c7e5c">Athena::WiiBanner::setBannerSize</a></div><div class="ttdeci">void setBannerSize(atUint32 size)</div><div class="ttdoc">setBannerSize </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_a600a5cc07c4a9f57ff5eb1ab7cae5291"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#a600a5cc07c4a9f57ff5eb1ab7cae5291">Athena::WiiBanner::WiiBanner</a></div><div class="ttdeci">WiiBanner()</div><div class="ttdoc">WiiBanner. </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html_aa8dd87d586b5314d4f003b826c035c5f"><div class="ttname"><a href="class_athena_1_1_wii_banner.html#aa8dd87d586b5314d4f003b826c035c5f">Athena::WiiBanner::bannerImage</a></div><div class="ttdeci">WiiImage * bannerImage() const </div><div class="ttdoc">bannerImage </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>WiiBanner.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,267 @@
<!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.9.1"/>
<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 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.9.1 -->
<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><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&#160;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>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef WIIFILE_H</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define WIIFILE_H</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</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">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="l00028"></a><span class="lineno"> 28</span>&#160;<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="l00029"></a><span class="lineno"> 29</span>&#160;<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="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_athena_1_1_wii_file.html"> 36</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435"> 44</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435">Permission</a></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; {</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; OtherRead = 0x01,</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; OtherWrite = 0x02,</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; GroupRead = 0x04,</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; GroupWrite = 0x08,</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; OwnerRead = 0x10,</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; OwnerWrite = 0x20,</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="comment">// Mask values;</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435a7deded3341ff1d1bfba1991a983188a9"> 54</a></span>&#160; <a class="code" href="class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435a7deded3341ff1d1bfba1991a983188a9">OtherRW</a> = (OtherRead | OtherWrite), </div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; GroupRW = (GroupRead | GroupWrite),</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; OwnerRW = (OwnerRead | OwnerWrite)</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; };</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_athena_1_1_wii_file.html#ae16c396a2f657996e38e0989ec603a04"> 62</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_athena_1_1_wii_file.html#ae16c396a2f657996e38e0989ec603a04">Type</a></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; {</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; File = 0x01,</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; Directory = 0x02</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; };</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>();</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1_wii_file.html#aef87b988fb69797899fb38e6f5a50091">filename</a>);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1_wii_file.html#aef87b988fb69797899fb38e6f5a50091">filename</a>, atUint8 <a class="code" href="class_athena_1_1_wii_file.html#a9782153e5edeeb5045a22fdee0fb984e">permissions</a>, <span class="keyword">const</span> atUint8* <a class="code" href="class_athena_1_1_wii_file.html#af5d7e72f71fc5e92772406d8f389d0bf">data</a>, atUint32 <a class="code" href="class_athena_1_1_wii_file.html#ac70e38e40d509b790374e170b605dc33">length</a>);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>();</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_file.html#ad30c6648ca01e630d2a8c898e55f1099">setFilename</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1_wii_file.html#aef87b988fb69797899fb38e6f5a50091">filename</a>);</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; std::string <a class="code" href="class_athena_1_1_wii_file.html#aef87b988fb69797899fb38e6f5a50091">filename</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_file.html#a77439b450d5b627eba963ed693f87f0d">setData</a>(<span class="keyword">const</span> atUint8* <a class="code" href="class_athena_1_1_wii_file.html#af5d7e72f71fc5e92772406d8f389d0bf">data</a>);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; atUint8* <a class="code" href="class_athena_1_1_wii_file.html#af5d7e72f71fc5e92772406d8f389d0bf">data</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_file.html#a9c3b6be0eab15f9ffbeefec5689c14b5">setLength</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_athena_1_1_wii_file.html#ac70e38e40d509b790374e170b605dc33">length</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_file.html#af830d16ebbb0d3a4974c3f813dadbf64">setPermissions</a>(<span class="keyword">const</span> atUint8 <a class="code" href="class_athena_1_1_wii_file.html#a9782153e5edeeb5045a22fdee0fb984e">permissions</a>);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; atUint8 <a class="code" href="class_athena_1_1_wii_file.html#a9782153e5edeeb5045a22fdee0fb984e">permissions</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_file.html#aa5e887221ff8b8d0697ee2a4031a523f">setAttributes</a>(<span class="keyword">const</span> atUint8 attr);</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; atUint8 <a class="code" href="class_athena_1_1_wii_file.html#aee48f6bcdb9615b5d18f4ebf70521acd">attributes</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_file.html#a737d1a3da2a0776e8692882e89373faf">setType</a>(<a class="code" href="class_athena_1_1_wii_file.html#ae16c396a2f657996e38e0989ec603a04">Type</a> <a class="code" href="class_athena_1_1_wii_file.html#adb725141d2bac6522054b89287239af3">type</a>);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html#ae16c396a2f657996e38e0989ec603a04">Type</a> <a class="code" href="class_athena_1_1_wii_file.html#adb725141d2bac6522054b89287239af3">type</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1_wii_file.html#ac10ed089b0660a06f97987a6d5555f83">isDirectory</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1_wii_file.html#a648f21359cc7fc0c98880173d82a5da1">isFile</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_file.html#a3d53ba64b47030dca3e89b63566dd39b">addChild</a>(<a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* file);</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; std::vector&lt;WiiFile*&gt; <a class="code" href="class_athena_1_1_wii_file.html#a70b0f36d70782cd55027d23778766e9f">children</a>();</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* <a class="code" href="class_athena_1_1_wii_file.html#aad1aec191cac78fc99efe47bb68cbd55">child</a>(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_file.html#a5c1aa8b95d6c7e7814c082465dae29dd">removeChild</a>(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_file.html#a5c1aa8b95d6c7e7814c082465dae29dd">removeChild</a>(<a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* file);</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* <a class="code" href="class_athena_1_1_wii_file.html#a9097a8a0f0a13fe056a6a0b27c6362ca">parent</a>();</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_file.html#a37eff96e61a8af44627f0d064d048c83">setParent</a>(<a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* <a class="code" href="class_athena_1_1_wii_file.html#a9097a8a0f0a13fe056a6a0b27c6362ca">parent</a>);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; atUint32 <a class="code" href="class_athena_1_1_wii_file.html#ae759d586049e9b3313dad5f045eb193b">fileCount</a>();</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; std::vector&lt;WiiFile*&gt; <a class="code" href="class_athena_1_1_wii_file.html#ad4a3eed2dfb51b6a4db2d906479563be">allChildren</a>();</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; std::string <a class="code" href="class_athena_1_1_wii_file.html#a6f83f8ab2938acc3cc65b802bd54db39">fullpath</a>();</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; atUint8 m_permissions;</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; atUint8 m_attributes;</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html#ae16c396a2f657996e38e0989ec603a04">Type</a> m_type;</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; std::string m_filename;</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keywordtype">int</span> m_fileLen;</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; atUint8* m_fileData;</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* m_parent;</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; std::vector&lt;WiiFile*&gt; m_children;</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160;};</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;<span class="preprocessor">#endif // WIIFILE_H</span></div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a6f83f8ab2938acc3cc65b802bd54db39"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a6f83f8ab2938acc3cc65b802bd54db39">Athena::WiiFile::fullpath</a></div><div class="ttdeci">std::string fullpath()</div><div class="ttdoc">fullpath </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_aad1aec191cac78fc99efe47bb68cbd55"><div class="ttname"><a href="class_athena_1_1_wii_file.html#aad1aec191cac78fc99efe47bb68cbd55">Athena::WiiFile::child</a></div><div class="ttdeci">WiiFile * child(const std::string &amp;name)</div><div class="ttdoc">child </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a77439b450d5b627eba963ed693f87f0d"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a77439b450d5b627eba963ed693f87f0d">Athena::WiiFile::setData</a></div><div class="ttdeci">void setData(const atUint8 *data)</div><div class="ttdoc">setData </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a5c1aa8b95d6c7e7814c082465dae29dd"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a5c1aa8b95d6c7e7814c082465dae29dd">Athena::WiiFile::removeChild</a></div><div class="ttdeci">void removeChild(const std::string &amp;name)</div><div class="ttdoc">removeChild </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_ace7bf25358be6dbd8f7f0029bcddf435"><div class="ttname"><a href="class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435">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#l00044">WiiFile.hpp:44</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_ae759d586049e9b3313dad5f045eb193b"><div class="ttname"><a href="class_athena_1_1_wii_file.html#ae759d586049e9b3313dad5f045eb193b">Athena::WiiFile::fileCount</a></div><div class="ttdeci">atUint32 fileCount()</div><div class="ttdoc">fileCount </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html"><div class="ttname"><a href="class_athena_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#l00036">WiiFile.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_ac10ed089b0660a06f97987a6d5555f83"><div class="ttname"><a href="class_athena_1_1_wii_file.html#ac10ed089b0660a06f97987a6d5555f83">Athena::WiiFile::isDirectory</a></div><div class="ttdeci">bool isDirectory() const </div><div class="ttdoc">isDirectory </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_aee48f6bcdb9615b5d18f4ebf70521acd"><div class="ttname"><a href="class_athena_1_1_wii_file.html#aee48f6bcdb9615b5d18f4ebf70521acd">Athena::WiiFile::attributes</a></div><div class="ttdeci">atUint8 attributes() const </div><div class="ttdoc">attributes </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a737d1a3da2a0776e8692882e89373faf"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a737d1a3da2a0776e8692882e89373faf">Athena::WiiFile::setType</a></div><div class="ttdeci">void setType(Type type)</div><div class="ttdoc">setType </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a648f21359cc7fc0c98880173d82a5da1"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a648f21359cc7fc0c98880173d82a5da1">Athena::WiiFile::isFile</a></div><div class="ttdeci">bool isFile() const </div><div class="ttdoc">isFile </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_aa5e887221ff8b8d0697ee2a4031a523f"><div class="ttname"><a href="class_athena_1_1_wii_file.html#aa5e887221ff8b8d0697ee2a4031a523f">Athena::WiiFile::setAttributes</a></div><div class="ttdeci">void setAttributes(const atUint8 attr)</div><div class="ttdoc">setAttributes </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_af830d16ebbb0d3a4974c3f813dadbf64"><div class="ttname"><a href="class_athena_1_1_wii_file.html#af830d16ebbb0d3a4974c3f813dadbf64">Athena::WiiFile::setPermissions</a></div><div class="ttdeci">void setPermissions(const atUint8 permissions)</div><div class="ttdoc">setPermissions </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a9c3b6be0eab15f9ffbeefec5689c14b5"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a9c3b6be0eab15f9ffbeefec5689c14b5">Athena::WiiFile::setLength</a></div><div class="ttdeci">void setLength(const int len)</div><div class="ttdoc">setLength </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_adb725141d2bac6522054b89287239af3"><div class="ttname"><a href="class_athena_1_1_wii_file.html#adb725141d2bac6522054b89287239af3">Athena::WiiFile::type</a></div><div class="ttdeci">Type type() const </div><div class="ttdoc">type </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_af5d7e72f71fc5e92772406d8f389d0bf"><div class="ttname"><a href="class_athena_1_1_wii_file.html#af5d7e72f71fc5e92772406d8f389d0bf">Athena::WiiFile::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">data </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a70b0f36d70782cd55027d23778766e9f"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a70b0f36d70782cd55027d23778766e9f">Athena::WiiFile::children</a></div><div class="ttdeci">std::vector&lt; WiiFile * &gt; children()</div><div class="ttdoc">children </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_ae16c396a2f657996e38e0989ec603a04"><div class="ttname"><a href="class_athena_1_1_wii_file.html#ae16c396a2f657996e38e0989ec603a04">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#l00062">WiiFile.hpp:62</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_ad4a3eed2dfb51b6a4db2d906479563be"><div class="ttname"><a href="class_athena_1_1_wii_file.html#ad4a3eed2dfb51b6a4db2d906479563be">Athena::WiiFile::allChildren</a></div><div class="ttdeci">std::vector&lt; WiiFile * &gt; allChildren()</div><div class="ttdoc">allChildren </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_ac70e38e40d509b790374e170b605dc33"><div class="ttname"><a href="class_athena_1_1_wii_file.html#ac70e38e40d509b790374e170b605dc33">Athena::WiiFile::length</a></div><div class="ttdeci">int length() const </div><div class="ttdoc">length </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_aef87b988fb69797899fb38e6f5a50091"><div class="ttname"><a href="class_athena_1_1_wii_file.html#aef87b988fb69797899fb38e6f5a50091">Athena::WiiFile::filename</a></div><div class="ttdeci">std::string filename() const </div><div class="ttdoc">filename </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_ace7bf25358be6dbd8f7f0029bcddf435a7deded3341ff1d1bfba1991a983188a9"><div class="ttname"><a href="class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435a7deded3341ff1d1bfba1991a983188a9">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#l00054">WiiFile.hpp:54</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a3d53ba64b47030dca3e89b63566dd39b"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a3d53ba64b47030dca3e89b63566dd39b">Athena::WiiFile::addChild</a></div><div class="ttdeci">void addChild(WiiFile *file)</div><div class="ttdoc">addChild </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a37eff96e61a8af44627f0d064d048c83"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a37eff96e61a8af44627f0d064d048c83">Athena::WiiFile::setParent</a></div><div class="ttdeci">void setParent(WiiFile *parent)</div><div class="ttdoc">setParent </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a9782153e5edeeb5045a22fdee0fb984e"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a9782153e5edeeb5045a22fdee0fb984e">Athena::WiiFile::permissions</a></div><div class="ttdeci">atUint8 permissions() const </div><div class="ttdoc">permissions </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_a9097a8a0f0a13fe056a6a0b27c6362ca"><div class="ttname"><a href="class_athena_1_1_wii_file.html#a9097a8a0f0a13fe056a6a0b27c6362ca">Athena::WiiFile::parent</a></div><div class="ttdeci">WiiFile * parent()</div><div class="ttdoc">parent </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html_ad30c6648ca01e630d2a8c898e55f1099"><div class="ttname"><a href="class_athena_1_1_wii_file.html#ad30c6648ca01e630d2a8c898e55f1099">Athena::WiiFile::setFilename</a></div><div class="ttdeci">void setFilename(const std::string &amp;filename)</div><div class="ttdoc">setFilename </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>WiiFile.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,187 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/WiiImage.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 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.9.1 -->
<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><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&#160;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_image_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">WiiImage.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef WIIIMAGE_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define WIIIMAGE_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/Types.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_athena_1_1_wii_image.html"> 28</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_wii_image.html">WiiImage</a></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="class_athena_1_1_wii_image.html#af514ce87e7fe70a2f9125e9ae92691a5">WiiImage</a>();</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="class_athena_1_1_wii_image.html#af514ce87e7fe70a2f9125e9ae92691a5">WiiImage</a>(atUint32 <a class="code" href="class_athena_1_1_wii_image.html#ab1c3a5da9b1ecaef363a4eb2831916a4">width</a>, atUint32 <a class="code" href="class_athena_1_1_wii_image.html#ab94c918baa501554cb8aa0795f5731ee">height</a>, atUint8* <a class="code" href="class_athena_1_1_wii_image.html#abffef764b9ee159a3eeb678bf89162f4">data</a>);</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="class_athena_1_1_wii_image.html#ab906be41a0268252606e012c09ce3645">~WiiImage</a>();</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_image.html#ad2ed550128122e54a7aeba513287b739">setWidth</a>(<span class="keyword">const</span> atUint32 width);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; atUint32 <a class="code" href="class_athena_1_1_wii_image.html#ab1c3a5da9b1ecaef363a4eb2831916a4">width</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_image.html#ab088377bcf6b850982d5a9e8f0d5cee1">setHeight</a>(<span class="keyword">const</span> atUint32 height);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; atUint32 <a class="code" href="class_athena_1_1_wii_image.html#ab94c918baa501554cb8aa0795f5731ee">height</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_image.html#ab5f9a592a19c17a4b7eb4d8f1b73ca74">setData</a>(<span class="keyword">const</span> atUint8* data);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; atUint8* <a class="code" href="class_athena_1_1_wii_image.html#abffef764b9ee159a3eeb678bf89162f4">data</a>();</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; atUint8* <a class="code" href="class_athena_1_1_wii_image.html#a0143822d84cb89e685849406d3fee098">toRGBA</a>();</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; atUint32 m_width;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; atUint32 m_height;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; atUint8* m_data;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;};</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="preprocessor">#endif // WIIIMAGE_HPP</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1_wii_image_html"><div class="ttname"><a href="class_athena_1_1_wii_image.html">Athena::WiiImage</a></div><div class="ttdoc">The WiiImage class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_image_8hpp_source.html#l00028">WiiImage.hpp:28</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html_ab1c3a5da9b1ecaef363a4eb2831916a4"><div class="ttname"><a href="class_athena_1_1_wii_image.html#ab1c3a5da9b1ecaef363a4eb2831916a4">Athena::WiiImage::width</a></div><div class="ttdeci">atUint32 width() const </div><div class="ttdoc">width </div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html_abffef764b9ee159a3eeb678bf89162f4"><div class="ttname"><a href="class_athena_1_1_wii_image.html#abffef764b9ee159a3eeb678bf89162f4">Athena::WiiImage::data</a></div><div class="ttdeci">atUint8 * data()</div><div class="ttdoc">data </div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html_a0143822d84cb89e685849406d3fee098"><div class="ttname"><a href="class_athena_1_1_wii_image.html#a0143822d84cb89e685849406d3fee098">Athena::WiiImage::toRGBA</a></div><div class="ttdeci">atUint8 * toRGBA()</div><div class="ttdoc">toRGBA </div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html_af514ce87e7fe70a2f9125e9ae92691a5"><div class="ttname"><a href="class_athena_1_1_wii_image.html#af514ce87e7fe70a2f9125e9ae92691a5">Athena::WiiImage::WiiImage</a></div><div class="ttdeci">WiiImage()</div><div class="ttdoc">WiiImage. </div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html_ab088377bcf6b850982d5a9e8f0d5cee1"><div class="ttname"><a href="class_athena_1_1_wii_image.html#ab088377bcf6b850982d5a9e8f0d5cee1">Athena::WiiImage::setHeight</a></div><div class="ttdeci">void setHeight(const atUint32 height)</div><div class="ttdoc">setHeight </div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html_ad2ed550128122e54a7aeba513287b739"><div class="ttname"><a href="class_athena_1_1_wii_image.html#ad2ed550128122e54a7aeba513287b739">Athena::WiiImage::setWidth</a></div><div class="ttdeci">void setWidth(const atUint32 width)</div><div class="ttdoc">setWidth </div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html_ab94c918baa501554cb8aa0795f5731ee"><div class="ttname"><a href="class_athena_1_1_wii_image.html#ab94c918baa501554cb8aa0795f5731ee">Athena::WiiImage::height</a></div><div class="ttdeci">atUint32 height() const </div><div class="ttdoc">height </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html_ab906be41a0268252606e012c09ce3645"><div class="ttname"><a href="class_athena_1_1_wii_image.html#ab906be41a0268252606e012c09ce3645">Athena::WiiImage::~WiiImage</a></div><div class="ttdeci">~WiiImage()</div><div class="ttdoc">~WiiImage </div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html_ab5f9a592a19c17a4b7eb4d8f1b73ca74"><div class="ttname"><a href="class_athena_1_1_wii_image.html#ab5f9a592a19c17a4b7eb4d8f1b73ca74">Athena::WiiImage::setData</a></div><div class="ttdeci">void setData(const atUint8 *data)</div><div class="ttdoc">setData </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>WiiImage.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,200 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/WiiSave.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 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.9.1 -->
<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><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&#160;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_save_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">WiiSave.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef WIISAVE_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define WIISAVE_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</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">class </span>WiiFile;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">class </span>WiiBanner;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">class </span>WiiImage;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">class </span><a class="code" href="class_binary_reader.html">BinaryReader</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">class </span><a class="code" href="class_binary_writer.html">BinaryWriter</a>;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_athena_1_1_wii_save.html"> 38</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_wii_save.html">WiiSave</a></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;{</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_athena_1_1_wii_save.html#aea23fdf6b851d29a8fb81bf8c647ebbb"> 45</a></span>&#160; <span class="keyword">typedef</span> std::unordered_map&lt;std::string, WiiFile*&gt;::const_iterator <a class="code" href="class_athena_1_1_wii_save.html#aea23fdf6b851d29a8fb81bf8c647ebbb">FileIterator</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="class_athena_1_1_wii_save.html#a2158f541c1749f619a37859af6eadf47">WiiSave</a>();</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_athena_1_1_wii_save.html#a740b8443a71e0307c41e9e100ac25ed7">~WiiSave</a>();</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_save.html#a59b713a72559b0a100bc52b0f12c014f">addFile</a>(<a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* <a class="code" href="class_athena_1_1_wii_save.html#a3c37a9b38bf207d93f87ca81874b4e05">file</a>);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordtype">void</span> setRoot(<a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* <a class="code" href="class_athena_1_1_wii_save.html#ac427c39ec1d18298a1cfa02c6150a700">root</a>);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* <a class="code" href="class_athena_1_1_wii_save.html#a3c37a9b38bf207d93f87ca81874b4e05">file</a>(<span class="keyword">const</span> std::string&amp; filename);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; atUint32 fileCount() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* <a class="code" href="class_athena_1_1_wii_save.html#ac427c39ec1d18298a1cfa02c6150a700">root</a>();</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_wii_save.html#afcfd02a55c7846e859f706e1378eedbd">setBanner</a>(<a class="code" href="class_athena_1_1_wii_banner.html">WiiBanner</a>* <a class="code" href="class_athena_1_1_wii_save.html#a7a10a9d75c6d1f12298939b2e679fa24">banner</a>);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="class_athena_1_1_wii_banner.html">WiiBanner</a>* <a class="code" href="class_athena_1_1_wii_save.html#a7a10a9d75c6d1f12298939b2e679fa24">banner</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; std::vector&lt;WiiFile*&gt; allFiles() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* m_root;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <a class="code" href="class_athena_1_1_wii_banner.html">WiiBanner</a>* m_banner;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;};</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="preprocessor">#endif // WIISAVE_HPP</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div>
<div class="ttc" id="class_athena_1_1_wii_save_html_aea23fdf6b851d29a8fb81bf8c647ebbb"><div class="ttname"><a href="class_athena_1_1_wii_save.html#aea23fdf6b851d29a8fb81bf8c647ebbb">Athena::WiiSave::FileIterator</a></div><div class="ttdeci">std::unordered_map&lt; std::string, WiiFile * &gt;::const_iterator FileIterator</div><div class="ttdoc">FileIterator. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_save_8hpp_source.html#l00045">WiiSave.hpp:45</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html"><div class="ttname"><a href="class_athena_1_1_wii_banner.html">Athena::WiiBanner</a></div><div class="ttdoc">Wii banner container class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_banner_8hpp_source.html#l00033">WiiBanner.hpp:33</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_save_html_a2158f541c1749f619a37859af6eadf47"><div class="ttname"><a href="class_athena_1_1_wii_save.html#a2158f541c1749f619a37859af6eadf47">Athena::WiiSave::WiiSave</a></div><div class="ttdeci">WiiSave()</div><div class="ttdoc">WiiSave. </div></div>
<div class="ttc" id="class_binary_writer_html"><div class="ttname"><a href="class_binary_writer.html">BinaryWriter</a></div><div class="ttdoc">A Stream class for writing binary data. </div></div>
<div class="ttc" id="class_athena_1_1_wii_save_html_a3c37a9b38bf207d93f87ca81874b4e05"><div class="ttname"><a href="class_athena_1_1_wii_save.html#a3c37a9b38bf207d93f87ca81874b4e05">Athena::WiiSave::file</a></div><div class="ttdeci">WiiFile * file(const std::string &amp;filename)</div><div class="ttdoc">file </div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html"><div class="ttname"><a href="class_athena_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#l00036">WiiFile.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_save_html_ac427c39ec1d18298a1cfa02c6150a700"><div class="ttname"><a href="class_athena_1_1_wii_save.html#ac427c39ec1d18298a1cfa02c6150a700">Athena::WiiSave::root</a></div><div class="ttdeci">WiiFile * root()</div><div class="ttdoc">fileList </div></div>
<div class="ttc" id="class_binary_reader_html"><div class="ttname"><a href="class_binary_reader.html">BinaryReader</a></div><div class="ttdoc">A Stream class for reading binary data. </div></div>
<div class="ttc" id="class_athena_1_1_wii_save_html_a59b713a72559b0a100bc52b0f12c014f"><div class="ttname"><a href="class_athena_1_1_wii_save.html#a59b713a72559b0a100bc52b0f12c014f">Athena::WiiSave::addFile</a></div><div class="ttdeci">void addFile(WiiFile *file)</div><div class="ttdoc">addFile </div></div>
<div class="ttc" id="class_athena_1_1_wii_save_html_a7a10a9d75c6d1f12298939b2e679fa24"><div class="ttname"><a href="class_athena_1_1_wii_save.html#a7a10a9d75c6d1f12298939b2e679fa24">Athena::WiiSave::banner</a></div><div class="ttdeci">WiiBanner * banner() const </div><div class="ttdoc">banner </div></div>
<div class="ttc" id="class_athena_1_1_wii_save_html_afcfd02a55c7846e859f706e1378eedbd"><div class="ttname"><a href="class_athena_1_1_wii_save.html#afcfd02a55c7846e859f706e1378eedbd">Athena::WiiSave::setBanner</a></div><div class="ttdeci">void setBanner(WiiBanner *banner)</div><div class="ttdoc">setBanner </div></div>
<div class="ttc" id="class_athena_1_1_wii_save_html"><div class="ttname"><a href="class_athena_1_1_wii_save.html">Athena::WiiSave</a></div><div class="ttdoc">Wii data.bin container class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_save_8hpp_source.html#l00038">WiiSave.hpp:38</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_save_html_a740b8443a71e0307c41e9e100ac25ed7"><div class="ttname"><a href="class_athena_1_1_wii_save.html#a740b8443a71e0307c41e9e100ac25ed7">Athena::WiiSave::~WiiSave</a></div><div class="ttdeci">virtual ~WiiSave()</div><div class="ttdoc">~WiiSave </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>WiiSave.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,182 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/WiiSaveReader.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 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.9.1 -->
<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><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&#160;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_save_reader_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">WiiSaveReader.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef WIISAVEREADER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define WIISAVEREADER_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryReader.hpp&quot;</span></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="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">class </span>WiiSave;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span>WiiBanner;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">class </span>WiiFile;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">class </span>WiiImage;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;{</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_wii_save_reader.html"> 40</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_wii_save_reader.html">WiiSaveReader</a> : <span class="keyword">protected</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html">MemoryReader</a></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;{</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; MEMORYREADER_BASE();</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="class_athena_1_1io_1_1_wii_save_reader.html#a8073ea93406ee0b9d232699660bc9d19">WiiSaveReader</a>(<span class="keyword">const</span> atUint8*, atUint64);</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="class_athena_1_1io_1_1_wii_save_reader.html#a8073ea93406ee0b9d232699660bc9d19">WiiSaveReader</a>(<span class="keyword">const</span> std::string&amp;);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="class_athena_1_1_wii_save.html">WiiSave</a>* <a class="code" href="class_athena_1_1io_1_1_wii_save_reader.html#aceecae5dc205161ab2258962082bed9f">readSave</a>();</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <a class="code" href="class_athena_1_1_wii_banner.html">WiiBanner</a>* readBanner();</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* readFile();</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="class_athena_1_1_wii_image.html">WiiImage</a>* readImage(atUint32 width, atUint32 height);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordtype">void</span> readCerts(atUint32 totalSize);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* buildTree(std::vector&lt;WiiFile*&gt; files);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;};</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#endif // WIISAVEREADER_HPP</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1_wii_image_html"><div class="ttname"><a href="class_athena_1_1_wii_image.html">Athena::WiiImage</a></div><div class="ttdoc">The WiiImage class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_image_8hpp_source.html#l00028">WiiImage.hpp:28</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html"><div class="ttname"><a href="class_athena_1_1_wii_banner.html">Athena::WiiBanner</a></div><div class="ttdoc">Wii banner container class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_banner_8hpp_source.html#l00033">WiiBanner.hpp:33</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html"><div class="ttname"><a href="class_athena_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#l00036">WiiFile.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html">Athena::io::MemoryReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_reader_8hpp_source.html#l00035">MemoryReader.hpp:35</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_save_html"><div class="ttname"><a href="class_athena_1_1_wii_save.html">Athena::WiiSave</a></div><div class="ttdoc">Wii data.bin container class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_save_8hpp_source.html#l00038">WiiSave.hpp:38</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_wii_save_reader_html_aceecae5dc205161ab2258962082bed9f"><div class="ttname"><a href="class_athena_1_1io_1_1_wii_save_reader.html#aceecae5dc205161ab2258962082bed9f">Athena::io::WiiSaveReader::readSave</a></div><div class="ttdeci">WiiSave * readSave()</div><div class="ttdoc">readSave </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_wii_save_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_wii_save_reader.html">Athena::io::WiiSaveReader</a></div><div class="ttdoc">Wii data.bin reader class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_save_reader_8hpp_source.html#l00040">WiiSaveReader.hpp:40</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_wii_save_reader_html_a8073ea93406ee0b9d232699660bc9d19"><div class="ttname"><a href="class_athena_1_1io_1_1_wii_save_reader.html#a8073ea93406ee0b9d232699660bc9d19">Athena::io::WiiSaveReader::WiiSaveReader</a></div><div class="ttdeci">WiiSaveReader(const atUint8 *, atUint64)</div><div class="ttdoc">This constructor takes an existing buffer to read from. </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>WiiSaveReader.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,181 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/WiiSaveWriter.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 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.9.1 -->
<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><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&#160;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_save_writer_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">WiiSaveWriter.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_SAVES</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef WIISAVEWRITER_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define WIISAVEWRITER_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryWriter.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">class </span>WiiSave;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">class </span>WiiBanner;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span>WiiFile;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">class </span>WiiImage;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_wii_save_writer.html"> 39</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_wii_save_writer.html">WiiSaveWriter</a> : <span class="keyword">protected</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html">MemoryWriter</a></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;{</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; MEMORYWRITER_BASE();</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="class_athena_1_1io_1_1_wii_save_writer.html#a488d116dcb435978d9b7d2fa0e0f03a7">WiiSaveWriter</a>(<span class="keyword">const</span> std::string&amp;);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_athena_1_1io_1_1_wii_save_writer.html#acd27a36bdb15eff2f00007fb5eb8a380">writeSave</a>(<a class="code" href="class_athena_1_1_wii_save.html">WiiSave</a>* <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#abc39ece257c97707017c20251e9e5ce7">save</a>, atUint8* macAddress, atUint32 ngId, atUint8* ngPriv, atUint8* ngSig, atUint32 ngKeyId, <span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ad2bb5d48bd85561af0ea2069ed14c9b7">filepath</a> = <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">void</span> writeBanner(<a class="code" href="class_athena_1_1_wii_banner.html">WiiBanner</a>* banner);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; atUint32 writeFile(<a class="code" href="class_athena_1_1_wii_file.html">WiiFile</a>* file);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">void</span> writeImage(<a class="code" href="class_athena_1_1_wii_image.html">WiiImage</a>* image);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordtype">void</span> writeCerts(atUint32 filesSize, atUint32 ngId, atUint8* ngPriv, atUint8* ngSig, atUint32 ngKeyId);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;};</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#endif // WIISAVEWRITER_HPP</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_SAVES</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_wii_save_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_wii_save_writer.html">Athena::io::WiiSaveWriter</a></div><div class="ttdoc">Wii data.bin writer class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_save_writer_8hpp_source.html#l00039">WiiSaveWriter.hpp:39</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_image_html"><div class="ttname"><a href="class_athena_1_1_wii_image.html">Athena::WiiImage</a></div><div class="ttdoc">The WiiImage class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_image_8hpp_source.html#l00028">WiiImage.hpp:28</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_ad2bb5d48bd85561af0ea2069ed14c9b7"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#ad2bb5d48bd85561af0ea2069ed14c9b7">Athena::io::MemoryWriter::filepath</a></div><div class="ttdeci">std::string filepath() const </div><div class="ttdoc">Returns the target file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_abc39ece257c97707017c20251e9e5ce7"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#abc39ece257c97707017c20251e9e5ce7">Athena::io::MemoryWriter::save</a></div><div class="ttdeci">void save(const std::string &amp;filename=&quot;&quot;)</div><div class="ttdoc">Saves the file to the specified file. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_wii_save_writer_html_acd27a36bdb15eff2f00007fb5eb8a380"><div class="ttname"><a href="class_athena_1_1io_1_1_wii_save_writer.html#acd27a36bdb15eff2f00007fb5eb8a380">Athena::io::WiiSaveWriter::writeSave</a></div><div class="ttdeci">bool writeSave(WiiSave *save, atUint8 *macAddress, atUint32 ngId, atUint8 *ngPriv, atUint8 *ngSig, atUint32 ngKeyId, const std::string &amp;filepath=&quot;&quot;)</div><div class="ttdoc">writeSave </div></div>
<div class="ttc" id="class_athena_1_1_wii_banner_html"><div class="ttname"><a href="class_athena_1_1_wii_banner.html">Athena::WiiBanner</a></div><div class="ttdoc">Wii banner container class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_banner_8hpp_source.html#l00033">WiiBanner.hpp:33</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_file_html"><div class="ttname"><a href="class_athena_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#l00036">WiiFile.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html">Athena::io::MemoryWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_writer_8hpp_source.html#l00036">MemoryWriter.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1_wii_save_html"><div class="ttname"><a href="class_athena_1_1_wii_save.html">Athena::WiiSave</a></div><div class="ttdoc">Wii data.bin container class. </div><div class="ttdef"><b>Definition:</b> <a href="_wii_save_8hpp_source.html#l00038">WiiSave.hpp:38</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_wii_save_writer_html_a488d116dcb435978d9b7d2fa0e0f03a7"><div class="ttname"><a href="class_athena_1_1io_1_1_wii_save_writer.html#a488d116dcb435978d9b7d2fa0e0f03a7">Athena::io::WiiSaveWriter::WiiSaveWriter</a></div><div class="ttdeci">WiiSaveWriter(const std::string &amp;)</div><div class="ttdoc">This constructor creates an instance from a file on disk. </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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>WiiSaveWriter.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,259 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/ZQuestFile.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 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.9.1 -->
<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><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&#160;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('_z_quest_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">ZQuestFile.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_ZQUEST</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef ZQUEST_HPP</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define ZQUEST_HPP</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Athena/Global.hpp&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#define ZQUEST_VERSION_CHECK(major, minor, revision) \</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor"> (major | (minor &lt;&lt; 8) | (revision &lt;&lt; 16))</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html"> 33</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1_z_quest_file.html">ZQuestFile</a></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#adb8f9350b056b422271a376797f9ffd3"> 39</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_z_quest_file.html#adb8f9350b056b422271a376797f9ffd3">Major</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#adf2090c9f4e96671a67b439d547a37e5"> 43</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_z_quest_file.html#adf2090c9f4e96671a67b439d547a37e5">Minor</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#a605fe0473e8a478f57d0a7094dee20d2"> 47</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_z_quest_file.html#a605fe0473e8a478f57d0a7094dee20d2">Revision</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#a596bf7f03609d29d6dfc4651c3babde8"> 51</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_z_quest_file.html#a596bf7f03609d29d6dfc4651c3babde8">Version</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#a82f0f561595b2acc534ee5933b9aff1d"> 56</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="class_athena_1_1_z_quest_file.html#a82f0f561595b2acc534ee5933b9aff1d">Magic</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937"> 62</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; {</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937acd176244ba137b6b8d6085ad470a332d"> 64</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937acd176244ba137b6b8d6085ad470a332d">NoGame</a>, </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a25b108edb95202a40b9148421e477ad8"> 65</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a25b108edb95202a40b9148421e477ad8">LoZ</a>, </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a23688bdcd1a1dbbf4f2bdeaef86c1af1"> 66</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a23688bdcd1a1dbbf4f2bdeaef86c1af1">AoL</a>, </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937aaea6c30c08181cae09944af677b0a715"> 67</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937aaea6c30c08181cae09944af677b0a715">ALttP</a>, </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a4bb54f4fa00f9bf9ec3178aa53f964aa"> 68</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a4bb54f4fa00f9bf9ec3178aa53f964aa">LA</a>, </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a37693a7b465353ae0593bc6666190ac1"> 69</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a37693a7b465353ae0593bc6666190ac1">OoT</a>, </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a83a6d0fa9b3691858fc7d522cc4e91c1"> 70</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a83a6d0fa9b3691858fc7d522cc4e91c1">OoT3D</a>, </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac031509cf62b60a264aded1ac7d8165e"> 71</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac031509cf62b60a264aded1ac7d8165e">MM</a>, </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab381eea193dcad8435deac7a4e713884"> 72</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab381eea193dcad8435deac7a4e713884">OoS</a>, </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a9d18b23523f95dd3265f108ce51621e9"> 73</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a9d18b23523f95dd3265f108ce51621e9">OoA</a>, </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ae41af7ad3f725f4bbd082fccbe219b2a"> 74</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ae41af7ad3f725f4bbd082fccbe219b2a">FS</a>, </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad20e457dd99a1d0f35a973dccaff77ba"> 75</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad20e457dd99a1d0f35a973dccaff77ba">WW</a>, </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac33e03de60790459ab701c684d3f3d8f"> 76</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac33e03de60790459ab701c684d3f3d8f">FSA</a>, </div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab1af113c04a0c228ef044fce49d059ab"> 77</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab1af113c04a0c228ef044fce49d059ab">MC</a>, </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a50194fea3b394ec0b366465c26fe9031"> 78</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a50194fea3b394ec0b366465c26fe9031">TP</a>, </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a7bbe4794415db6843d2f0cab4d0e45fe"> 79</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a7bbe4794415db6843d2f0cab4d0e45fe">PH</a>, </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a47f4332532c012f5be606c3c9dba19b6"> 80</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a47f4332532c012f5be606c3c9dba19b6">ST</a>, </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab2037dd3a0faa6fb51dbd555bcac4a80"> 81</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab2037dd3a0faa6fb51dbd555bcac4a80">SS</a>, </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a3ec6c1d3392116de582ddacf20bb42d8"> 82</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a3ec6c1d3392116de582ddacf20bb42d8">ALBW</a>, </div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="comment">// Add more games here</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="comment">// This must always be last</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad73b4ae573d4ffa951d8aaab487b123d"> 86</a></span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad73b4ae573d4ffa951d8aaab487b123d">GameCount</a> </div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; };</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#a2ca4f36802ca0135c5a3d1337d9db11a">ZQuestFile</a>();</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#a2ca4f36802ca0135c5a3d1337d9db11a">ZQuestFile</a>(<a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a> <a class="code" href="class_athena_1_1_z_quest_file.html#adb943974ab381a96f624d2866a9a0e9e">game</a>, Endian <a class="code" href="class_athena_1_1_z_quest_file.html#ab6861f11b479821f26a06767667b01df">endian</a>, atUint8* <a class="code" href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">data</a>, atUint32 <a class="code" href="class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820">length</a>, <span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1_z_quest_file.html#a560b6ca1294259da6f4c532b18791dd4">gameString</a> = std::string());</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; ~<a class="code" href="class_athena_1_1_z_quest_file.html">ZQuestFile</a>();</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_z_quest_file.html#a1dd9626c499a01133e0caee9bb6d0b4c">setGame</a>(<a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a> game);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a> <a class="code" href="class_athena_1_1_z_quest_file.html#adb943974ab381a96f624d2866a9a0e9e">game</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_z_quest_file.html#afaaa1972f981332708eaf8f97a61a193">setEndian</a>(Endian endian);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; Endian <a class="code" href="class_athena_1_1_z_quest_file.html#ab6861f11b479821f26a06767667b01df">endian</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1_z_quest_file.html#ab9047c7699a20d2644bd3a66135a5da5">setData</a>(atUint8* data, atUint32 length);</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; atUint8* <a class="code" href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">data</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; atUint32 <a class="code" href="class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820">length</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordtype">void</span> setGameString(<span class="keyword">const</span> std::string&amp; <a class="code" href="class_athena_1_1_z_quest_file.html#a560b6ca1294259da6f4c532b18791dd4">gameString</a>);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; std::string <a class="code" href="class_athena_1_1_z_quest_file.html#a560b6ca1294259da6f4c532b18791dd4">gameString</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> std::vector&lt;std::string&gt; gameStringList();</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a> m_game;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; std::string m_gameString;</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; Endian m_endian;</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; atUint8* m_data;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; atUint32 m_length;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="comment">// Game strings support</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;};</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;<span class="preprocessor">#endif // ZQUEST_HPP</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_ZQUEST</span></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937ab1af113c04a0c228ef044fce49d059ab"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab1af113c04a0c228ef044fce49d059ab">Athena::ZQuestFile::MC</a></div><div class="ttdoc">Minish Cap. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00077">ZQuestFile.hpp:77</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_adb943974ab381a96f624d2866a9a0e9e"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#adb943974ab381a96f624d2866a9a0e9e">Athena::ZQuestFile::game</a></div><div class="ttdeci">Game game() const </div><div class="ttdoc">game </div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ab9047c7699a20d2644bd3a66135a5da5"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ab9047c7699a20d2644bd3a66135a5da5">Athena::ZQuestFile::setData</a></div><div class="ttdeci">void setData(atUint8 *data, atUint32 length)</div><div class="ttdoc">setData </div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937aaea6c30c08181cae09944af677b0a715"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937aaea6c30c08181cae09944af677b0a715">Athena::ZQuestFile::ALttP</a></div><div class="ttdoc">A Link to the Past. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00067">ZQuestFile.hpp:67</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937a47f4332532c012f5be606c3c9dba19b6"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a47f4332532c012f5be606c3c9dba19b6">Athena::ZQuestFile::ST</a></div><div class="ttdoc">Spirit Tracks. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00080">ZQuestFile.hpp:80</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_afaaa1972f981332708eaf8f97a61a193"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#afaaa1972f981332708eaf8f97a61a193">Athena::ZQuestFile::setEndian</a></div><div class="ttdeci">void setEndian(Endian endian)</div><div class="ttdoc">setEndian </div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_a2ca4f36802ca0135c5a3d1337d9db11a"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#a2ca4f36802ca0135c5a3d1337d9db11a">Athena::ZQuestFile::ZQuestFile</a></div><div class="ttdeci">ZQuestFile()</div><div class="ttdoc">ZQuest. </div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937ad73b4ae573d4ffa951d8aaab487b123d"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad73b4ae573d4ffa951d8aaab487b123d">Athena::ZQuestFile::GameCount</a></div><div class="ttdoc">Total number of supported games. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00086">ZQuestFile.hpp:86</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937ad20e457dd99a1d0f35a973dccaff77ba"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad20e457dd99a1d0f35a973dccaff77ba">Athena::ZQuestFile::WW</a></div><div class="ttdoc">Wind Waker. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00075">ZQuestFile.hpp:75</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_adf2090c9f4e96671a67b439d547a37e5"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#adf2090c9f4e96671a67b439d547a37e5">Athena::ZQuestFile::Minor</a></div><div class="ttdeci">static const atUint32 Minor</div><div class="ttdoc">The current minor version of the ZQuest format. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00043">ZQuestFile.hpp:43</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937acd176244ba137b6b8d6085ad470a332d"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937acd176244ba137b6b8d6085ad470a332d">Athena::ZQuestFile::NoGame</a></div><div class="ttdoc">None or Unsupported. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00064">ZQuestFile.hpp:64</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937ae41af7ad3f725f4bbd082fccbe219b2a"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ae41af7ad3f725f4bbd082fccbe219b2a">Athena::ZQuestFile::FS</a></div><div class="ttdoc">Four Swords. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00074">ZQuestFile.hpp:74</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937ac33e03de60790459ab701c684d3f3d8f"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac33e03de60790459ab701c684d3f3d8f">Athena::ZQuestFile::FSA</a></div><div class="ttdoc">Four Swords Adventures. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00076">ZQuestFile.hpp:76</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937ac031509cf62b60a264aded1ac7d8165e"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac031509cf62b60a264aded1ac7d8165e">Athena::ZQuestFile::MM</a></div><div class="ttdoc">Majora&#39;s Mask. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00071">ZQuestFile.hpp:71</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_a9056511b53ab3b967f7e1995c4ed6184"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">Athena::ZQuestFile::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">data </div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937ab381eea193dcad8435deac7a4e713884"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab381eea193dcad8435deac7a4e713884">Athena::ZQuestFile::OoS</a></div><div class="ttdoc">Oracle of Season. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00072">ZQuestFile.hpp:72</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937a23688bdcd1a1dbbf4f2bdeaef86c1af1"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a23688bdcd1a1dbbf4f2bdeaef86c1af1">Athena::ZQuestFile::AoL</a></div><div class="ttdoc">Adventure of Link. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00066">ZQuestFile.hpp:66</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937a9d18b23523f95dd3265f108ce51621e9"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a9d18b23523f95dd3265f108ce51621e9">Athena::ZQuestFile::OoA</a></div><div class="ttdoc">Oracle of Ages. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00073">ZQuestFile.hpp:73</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937a25b108edb95202a40b9148421e477ad8"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a25b108edb95202a40b9148421e477ad8">Athena::ZQuestFile::LoZ</a></div><div class="ttdoc">Legend of Zelda. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00065">ZQuestFile.hpp:65</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937ab2037dd3a0faa6fb51dbd555bcac4a80"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab2037dd3a0faa6fb51dbd555bcac4a80">Athena::ZQuestFile::SS</a></div><div class="ttdoc">Skyward Sword. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00081">ZQuestFile.hpp:81</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937a4bb54f4fa00f9bf9ec3178aa53f964aa"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a4bb54f4fa00f9bf9ec3178aa53f964aa">Athena::ZQuestFile::LA</a></div><div class="ttdoc">Links Awakening. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00068">ZQuestFile.hpp:68</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937a83a6d0fa9b3691858fc7d522cc4e91c1"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a83a6d0fa9b3691858fc7d522cc4e91c1">Athena::ZQuestFile::OoT3D</a></div><div class="ttdoc">Ocarina of Time 3D. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00070">ZQuestFile.hpp:70</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_adb8f9350b056b422271a376797f9ffd3"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#adb8f9350b056b422271a376797f9ffd3">Athena::ZQuestFile::Major</a></div><div class="ttdeci">static const atUint32 Major</div><div class="ttdoc">The current major version of the ZQuest format. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00039">ZQuestFile.hpp:39</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Athena::ZQuestFile::Game</a></div><div class="ttdeci">Game</div><div class="ttdoc">The list of games currently supported by ZQuest. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00062">ZQuestFile.hpp:62</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_a1dd9626c499a01133e0caee9bb6d0b4c"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#a1dd9626c499a01133e0caee9bb6d0b4c">Athena::ZQuestFile::setGame</a></div><div class="ttdeci">void setGame(Game game)</div><div class="ttdoc">setGame </div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_a596bf7f03609d29d6dfc4651c3babde8"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#a596bf7f03609d29d6dfc4651c3babde8">Athena::ZQuestFile::Version</a></div><div class="ttdeci">static const atUint32 Version</div><div class="ttdoc">The current version of the ZQuest format. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00051">ZQuestFile.hpp:51</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937a37693a7b465353ae0593bc6666190ac1"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a37693a7b465353ae0593bc6666190ac1">Athena::ZQuestFile::OoT</a></div><div class="ttdoc">Ocarin of Time. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00069">ZQuestFile.hpp:69</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937a50194fea3b394ec0b366465c26fe9031"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a50194fea3b394ec0b366465c26fe9031">Athena::ZQuestFile::TP</a></div><div class="ttdoc">Twilight Princess. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00078">ZQuestFile.hpp:78</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_a560b6ca1294259da6f4c532b18791dd4"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#a560b6ca1294259da6f4c532b18791dd4">Athena::ZQuestFile::gameString</a></div><div class="ttdeci">std::string gameString() const </div><div class="ttdoc">gameString </div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ab6861f11b479821f26a06767667b01df"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ab6861f11b479821f26a06767667b01df">Athena::ZQuestFile::endian</a></div><div class="ttdeci">Endian endian() const </div><div class="ttdoc">endian </div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937a7bbe4794415db6843d2f0cab4d0e45fe"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a7bbe4794415db6843d2f0cab4d0e45fe">Athena::ZQuestFile::PH</a></div><div class="ttdoc">Phantom Hourglass. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00079">ZQuestFile.hpp:79</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_a605fe0473e8a478f57d0a7094dee20d2"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#a605fe0473e8a478f57d0a7094dee20d2">Athena::ZQuestFile::Revision</a></div><div class="ttdeci">static const atUint32 Revision</div><div class="ttdoc">The current revision of the ZQuest format. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00047">ZQuestFile.hpp:47</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_a82f0f561595b2acc534ee5933b9aff1d"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#a82f0f561595b2acc534ee5933b9aff1d">Athena::ZQuestFile::Magic</a></div><div class="ttdeci">static const atUint32 Magic</div><div class="ttdoc">The magic number used to identify the file e.g. "ZQS1". </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00056">ZQuestFile.hpp:56</a></div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></div><div class="ttdoc">ZQuestFile is an export format for save data. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00033">ZQuestFile.hpp:33</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_aa9c08de974af9d8a99c07b1127a2d820"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820">Athena::ZQuestFile::length</a></div><div class="ttdeci">atUint32 length() const </div><div class="ttdoc">length </div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html_ad7b24d66ac0cba30eb80722c44c9c937a3ec6c1d3392116de582ddacf20bb42d8"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a3ec6c1d3392116de582ddacf20bb42d8">Athena::ZQuestFile::ALBW</a></div><div class="ttdoc">A Link Between Worlds. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00082">ZQuestFile.hpp:82</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>ZQuestFile.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,174 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/ZQuestFileReader.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 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.9.1 -->
<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><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&#160;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('_z_quest_file_reader_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">ZQuestFileReader.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_ZQUEST</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef __ZQUESTFILEREADER_HPP__</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define __ZQUESTFILEREADER_HPP__</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryReader.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">class </span>ZQuestFile;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_z_quest_file_reader.html"> 32</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_z_quest_file_reader.html">ZQuestFileReader</a> : <span class="keyword">protected</span> <a class="code" href="class_athena_1_1io_1_1_memory_reader.html">MemoryReader</a></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; MEMORYREADER_BASE();</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="class_athena_1_1io_1_1_z_quest_file_reader.html#a28b19dec63cf17e58139640ebbc5412e">ZQuestFileReader</a>(atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#abdcf5e4548ea7344d22e1dbf2dcd7d83">data</a>, atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_reader.html#a3e148f063ad3d711c6381a85d40930db">length</a>);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="class_athena_1_1io_1_1_z_quest_file_reader.html#a28b19dec63cf17e58139640ebbc5412e">ZQuestFileReader</a>(<span class="keyword">const</span> std::string&amp; filename);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="class_athena_1_1_z_quest_file.html">ZQuestFile</a>* <a class="code" href="class_athena_1_1io_1_1_z_quest_file_reader.html#ae040a9eabf76f1f80a8f1a5dd767d235">read</a>();</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;};</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="comment">// io</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;} <span class="comment">// zelda</span></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="preprocessor">#endif // __ZQUESTFILEREADER_HPP__</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_ZQUEST</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_a3e148f063ad3d711c6381a85d40930db"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#a3e148f063ad3d711c6381a85d40930db">Athena::io::MemoryReader::length</a></div><div class="ttdeci">atUint64 length() const </div><div class="ttdoc">Returns whether or not the stream is at the end. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_z_quest_file_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_z_quest_file_reader.html">Athena::io::ZQuestFileReader</a></div><div class="ttdoc">The ZQuestFileReader class. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_reader_8hpp_source.html#l00032">ZQuestFileReader.hpp:32</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html_abdcf5e4548ea7344d22e1dbf2dcd7d83"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html#abdcf5e4548ea7344d22e1dbf2dcd7d83">Athena::io::MemoryReader::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it&#39;s perfectly...</div></div>
<div class="ttc" id="class_athena_1_1io_1_1_z_quest_file_reader_html_a28b19dec63cf17e58139640ebbc5412e"><div class="ttname"><a href="class_athena_1_1io_1_1_z_quest_file_reader.html#a28b19dec63cf17e58139640ebbc5412e">Athena::io::ZQuestFileReader::ZQuestFileReader</a></div><div class="ttdeci">ZQuestFileReader(atUint8 *data, atUint64 length)</div><div class="ttdoc">ZQuestFileReader. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_reader_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_reader.html">Athena::io::MemoryReader</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_reader_8hpp_source.html#l00035">MemoryReader.hpp:35</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_z_quest_file_reader_html_ae040a9eabf76f1f80a8f1a5dd767d235"><div class="ttname"><a href="class_athena_1_1io_1_1_z_quest_file_reader.html#ae040a9eabf76f1f80a8f1a5dd767d235">Athena::io::ZQuestFileReader::read</a></div><div class="ttdeci">ZQuestFile * read()</div><div class="ttdoc">read </div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></div><div class="ttdoc">ZQuestFile is an export format for save data. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00033">ZQuestFile.hpp:33</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>ZQuestFileReader.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,173 @@
<!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.9.1"/>
<title>Athena IO Library: include/Athena/ZQuestFileWriter.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 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.9.1 -->
<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><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&#160;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('_z_quest_file_writer_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">ZQuestFileWriter.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ATHENA_NO_ZQUEST</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// This file is part of libAthena.</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">// libAthena 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 as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// along with libAthena. If not, see &lt;http://www.gnu.org/licenses/&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef __ZQUESTFILEWRITER_HPP__</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define __ZQUESTFILEWRITER_HPP__</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;Athena/MemoryWriter.hpp&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_athena.html">Athena</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">class </span>ZQuestFile;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_athena_1_1io_1_1_z_quest_file_writer.html"> 32</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_athena_1_1io_1_1_z_quest_file_writer.html">ZQuestFileWriter</a> : <span class="keyword">protected</span> <a class="code" href="class_athena_1_1io_1_1_memory_writer.html">MemoryWriter</a></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; MEMORYWRITER_BASE();</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="class_athena_1_1io_1_1_z_quest_file_writer.html#a149f3b3607141aaa6a1f08500da6d0a7">ZQuestFileWriter</a>(atUint8* <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">data</a>, atUint64 <a class="code" href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">length</a>);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="class_athena_1_1io_1_1_z_quest_file_writer.html#a149f3b3607141aaa6a1f08500da6d0a7">ZQuestFileWriter</a>(<span class="keyword">const</span> std::string&amp; filename);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_athena_1_1io_1_1_z_quest_file_writer.html#a37360c0cf8a045c81bca2d8764142481">write</a>(<a class="code" href="class_athena_1_1_z_quest_file.html">ZQuestFile</a>* quest, <span class="keywordtype">bool</span> compress = <span class="keyword">true</span>);</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;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;} <span class="comment">// io</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;} <span class="comment">// zelda</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor">#endif // __ZQUESTFILEWRITER_HPP__</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#endif // ATHENA_NO_ZQUEST</span></div>
<div class="ttc" id="class_athena_1_1io_1_1_z_quest_file_writer_html_a37360c0cf8a045c81bca2d8764142481"><div class="ttname"><a href="class_athena_1_1io_1_1_z_quest_file_writer.html#a37360c0cf8a045c81bca2d8764142481">Athena::io::ZQuestFileWriter::write</a></div><div class="ttdeci">void write(ZQuestFile *quest, bool compress=true)</div><div class="ttdoc">write </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_z_quest_file_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_z_quest_file_writer.html">Athena::io::ZQuestFileWriter</a></div><div class="ttdoc">The ZQuestFileWriter class. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_writer_8hpp_source.html#l00032">ZQuestFileWriter.hpp:32</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_ac971745b70a796b1747a81fff1de5257"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257">Athena::io::MemoryWriter::length</a></div><div class="ttdeci">atUint64 length() const </div><div class="ttdoc">Returns whether or not the stream is at the end. </div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html">Athena::io::MemoryWriter</a></div><div class="ttdef"><b>Definition:</b> <a href="_memory_writer_8hpp_source.html#l00036">MemoryWriter.hpp:36</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_memory_writer_html_accd127e370fb1bb89d19bb96c90dfa76"><div class="ttname"><a href="class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76">Athena::io::MemoryWriter::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it&#39;s perfectly...</div></div>
<div class="ttc" id="namespace_athena_html"><div class="ttname"><a href="namespace_athena.html">Athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00023">ALTTPEnums.hpp:23</a></div></div>
<div class="ttc" id="class_athena_1_1io_1_1_z_quest_file_writer_html_a149f3b3607141aaa6a1f08500da6d0a7"><div class="ttname"><a href="class_athena_1_1io_1_1_z_quest_file_writer.html#a149f3b3607141aaa6a1f08500da6d0a7">Athena::io::ZQuestFileWriter::ZQuestFileWriter</a></div><div class="ttdeci">ZQuestFileWriter(atUint8 *data, atUint64 length)</div><div class="ttdoc">ZQuestFileWriter. </div></div>
<div class="ttc" id="class_athena_1_1_z_quest_file_html"><div class="ttname"><a href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></div><div class="ttdoc">ZQuestFile is an export format for save data. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00033">ZQuestFile.hpp:33</a></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_36438bcfc3b83360d27b8f0de6102cf6.html">Athena</a></li><li class="navelem"><b>ZQuestFileWriter.hpp</b></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

187
docs/annotated.html Normal file
View File

@ -0,0 +1,187 @@
<!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.9.1"/>
<title>Athena IO Library: Class List</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 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.9.1 -->
<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 class="current"><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('annotated.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">Class List</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span><span onclick="javascript:toggleLevel(3);">3</span>]</div><table class="directory">
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><b>Athena</b></td><td class="desc"></td></tr>
<tr id="row_0_0_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_0_" class="arrow" onclick="toggleFolder('0_0_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><b>error</b></td><td class="desc"></td></tr>
<tr id="row_0_0_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1error_1_1_exception.html" target="_self">Exception</a></td><td class="desc">The baseclass for all Exceptions </td></tr>
<tr id="row_0_0_1_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1error_1_1_file_not_found_exception.html" target="_self">FileNotFoundException</a></td><td class="desc">An excpeption thrown when a file could not be found at the given path </td></tr>
<tr id="row_0_0_2_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1error_1_1_invalid_data_exception.html" target="_self">InvalidDataException</a></td><td class="desc">An exception thrown on Invalid Data calls </td></tr>
<tr id="row_0_0_3_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1error_1_1_invalid_operation_exception.html" target="_self">InvalidOperationException</a></td><td class="desc">An excpeption thrown on Invalid Operations calls </td></tr>
<tr id="row_0_0_4_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1error_1_1_i_o_exception.html" target="_self">IOException</a></td><td class="desc">An excpeption thrown on inappropriate IO calls </td></tr>
<tr id="row_0_0_5_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1error_1_1_not_implemented_exception.html" target="_self">NotImplementedException</a></td><td class="desc"></td></tr>
<tr id="row_0_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_1_" class="arrow" onclick="toggleFolder('0_1_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><b>io</b></td><td class="desc"></td></tr>
<tr id="row_0_1_0_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html" target="_self">ALTTPFileReader</a></td><td class="desc">A Link to the Past save data reader class </td></tr>
<tr id="row_0_1_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html" target="_self">ALTTPFileWriter</a></td><td class="desc">A Link to the Past save data writer class </td></tr>
<tr id="row_0_1_2_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_file_reader.html" target="_self">FileReader</a></td><td class="desc"></td></tr>
<tr id="row_0_1_3_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_file_writer.html" target="_self">FileWriter</a></td><td class="desc"></td></tr>
<tr id="row_0_1_4_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_i_stream.html" target="_self">IStream</a></td><td class="desc"></td></tr>
<tr id="row_0_1_5_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_i_stream_reader.html" target="_self">IStreamReader</a></td><td class="desc"></td></tr>
<tr id="row_0_1_6_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_i_stream_writer.html" target="_self">IStreamWriter</a></td><td class="desc"></td></tr>
<tr id="row_0_1_7_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_m_c_file_reader.html" target="_self">MCFileReader</a></td><td class="desc">The Minish Cap Save save data reader class </td></tr>
<tr id="row_0_1_8_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_m_c_file_writer.html" target="_self">MCFileWriter</a></td><td class="desc">The Minish Cap Save save data writer class </td></tr>
<tr id="row_0_1_9_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_memory_reader.html" target="_self">MemoryReader</a></td><td class="desc"></td></tr>
<tr id="row_0_1_10_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_memory_writer.html" target="_self">MemoryWriter</a></td><td class="desc"></td></tr>
<tr id="row_0_1_11_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_skyward_sword_file_reader.html" target="_self">SkywardSwordFileReader</a></td><td class="desc"></td></tr>
<tr id="row_0_1_12_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_skyward_sword_file_writer.html" target="_self">SkywardSwordFileWriter</a></td><td class="desc"></td></tr>
<tr id="row_0_1_13_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_sprite_file_reader.html" target="_self">SpriteFileReader</a></td><td class="desc"></td></tr>
<tr id="row_0_1_14_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_sprite_file_writer.html" target="_self">SpriteFileWriter</a></td><td class="desc"></td></tr>
<tr id="row_0_1_15_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_wii_save_reader.html" target="_self">WiiSaveReader</a></td><td class="desc">Wii data.bin reader class </td></tr>
<tr id="row_0_1_16_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_wii_save_writer.html" target="_self">WiiSaveWriter</a></td><td class="desc">Wii data.bin writer class </td></tr>
<tr id="row_0_1_17_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_z_quest_file_reader.html" target="_self">ZQuestFileReader</a></td><td class="desc">The <a class="el" href="class_athena_1_1io_1_1_z_quest_file_reader.html" title="The ZQuestFileReader class. ">ZQuestFileReader</a> class </td></tr>
<tr id="row_0_1_18_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1io_1_1_z_quest_file_writer.html" target="_self">ZQuestFileWriter</a></td><td class="desc">The <a class="el" href="class_athena_1_1io_1_1_z_quest_file_writer.html" title="The ZQuestFileWriter class. ">ZQuestFileWriter</a> class </td></tr>
<tr id="row_0_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_2_" class="arrow" onclick="toggleFolder('0_2_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><b>Sakura</b></td><td class="desc"></td></tr>
<tr id="row_0_2_0_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html" target="_self">Sprite</a></td><td class="desc"></td></tr>
<tr id="row_0_2_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_sakura_1_1_sprite_file.html" target="_self">SpriteFile</a></td><td class="desc"></td></tr>
<tr id="row_0_2_2_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_sakura_1_1_sprite_frame.html" target="_self">SpriteFrame</a></td><td class="desc"></td></tr>
<tr id="row_0_2_3_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_sakura_1_1_sprite_part.html" target="_self">SpritePart</a></td><td class="desc"></td></tr>
<tr id="row_0_2_4_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_sakura_1_1_s_texture.html" target="_self">STexture</a></td><td class="desc"></td></tr>
<tr id="row_0_2_5_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_sakura_1_1_vector2_d.html" target="_self">Vector2D</a></td><td class="desc"></td></tr>
<tr id="row_0_3_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_abilities.html" target="_self">ALTTPAbilities</a></td><td class="desc"></td></tr>
<tr id="row_0_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_crystals.html" target="_self">ALTTPCrystals</a></td><td class="desc"></td></tr>
<tr id="row_0_5_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html" target="_self">ALTTPDungeonItemFlags</a></td><td class="desc"></td></tr>
<tr id="row_0_6_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html" target="_self">ALTTPFile</a></td><td class="desc">A Link to the Past data container class class </td></tr>
<tr id="row_0_7_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_inventory.html" target="_self">ALTTPInventory</a></td><td class="desc"></td></tr>
<tr id="row_0_8_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html" target="_self">ALTTPLightDarkWorldIndicator</a></td><td class="desc"></td></tr>
<tr id="row_0_9_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_magic_usage.html" target="_self">ALTTPMagicUsage</a></td><td class="desc"></td></tr>
<tr id="row_0_10_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_overworld_event.html" target="_self">ALTTPOverworldEvent</a></td><td class="desc"></td></tr>
<tr id="row_0_11_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_pendants.html" target="_self">ALTTPPendants</a></td><td class="desc"></td></tr>
<tr id="row_0_12_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_progress_flags1.html" target="_self">ALTTPProgressFlags1</a></td><td class="desc"></td></tr>
<tr id="row_0_13_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_progress_flags2.html" target="_self">ALTTPProgressFlags2</a></td><td class="desc"></td></tr>
<tr id="row_0_14_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html" target="_self">ALTTPQuest</a></td><td class="desc">A Link to the Past Quest container class </td></tr>
<tr id="row_0_15_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_athena_1_1_a_l_t_t_p_room_flags.html" target="_self">ALTTPRoomFlags</a></td><td class="desc"></td></tr>
<tr id="row_0_16_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_dir.html" target="_self">Dir</a></td><td class="desc"></td></tr>
<tr id="row_0_17_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_file_info.html" target="_self">FileInfo</a></td><td class="desc"></td></tr>
<tr id="row_0_18_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_m_c_file.html" target="_self">MCFile</a></td><td class="desc">The Minish Cap data container class class </td></tr>
<tr id="row_0_19_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_m_c_slot.html" target="_self">MCSlot</a></td><td class="desc"></td></tr>
<tr id="row_0_20_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_skyward_sword_file.html" target="_self">SkywardSwordFile</a></td><td class="desc"></td></tr>
<tr id="row_0_21_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_skyward_sword_quest.html" target="_self">SkywardSwordQuest</a></td><td class="desc"></td></tr>
<tr id="row_0_22_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_wii_banner.html" target="_self">WiiBanner</a></td><td class="desc">Wii banner container class </td></tr>
<tr id="row_0_23_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_wii_file.html" target="_self">WiiFile</a></td><td class="desc">Wii file container class </td></tr>
<tr id="row_0_24_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_wii_image.html" target="_self">WiiImage</a></td><td class="desc">The <a class="el" href="class_athena_1_1_wii_image.html" title="The WiiImage class. ">WiiImage</a> class </td></tr>
<tr id="row_0_25_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_wii_save.html" target="_self">WiiSave</a></td><td class="desc">Wii data.bin container class </td></tr>
<tr id="row_0_26_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_athena_1_1_z_quest_file.html" target="_self">ZQuestFile</a></td><td class="desc"><a class="el" href="class_athena_1_1_z_quest_file.html" title="ZQuestFile is an export format for save data. ">ZQuestFile</a> is an export format for save data </td></tr>
<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_binary_reader.html" target="_self">BinaryReader</a></td><td class="desc">A Stream class for reading binary data </td></tr>
<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_binary_writer.html" target="_self">BinaryWriter</a></td><td class="desc">A Stream class for writing binary data </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Thu May 21 2015 01:59:44 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

68
docs/annotated.js Normal file
View File

@ -0,0 +1,68 @@
var annotated =
[
[ "Athena", null, [
[ "error", null, [
[ "Exception", "class_athena_1_1error_1_1_exception.html", "class_athena_1_1error_1_1_exception" ],
[ "FileNotFoundException", "class_athena_1_1error_1_1_file_not_found_exception.html", "class_athena_1_1error_1_1_file_not_found_exception" ],
[ "InvalidDataException", "class_athena_1_1error_1_1_invalid_data_exception.html", "class_athena_1_1error_1_1_invalid_data_exception" ],
[ "InvalidOperationException", "class_athena_1_1error_1_1_invalid_operation_exception.html", "class_athena_1_1error_1_1_invalid_operation_exception" ],
[ "IOException", "class_athena_1_1error_1_1_i_o_exception.html", "class_athena_1_1error_1_1_i_o_exception" ],
[ "NotImplementedException", "class_athena_1_1error_1_1_not_implemented_exception.html", "class_athena_1_1error_1_1_not_implemented_exception" ]
] ],
[ "io", null, [
[ "ALTTPFileReader", "class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html", "class_athena_1_1io_1_1_a_l_t_t_p_file_reader" ],
[ "ALTTPFileWriter", "class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html", "class_athena_1_1io_1_1_a_l_t_t_p_file_writer" ],
[ "FileReader", "class_athena_1_1io_1_1_file_reader.html", "class_athena_1_1io_1_1_file_reader" ],
[ "FileWriter", "class_athena_1_1io_1_1_file_writer.html", "class_athena_1_1io_1_1_file_writer" ],
[ "IStream", "class_athena_1_1io_1_1_i_stream.html", "class_athena_1_1io_1_1_i_stream" ],
[ "IStreamReader", "class_athena_1_1io_1_1_i_stream_reader.html", "class_athena_1_1io_1_1_i_stream_reader" ],
[ "IStreamWriter", "class_athena_1_1io_1_1_i_stream_writer.html", "class_athena_1_1io_1_1_i_stream_writer" ],
[ "MCFileReader", "class_athena_1_1io_1_1_m_c_file_reader.html", "class_athena_1_1io_1_1_m_c_file_reader" ],
[ "MCFileWriter", "class_athena_1_1io_1_1_m_c_file_writer.html", "class_athena_1_1io_1_1_m_c_file_writer" ],
[ "MemoryReader", "class_athena_1_1io_1_1_memory_reader.html", "class_athena_1_1io_1_1_memory_reader" ],
[ "MemoryWriter", "class_athena_1_1io_1_1_memory_writer.html", "class_athena_1_1io_1_1_memory_writer" ],
[ "SkywardSwordFileReader", "class_athena_1_1io_1_1_skyward_sword_file_reader.html", "class_athena_1_1io_1_1_skyward_sword_file_reader" ],
[ "SkywardSwordFileWriter", "class_athena_1_1io_1_1_skyward_sword_file_writer.html", "class_athena_1_1io_1_1_skyward_sword_file_writer" ],
[ "SpriteFileReader", "class_athena_1_1io_1_1_sprite_file_reader.html", "class_athena_1_1io_1_1_sprite_file_reader" ],
[ "SpriteFileWriter", "class_athena_1_1io_1_1_sprite_file_writer.html", "class_athena_1_1io_1_1_sprite_file_writer" ],
[ "WiiSaveReader", "class_athena_1_1io_1_1_wii_save_reader.html", "class_athena_1_1io_1_1_wii_save_reader" ],
[ "WiiSaveWriter", "class_athena_1_1io_1_1_wii_save_writer.html", "class_athena_1_1io_1_1_wii_save_writer" ],
[ "ZQuestFileReader", "class_athena_1_1io_1_1_z_quest_file_reader.html", "class_athena_1_1io_1_1_z_quest_file_reader" ],
[ "ZQuestFileWriter", "class_athena_1_1io_1_1_z_quest_file_writer.html", "class_athena_1_1io_1_1_z_quest_file_writer" ]
] ],
[ "Sakura", null, [
[ "Sprite", "class_athena_1_1_sakura_1_1_sprite.html", "class_athena_1_1_sakura_1_1_sprite" ],
[ "SpriteFile", "class_athena_1_1_sakura_1_1_sprite_file.html", "class_athena_1_1_sakura_1_1_sprite_file" ],
[ "SpriteFrame", "class_athena_1_1_sakura_1_1_sprite_frame.html", "class_athena_1_1_sakura_1_1_sprite_frame" ],
[ "SpritePart", "class_athena_1_1_sakura_1_1_sprite_part.html", "class_athena_1_1_sakura_1_1_sprite_part" ],
[ "STexture", "struct_athena_1_1_sakura_1_1_s_texture.html", "struct_athena_1_1_sakura_1_1_s_texture" ],
[ "Vector2D", "class_athena_1_1_sakura_1_1_vector2_d.html", "class_athena_1_1_sakura_1_1_vector2_d" ]
] ],
[ "ALTTPAbilities", "struct_athena_1_1_a_l_t_t_p_abilities.html", "struct_athena_1_1_a_l_t_t_p_abilities" ],
[ "ALTTPCrystals", "struct_athena_1_1_a_l_t_t_p_crystals.html", "struct_athena_1_1_a_l_t_t_p_crystals" ],
[ "ALTTPDungeonItemFlags", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags" ],
[ "ALTTPFile", "class_athena_1_1_a_l_t_t_p_file.html", "class_athena_1_1_a_l_t_t_p_file" ],
[ "ALTTPInventory", "struct_athena_1_1_a_l_t_t_p_inventory.html", "struct_athena_1_1_a_l_t_t_p_inventory" ],
[ "ALTTPLightDarkWorldIndicator", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator" ],
[ "ALTTPMagicUsage", "struct_athena_1_1_a_l_t_t_p_magic_usage.html", "struct_athena_1_1_a_l_t_t_p_magic_usage" ],
[ "ALTTPOverworldEvent", "struct_athena_1_1_a_l_t_t_p_overworld_event.html", "struct_athena_1_1_a_l_t_t_p_overworld_event" ],
[ "ALTTPPendants", "struct_athena_1_1_a_l_t_t_p_pendants.html", "struct_athena_1_1_a_l_t_t_p_pendants" ],
[ "ALTTPProgressFlags1", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html", "struct_athena_1_1_a_l_t_t_p_progress_flags1" ],
[ "ALTTPProgressFlags2", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html", "struct_athena_1_1_a_l_t_t_p_progress_flags2" ],
[ "ALTTPQuest", "class_athena_1_1_a_l_t_t_p_quest.html", "class_athena_1_1_a_l_t_t_p_quest" ],
[ "ALTTPRoomFlags", "struct_athena_1_1_a_l_t_t_p_room_flags.html", "struct_athena_1_1_a_l_t_t_p_room_flags" ],
[ "Dir", "class_athena_1_1_dir.html", "class_athena_1_1_dir" ],
[ "FileInfo", "class_athena_1_1_file_info.html", "class_athena_1_1_file_info" ],
[ "MCFile", "class_athena_1_1_m_c_file.html", "class_athena_1_1_m_c_file" ],
[ "MCSlot", "class_athena_1_1_m_c_slot.html", "class_athena_1_1_m_c_slot" ],
[ "SkywardSwordFile", "class_athena_1_1_skyward_sword_file.html", "class_athena_1_1_skyward_sword_file" ],
[ "SkywardSwordQuest", "class_athena_1_1_skyward_sword_quest.html", "class_athena_1_1_skyward_sword_quest" ],
[ "WiiBanner", "class_athena_1_1_wii_banner.html", "class_athena_1_1_wii_banner" ],
[ "WiiFile", "class_athena_1_1_wii_file.html", "class_athena_1_1_wii_file" ],
[ "WiiImage", "class_athena_1_1_wii_image.html", "class_athena_1_1_wii_image" ],
[ "WiiSave", "class_athena_1_1_wii_save.html", "class_athena_1_1_wii_save" ],
[ "ZQuestFile", "class_athena_1_1_z_quest_file.html", "class_athena_1_1_z_quest_file" ]
] ],
[ "BinaryReader", "class_binary_reader.html", null ],
[ "BinaryWriter", "class_binary_writer.html", null ]
];

BIN
docs/arrowdown.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

BIN
docs/arrowright.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

BIN
docs/bc_s.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

BIN
docs/bdwn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

View File

@ -0,0 +1,132 @@
<!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.9.1"/>
<title>Athena IO Library: Member List</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 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.9.1 -->
<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('class_athena_1_1_a_l_t_t_p_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="headertitle">
<div class="title">Athena::ALTTPFile Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#ae26d9ed3f92aaf00b580612916bc69f3">ALTTPFile</a>()</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#aacfda5bcdb32bbe0ada5fe8005da4da9">ALTTPFile</a>(std::vector&lt; ALTTPQuest * &gt; questList, std::vector&lt; ALTTPQuest * &gt; backupList)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#af733f84d685686ef1681ced39f058e21">quest</a>(atUint32 id) const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#ac3c25cce4d86f2a168e569154f23397c">questCount</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#a67c7446492d5f243cd835643cfe5b4f3">QuestIter</a> typedef</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#a9e970360abecd517134ad2eaaa9b3965">questList</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#ad0e04153a6aec2c23e089b44e8f7d0b8">setQuest</a>(atUint32 id, ALTTPQuest *val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html">Athena::ALTTPFile</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,348 @@
<!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.9.1"/>
<title>Athena IO Library: Athena::ALTTPFile 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 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.9.1 -->
<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('class_athena_1_1_a_l_t_t_p_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="class_athena_1_1_a_l_t_t_p_file-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Athena::ALTTPFile Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A Link to the Past data container class class.
<a href="class_athena_1_1_a_l_t_t_p_file.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_a_l_t_t_p_file_8hpp_source.html">ALTTPFile.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Athena::ALTTPFile:</div>
<div class="dyncontent">
<div class="center"><img src="class_athena_1_1_a_l_t_t_p_file__coll__graph.png" border="0" usemap="#_athena_1_1_a_l_t_t_p_file_coll__map" alt="Collaboration graph"/></div>
</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:a67c7446492d5f243cd835643cfe5b4f3"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a> * &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#a67c7446492d5f243cd835643cfe5b4f3">QuestIter</a></td></tr>
<tr class="memdesc:a67c7446492d5f243cd835643cfe5b4f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Quest Iterator. <a href="#a67c7446492d5f243cd835643cfe5b4f3">More...</a><br /></td></tr>
<tr class="separator:a67c7446492d5f243cd835643cfe5b4f3"><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:ae26d9ed3f92aaf00b580612916bc69f3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#ae26d9ed3f92aaf00b580612916bc69f3">ALTTPFile</a> ()</td></tr>
<tr class="memdesc:ae26d9ed3f92aaf00b580612916bc69f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <a href="#ae26d9ed3f92aaf00b580612916bc69f3">More...</a><br /></td></tr>
<tr class="separator:ae26d9ed3f92aaf00b580612916bc69f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacfda5bcdb32bbe0ada5fe8005da4da9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#aacfda5bcdb32bbe0ada5fe8005da4da9">ALTTPFile</a> (std::vector&lt; <a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a> * &gt; <a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#a9e970360abecd517134ad2eaaa9b3965">questList</a>, std::vector&lt; <a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a> * &gt; backupList)</td></tr>
<tr class="memdesc:aacfda5bcdb32bbe0ada5fe8005da4da9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="#aacfda5bcdb32bbe0ada5fe8005da4da9">More...</a><br /></td></tr>
<tr class="separator:aacfda5bcdb32bbe0ada5fe8005da4da9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0e04153a6aec2c23e089b44e8f7d0b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#ad0e04153a6aec2c23e089b44e8f7d0b8">setQuest</a> (atUint32 id, <a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a> *val)</td></tr>
<tr class="memdesc:ad0e04153a6aec2c23e089b44e8f7d0b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a quest at the given index. <a href="#ad0e04153a6aec2c23e089b44e8f7d0b8">More...</a><br /></td></tr>
<tr class="separator:ad0e04153a6aec2c23e089b44e8f7d0b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e970360abecd517134ad2eaaa9b3965"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#a9e970360abecd517134ad2eaaa9b3965">questList</a> () const </td></tr>
<tr class="memdesc:a9e970360abecd517134ad2eaaa9b3965"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the primary quest list. <a href="#a9e970360abecd517134ad2eaaa9b3965">More...</a><br /></td></tr>
<tr class="separator:a9e970360abecd517134ad2eaaa9b3965"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af733f84d685686ef1681ced39f058e21"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#af733f84d685686ef1681ced39f058e21">quest</a> (atUint32 id) const </td></tr>
<tr class="memdesc:af733f84d685686ef1681ced39f058e21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a quest at the given index. <a href="#af733f84d685686ef1681ced39f058e21">More...</a><br /></td></tr>
<tr class="separator:af733f84d685686ef1681ced39f058e21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3c25cce4d86f2a168e569154f23397c"><td class="memItemLeft" align="right" valign="top">atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#ac3c25cce4d86f2a168e569154f23397c">questCount</a> () const </td></tr>
<tr class="memdesc:ac3c25cce4d86f2a168e569154f23397c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of primary quests. <a href="#ac3c25cce4d86f2a168e569154f23397c">More...</a><br /></td></tr>
<tr class="separator:ac3c25cce4d86f2a168e569154f23397c"><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>A Link to the Past data container class class. </p>
<p>Contains all relevant data for an A Link to the Past SRM file. </p>
<p>Definition at line <a class="el" href="_a_l_t_t_p_file_8hpp_source.html#l00034">34</a> of file <a class="el" href="_a_l_t_t_p_file_8hpp_source.html">ALTTPFile.hpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a67c7446492d5f243cd835643cfe5b4f3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef std::vector&lt;<a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a>*&gt;::iterator <a class="el" href="class_athena_1_1_a_l_t_t_p_file.html#a67c7446492d5f243cd835643cfe5b4f3">Athena::ALTTPFile::QuestIter</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Quest Iterator. </p>
<p>An Iterator typedef for iterating through the Quest lists </p>
<p>Definition at line <a class="el" href="_a_l_t_t_p_file_8hpp_source.html#l00041">41</a> of file <a class="el" href="_a_l_t_t_p_file_8hpp_source.html">ALTTPFile.hpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae26d9ed3f92aaf00b580612916bc69f3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Athena::ALTTPFile::ALTTPFile </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
</div>
</div>
<a class="anchor" id="aacfda5bcdb32bbe0ada5fe8005da4da9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Athena::ALTTPFile::ALTTPFile </td>
<td>(</td>
<td class="paramtype">std::vector&lt; <a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a> * &gt;&#160;</td>
<td class="paramname"><em>questList</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::vector&lt; <a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a> * &gt;&#160;</td>
<td class="paramname"><em>backupList</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">questList</td><td>The primary quest list </td></tr>
<tr><td class="paramname">backupList</td><td>The backup quest list </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="af733f84d685686ef1681ced39f058e21"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a>* Athena::ALTTPFile::quest </td>
<td>(</td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>id</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a quest at the given index. </p>
<p>Returns a quest at the given index</p>
<dl class="section return"><dt>Returns</dt><dd>ALTTPQuest* </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">InvalidOperationException</td><td>on index out of range </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac3c25cce4d86f2a168e569154f23397c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint32 Athena::ALTTPFile::questCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of primary quests. </p>
<dl class="section return"><dt>Returns</dt><dd>The number of quests </dd></dl>
</div>
</div>
<a class="anchor" id="a9e970360abecd517134ad2eaaa9b3965"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;<a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a>*&gt; Athena::ALTTPFile::questList </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the primary quest list. </p>
<dl class="section return"><dt>Returns</dt><dd>The primary quest list </dd></dl>
</div>
</div>
<a class="anchor" id="ad0e04153a6aec2c23e089b44e8f7d0b8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Athena::ALTTPFile::setQuest </td>
<td>(</td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">ALTTPQuest</a> *&#160;</td>
<td class="paramname"><em>val</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a quest at the given index. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td>Index to the given quest </td></tr>
<tr><td class="paramname">val</td><td>The new quest to assign to the given index </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">InvalidOperationException</td><td>on index out of range </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/Athena/<a class="el" href="_a_l_t_t_p_file_8hpp_source.html">ALTTPFile.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="class_athena_1_1_a_l_t_t_p_file.html">ALTTPFile</a></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,10 @@
var class_athena_1_1_a_l_t_t_p_file =
[
[ "QuestIter", "class_athena_1_1_a_l_t_t_p_file.html#a67c7446492d5f243cd835643cfe5b4f3", null ],
[ "ALTTPFile", "class_athena_1_1_a_l_t_t_p_file.html#ae26d9ed3f92aaf00b580612916bc69f3", null ],
[ "ALTTPFile", "class_athena_1_1_a_l_t_t_p_file.html#aacfda5bcdb32bbe0ada5fe8005da4da9", null ],
[ "quest", "class_athena_1_1_a_l_t_t_p_file.html#af733f84d685686ef1681ced39f058e21", null ],
[ "questCount", "class_athena_1_1_a_l_t_t_p_file.html#ac3c25cce4d86f2a168e569154f23397c", null ],
[ "questList", "class_athena_1_1_a_l_t_t_p_file.html#a9e970360abecd517134ad2eaaa9b3965", null ],
[ "setQuest", "class_athena_1_1_a_l_t_t_p_file.html#ad0e04153a6aec2c23e089b44e8f7d0b8", null ]
];

View File

@ -0,0 +1,2 @@
<map id="Athena::ALTTPFile" name="Athena::ALTTPFile">
</map>

View File

@ -0,0 +1 @@
12841904f041a70455871ed59aec20c5

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -0,0 +1,225 @@
<!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.9.1"/>
<title>Athena IO Library: Member List</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 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.9.1 -->
<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('class_athena_1_1_a_l_t_t_p_quest.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">Athena::ALTTPQuest Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a408f1dcbedfbb3a0bd9ebaf980bab7cd">abilityFlags</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a212725bfc64930b341a9e053225d1691">ALTTPQuest</a>()</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ae037c950a498ae1ab2525efd0e0e4980">arrowFiller</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a2bbdb892dbd616635af86b8e7631555f">arrows</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a7d1c51f7f7c93c269de29e4bcca9a5bc">arrowUpgrades</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a470bebb8c896215dc8225ca9daa47e58">bigKeys</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a7d0a9193b9e3ed23fac00bf2cf57917b">bombFiller</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a194eeb12027407924b3be192c0e281df">bombFlag</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a5dfae3f820648af6dc45271e0b771f9e">bombUpgrades</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ae7529d2c3b389c2c463b6e1425cb3e2c">checksum</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ac90bc11e61d4a540774d3dce75626c5a">compasses</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a7ee8c8c4a032ad291a2cee2a2ff85cb4">crystals</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a4d1ae687becd8945eba37cb1af06346b">deathSaveCount</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#abb4164034aa983399af871d7df26010b">dungeonCount</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a251316c5cacc64e4d07817b9b4863552">dungeonDeathTotal</a>(atUint32 id) const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a6cd66142d274192d47dc31e6256fed60">dungeonDeathTotalCount</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a1fc24efe2221e0eee8f80ad126add3ba">dungeonKeys</a>(atUint32 id) const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#af7d3b638ad59b7e14e46b46d56e61089">dungeonMaps</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ae102c2ea00ddb48cae1d08c73cf01849">health</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ab44aa590522d4579553c6003ec332e8d">healthFiller</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ab3cb5d00f64144f4ce65fd1f7bfcfeec">healthMax</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a32a80888d102e70defe10b671e558bc3">inventory</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ad7e2835fc59add9d8e37817df3f9dda8">keys</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a90532d84c125e729a924646a058b6abd">lightDarkWorldIndicator</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a110f6a429bf780d8dd5bdc20cef91a2f">magicFiller</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a378b2ed0ec6bed4b4a7bad72a4513581">magicPower</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#accc9d0e5af1de3c0b036b9b4684da8b9">magicUsage</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#afee41615b340b12188566fb72888e78b">mapIcon</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a7c41ae48411dc3267fd1c858aa069983">oldManFlag</a>(atUint32 id)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#aa226ad59de8561a605ea105b87ddab1e">oldManFlagCount</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a9687f2461774c6cd28ff4859551db5af">overworldEvent</a>(atUint32 id) const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#affacf9f99be69c5faa53c0f912343d31">overworldEvents</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a0f998a0774a3dac831ed73dd84014d41">pendants</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#aef6a71553e8971c73faa58b9f60f5c92">playerName</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a8ca9e81554e7898000575a1105f6ede5">playerNameToString</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a336d7fafc74dceac5a2b384140398fcd">postGameDeathCounter</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a684d99aaaeb3a912bb207bfa8d8e6c4d">progressFlags1</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a35aa1bb70a6ce143181530a27878f1d7">progressFlags2</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a2167041f5b42c456d2371b773a0cc50f">progressIndicator</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ab8ac4c5895626d58611e0f835c888f26">roomFlags</a>()</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#aca0538d69e44a1133ec79e87fec72839">roomFlags</a>(atUint32 id)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ac1617e57fd69aff0d7cf2fb6ecda403b">rupeeCurrent</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a26a35258b5b35a05cb5ee80cec7dfb05">rupeeMax</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a6d7e0331995ce19a8a9df7e320174688">setAbilityFlags</a>(ALTTPAbilities val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#aaa5671e169e02b388870cbe0171ba017">setArrowFiller</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a6668f39c386f48f4de32bb20fabfdf6e">setArrows</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#abc097214d803671a84f143e6c4b56c02">setArrowUpgrades</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a62dfd22f9f990029b8b7f45e56ba77f4">setBigKeys</a>(ALTTPDungeonItemFlags flags)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a9fc79fc023c508717aa878ac14031597">setBombFiller</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ae0f7cab3579cc47f42acf577124ac150">setBombFlag</a>(atUint8 flag)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#aeb3061f14f566cbca0483b117f8f3094">setBombUpgrades</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a9ef57f73f59b9b05c95cde0cbddcebd8">setChecksum</a>(atUint16 checksum)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a2472c929e21791eeeb98ea138a0802a2">setCompasses</a>(ALTTPDungeonItemFlags flags)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a20a31d543ca23caa429906a3751c3a39">setCrystals</a>(ALTTPCrystals val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a6dc808239452f0c9972e8b0d3d2ddfd3">setDeathSaveCount</a>(atUint16 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a8ef78d9149155ec4b4d54f9934a248a2">setDungeonDeathTotal</a>(atUint32 id, atUint16 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#af9ebb4788f688027d78b156c911cb728">setDungeonDeathTotals</a>(std::vector&lt; atUint16 &gt; val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a4b226d022be2d212ec827b56ba19b10a">setDungeonKeys</a>(std::vector&lt; atUint8 &gt; val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#aa4d21ceb02d182195acc5443b439f333">setDungeonKeys</a>(atUint32 id, atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a5386ac84cd3b9544bf85f535a2bb8760">setDungeonMaps</a>(ALTTPDungeonItemFlags flags)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ab9fc320107a8279cef259fdf189fd368">setHealth</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a6c0d99c44606edc5836abaab6f979ea7">setHealthFiller</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a18ace79d562fdb51e2e8e3b8f1df435c">setHealthMax</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a12f64416ab10050daa2449764c52a7f9">setInventory</a>(ALTTPInventory *inv)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ab0eb751301a96eb13cc45a0bca8aa157">setKeys</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a2506d9fc727d45d0b2853208db89f667">setLightDarkWorldIndicator</a>(ALTTPLightDarkWorldIndicator val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#aac535c163f0fd50f3263defbe48d02a5">setMagicFiller</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ae5bb5a3229812b38fc4e90a51f131a78">setMagicPower</a>(atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a2bf762627208cb8e236d7447a0cfea0a">setMagicUsage</a>(ALTTPMagicUsage val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ae57ee97ea024424f1770ee1fb9395d47">setMapIcon</a>(ALTTPMapIcon val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ad2456aae02f0cd0d3eed26c4e4da6fc1">setOldManFlag</a>(atUint32 id, atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a72205c195576ef613fc85a274843393b">setOldManFlags</a>(std::vector&lt; atUint8 &gt; flags)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a229097d6768fbb05e8454019a4de7f0a">setOverworldEvents</a>(std::vector&lt; ALTTPOverworldEvent * &gt; events)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#afedd7cab3b2884b58003fbef8351d0b7">setOverworldEvents</a>(ALTTPOverworldEvent *ow, atUint32 id)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a84c9eff2c241f89575b8cb608146e475">setPendants</a>(ALTTPPendants val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a9b3b852d6ef60526f38fe222297f3230">setPlayerName</a>(std::vector&lt; atUint16 &gt; playerName)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a0bf9a0df6080f69bf436193e888c8aac">setPlayerName</a>(const std::string &amp;playerName)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a0738fc03b93da1a49c8465eb0d94ed0e">setPostGameDeathCounter</a>(atInt16 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a4b37fb77e13b4d15635a58fbaec04736">setProgressFlags1</a>(ALTTPProgressFlags1 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a581d89a3ab2df0b1dd7a7d3065f7642e">setProgressFlags2</a>(ALTTPProgressFlags2 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#aeb741fe6bb80cfc108a9904f9c131ed9">setProgressIndicator</a>(ALTTPProgressIndicator val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a53a564f171dc62de07af165ac5c5273d">setRoomFlags</a>(std::vector&lt; ALTTPRoomFlags * &gt; flags)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a56484b7149621b13997d644109f2db6a">setRoomFlags</a>(ALTTPRoomFlags *rf, atUint32 id)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a300853eb166d33bf1b7bd4908c39a038">setRupeeCurrent</a>(atUint16 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a7d35d3ac214e6553a909c3665d819aed">setRupeeMax</a>(atUint16 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a73b632587ce10d482eb0b005bf58f322">setStartLocation</a>(ALTTPStartLocation val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a5703a1291c9eecc30cafec7f763b809e">setTagAlong</a>(ALTTPTagAlong val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a896fbd70cfa7428547b053519b121f45">setUnknown1</a>(std::vector&lt; atUint8 &gt; flags)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a2fdf627a99fd20b42c1fbc2533c52cfb">setUnknown1</a>(atUint32 id, atUint8 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#aea0ee1f95925d5dae59afd55965731c8">setUnknown2</a>(atUint16 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a7d55a9cb69386a137fd3be0b888adf14">setValid</a>(bool val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ad9e73764a159a57a67f68af5724499c2">setWishingPond</a>(atUint16 val)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#aba0e900b9a3f6601fe435479d31a4d7c">startLocation</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#ae8791d3bcc9fd488857f14d92f4668d2">tagAlong</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#af9bfaf05b2572fc410900dffde9dd633">unknown1</a>(atUint32 id)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a36352db52c6686f3c6383d34e56b5848">unknown1Count</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a674443ef1779d4a89ada3023e3976ce3">unknown2</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#a6c450b0607dc08751976dd88923e44a3">valid</a>()</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html#af98279f0ffb360e927d627bd66b1a461">wishingPond</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>~ALTTPQuest</b>() (defined in <a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_a_l_t_t_p_quest.html">Athena::ALTTPQuest</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,103 @@
var class_athena_1_1_a_l_t_t_p_quest =
[
[ "ALTTPQuest", "class_athena_1_1_a_l_t_t_p_quest.html#a212725bfc64930b341a9e053225d1691", null ],
[ "~ALTTPQuest", "class_athena_1_1_a_l_t_t_p_quest.html#a14754e111513693c882f495d05db27a7", null ],
[ "abilityFlags", "class_athena_1_1_a_l_t_t_p_quest.html#a408f1dcbedfbb3a0bd9ebaf980bab7cd", null ],
[ "arrowFiller", "class_athena_1_1_a_l_t_t_p_quest.html#ae037c950a498ae1ab2525efd0e0e4980", null ],
[ "arrows", "class_athena_1_1_a_l_t_t_p_quest.html#a2bbdb892dbd616635af86b8e7631555f", null ],
[ "arrowUpgrades", "class_athena_1_1_a_l_t_t_p_quest.html#a7d1c51f7f7c93c269de29e4bcca9a5bc", null ],
[ "bigKeys", "class_athena_1_1_a_l_t_t_p_quest.html#a470bebb8c896215dc8225ca9daa47e58", null ],
[ "bombFiller", "class_athena_1_1_a_l_t_t_p_quest.html#a7d0a9193b9e3ed23fac00bf2cf57917b", null ],
[ "bombFlag", "class_athena_1_1_a_l_t_t_p_quest.html#a194eeb12027407924b3be192c0e281df", null ],
[ "bombUpgrades", "class_athena_1_1_a_l_t_t_p_quest.html#a5dfae3f820648af6dc45271e0b771f9e", null ],
[ "checksum", "class_athena_1_1_a_l_t_t_p_quest.html#ae7529d2c3b389c2c463b6e1425cb3e2c", null ],
[ "compasses", "class_athena_1_1_a_l_t_t_p_quest.html#ac90bc11e61d4a540774d3dce75626c5a", null ],
[ "crystals", "class_athena_1_1_a_l_t_t_p_quest.html#a7ee8c8c4a032ad291a2cee2a2ff85cb4", null ],
[ "deathSaveCount", "class_athena_1_1_a_l_t_t_p_quest.html#a4d1ae687becd8945eba37cb1af06346b", null ],
[ "dungeonCount", "class_athena_1_1_a_l_t_t_p_quest.html#abb4164034aa983399af871d7df26010b", null ],
[ "dungeonDeathTotal", "class_athena_1_1_a_l_t_t_p_quest.html#a251316c5cacc64e4d07817b9b4863552", null ],
[ "dungeonDeathTotalCount", "class_athena_1_1_a_l_t_t_p_quest.html#a6cd66142d274192d47dc31e6256fed60", null ],
[ "dungeonKeys", "class_athena_1_1_a_l_t_t_p_quest.html#a1fc24efe2221e0eee8f80ad126add3ba", null ],
[ "dungeonMaps", "class_athena_1_1_a_l_t_t_p_quest.html#af7d3b638ad59b7e14e46b46d56e61089", null ],
[ "health", "class_athena_1_1_a_l_t_t_p_quest.html#ae102c2ea00ddb48cae1d08c73cf01849", null ],
[ "healthFiller", "class_athena_1_1_a_l_t_t_p_quest.html#ab44aa590522d4579553c6003ec332e8d", null ],
[ "healthMax", "class_athena_1_1_a_l_t_t_p_quest.html#ab3cb5d00f64144f4ce65fd1f7bfcfeec", null ],
[ "inventory", "class_athena_1_1_a_l_t_t_p_quest.html#a32a80888d102e70defe10b671e558bc3", null ],
[ "keys", "class_athena_1_1_a_l_t_t_p_quest.html#ad7e2835fc59add9d8e37817df3f9dda8", null ],
[ "lightDarkWorldIndicator", "class_athena_1_1_a_l_t_t_p_quest.html#a90532d84c125e729a924646a058b6abd", null ],
[ "magicFiller", "class_athena_1_1_a_l_t_t_p_quest.html#a110f6a429bf780d8dd5bdc20cef91a2f", null ],
[ "magicPower", "class_athena_1_1_a_l_t_t_p_quest.html#a378b2ed0ec6bed4b4a7bad72a4513581", null ],
[ "magicUsage", "class_athena_1_1_a_l_t_t_p_quest.html#accc9d0e5af1de3c0b036b9b4684da8b9", null ],
[ "mapIcon", "class_athena_1_1_a_l_t_t_p_quest.html#afee41615b340b12188566fb72888e78b", null ],
[ "oldManFlag", "class_athena_1_1_a_l_t_t_p_quest.html#a7c41ae48411dc3267fd1c858aa069983", null ],
[ "oldManFlagCount", "class_athena_1_1_a_l_t_t_p_quest.html#aa226ad59de8561a605ea105b87ddab1e", null ],
[ "overworldEvent", "class_athena_1_1_a_l_t_t_p_quest.html#a9687f2461774c6cd28ff4859551db5af", null ],
[ "overworldEvents", "class_athena_1_1_a_l_t_t_p_quest.html#affacf9f99be69c5faa53c0f912343d31", null ],
[ "pendants", "class_athena_1_1_a_l_t_t_p_quest.html#a0f998a0774a3dac831ed73dd84014d41", null ],
[ "playerName", "class_athena_1_1_a_l_t_t_p_quest.html#aef6a71553e8971c73faa58b9f60f5c92", null ],
[ "playerNameToString", "class_athena_1_1_a_l_t_t_p_quest.html#a8ca9e81554e7898000575a1105f6ede5", null ],
[ "postGameDeathCounter", "class_athena_1_1_a_l_t_t_p_quest.html#a336d7fafc74dceac5a2b384140398fcd", null ],
[ "progressFlags1", "class_athena_1_1_a_l_t_t_p_quest.html#a684d99aaaeb3a912bb207bfa8d8e6c4d", null ],
[ "progressFlags2", "class_athena_1_1_a_l_t_t_p_quest.html#a35aa1bb70a6ce143181530a27878f1d7", null ],
[ "progressIndicator", "class_athena_1_1_a_l_t_t_p_quest.html#a2167041f5b42c456d2371b773a0cc50f", null ],
[ "roomFlags", "class_athena_1_1_a_l_t_t_p_quest.html#ab8ac4c5895626d58611e0f835c888f26", null ],
[ "roomFlags", "class_athena_1_1_a_l_t_t_p_quest.html#aca0538d69e44a1133ec79e87fec72839", null ],
[ "rupeeCurrent", "class_athena_1_1_a_l_t_t_p_quest.html#ac1617e57fd69aff0d7cf2fb6ecda403b", null ],
[ "rupeeMax", "class_athena_1_1_a_l_t_t_p_quest.html#a26a35258b5b35a05cb5ee80cec7dfb05", null ],
[ "setAbilityFlags", "class_athena_1_1_a_l_t_t_p_quest.html#a6d7e0331995ce19a8a9df7e320174688", null ],
[ "setArrowFiller", "class_athena_1_1_a_l_t_t_p_quest.html#aaa5671e169e02b388870cbe0171ba017", null ],
[ "setArrows", "class_athena_1_1_a_l_t_t_p_quest.html#a6668f39c386f48f4de32bb20fabfdf6e", null ],
[ "setArrowUpgrades", "class_athena_1_1_a_l_t_t_p_quest.html#abc097214d803671a84f143e6c4b56c02", null ],
[ "setBigKeys", "class_athena_1_1_a_l_t_t_p_quest.html#a62dfd22f9f990029b8b7f45e56ba77f4", null ],
[ "setBombFiller", "class_athena_1_1_a_l_t_t_p_quest.html#a9fc79fc023c508717aa878ac14031597", null ],
[ "setBombFlag", "class_athena_1_1_a_l_t_t_p_quest.html#ae0f7cab3579cc47f42acf577124ac150", null ],
[ "setBombUpgrades", "class_athena_1_1_a_l_t_t_p_quest.html#aeb3061f14f566cbca0483b117f8f3094", null ],
[ "setChecksum", "class_athena_1_1_a_l_t_t_p_quest.html#a9ef57f73f59b9b05c95cde0cbddcebd8", null ],
[ "setCompasses", "class_athena_1_1_a_l_t_t_p_quest.html#a2472c929e21791eeeb98ea138a0802a2", null ],
[ "setCrystals", "class_athena_1_1_a_l_t_t_p_quest.html#a20a31d543ca23caa429906a3751c3a39", null ],
[ "setDeathSaveCount", "class_athena_1_1_a_l_t_t_p_quest.html#a6dc808239452f0c9972e8b0d3d2ddfd3", null ],
[ "setDungeonDeathTotal", "class_athena_1_1_a_l_t_t_p_quest.html#a8ef78d9149155ec4b4d54f9934a248a2", null ],
[ "setDungeonDeathTotals", "class_athena_1_1_a_l_t_t_p_quest.html#af9ebb4788f688027d78b156c911cb728", null ],
[ "setDungeonKeys", "class_athena_1_1_a_l_t_t_p_quest.html#a4b226d022be2d212ec827b56ba19b10a", null ],
[ "setDungeonKeys", "class_athena_1_1_a_l_t_t_p_quest.html#aa4d21ceb02d182195acc5443b439f333", null ],
[ "setDungeonMaps", "class_athena_1_1_a_l_t_t_p_quest.html#a5386ac84cd3b9544bf85f535a2bb8760", null ],
[ "setHealth", "class_athena_1_1_a_l_t_t_p_quest.html#ab9fc320107a8279cef259fdf189fd368", null ],
[ "setHealthFiller", "class_athena_1_1_a_l_t_t_p_quest.html#a6c0d99c44606edc5836abaab6f979ea7", null ],
[ "setHealthMax", "class_athena_1_1_a_l_t_t_p_quest.html#a18ace79d562fdb51e2e8e3b8f1df435c", null ],
[ "setInventory", "class_athena_1_1_a_l_t_t_p_quest.html#a12f64416ab10050daa2449764c52a7f9", null ],
[ "setKeys", "class_athena_1_1_a_l_t_t_p_quest.html#ab0eb751301a96eb13cc45a0bca8aa157", null ],
[ "setLightDarkWorldIndicator", "class_athena_1_1_a_l_t_t_p_quest.html#a2506d9fc727d45d0b2853208db89f667", null ],
[ "setMagicFiller", "class_athena_1_1_a_l_t_t_p_quest.html#aac535c163f0fd50f3263defbe48d02a5", null ],
[ "setMagicPower", "class_athena_1_1_a_l_t_t_p_quest.html#ae5bb5a3229812b38fc4e90a51f131a78", null ],
[ "setMagicUsage", "class_athena_1_1_a_l_t_t_p_quest.html#a2bf762627208cb8e236d7447a0cfea0a", null ],
[ "setMapIcon", "class_athena_1_1_a_l_t_t_p_quest.html#ae57ee97ea024424f1770ee1fb9395d47", null ],
[ "setOldManFlag", "class_athena_1_1_a_l_t_t_p_quest.html#ad2456aae02f0cd0d3eed26c4e4da6fc1", null ],
[ "setOldManFlags", "class_athena_1_1_a_l_t_t_p_quest.html#a72205c195576ef613fc85a274843393b", null ],
[ "setOverworldEvents", "class_athena_1_1_a_l_t_t_p_quest.html#a229097d6768fbb05e8454019a4de7f0a", null ],
[ "setOverworldEvents", "class_athena_1_1_a_l_t_t_p_quest.html#afedd7cab3b2884b58003fbef8351d0b7", null ],
[ "setPendants", "class_athena_1_1_a_l_t_t_p_quest.html#a84c9eff2c241f89575b8cb608146e475", null ],
[ "setPlayerName", "class_athena_1_1_a_l_t_t_p_quest.html#a9b3b852d6ef60526f38fe222297f3230", null ],
[ "setPlayerName", "class_athena_1_1_a_l_t_t_p_quest.html#a0bf9a0df6080f69bf436193e888c8aac", null ],
[ "setPostGameDeathCounter", "class_athena_1_1_a_l_t_t_p_quest.html#a0738fc03b93da1a49c8465eb0d94ed0e", null ],
[ "setProgressFlags1", "class_athena_1_1_a_l_t_t_p_quest.html#a4b37fb77e13b4d15635a58fbaec04736", null ],
[ "setProgressFlags2", "class_athena_1_1_a_l_t_t_p_quest.html#a581d89a3ab2df0b1dd7a7d3065f7642e", null ],
[ "setProgressIndicator", "class_athena_1_1_a_l_t_t_p_quest.html#aeb741fe6bb80cfc108a9904f9c131ed9", null ],
[ "setRoomFlags", "class_athena_1_1_a_l_t_t_p_quest.html#a53a564f171dc62de07af165ac5c5273d", null ],
[ "setRoomFlags", "class_athena_1_1_a_l_t_t_p_quest.html#a56484b7149621b13997d644109f2db6a", null ],
[ "setRupeeCurrent", "class_athena_1_1_a_l_t_t_p_quest.html#a300853eb166d33bf1b7bd4908c39a038", null ],
[ "setRupeeMax", "class_athena_1_1_a_l_t_t_p_quest.html#a7d35d3ac214e6553a909c3665d819aed", null ],
[ "setStartLocation", "class_athena_1_1_a_l_t_t_p_quest.html#a73b632587ce10d482eb0b005bf58f322", null ],
[ "setTagAlong", "class_athena_1_1_a_l_t_t_p_quest.html#a5703a1291c9eecc30cafec7f763b809e", null ],
[ "setUnknown1", "class_athena_1_1_a_l_t_t_p_quest.html#a896fbd70cfa7428547b053519b121f45", null ],
[ "setUnknown1", "class_athena_1_1_a_l_t_t_p_quest.html#a2fdf627a99fd20b42c1fbc2533c52cfb", null ],
[ "setUnknown2", "class_athena_1_1_a_l_t_t_p_quest.html#aea0ee1f95925d5dae59afd55965731c8", null ],
[ "setValid", "class_athena_1_1_a_l_t_t_p_quest.html#a7d55a9cb69386a137fd3be0b888adf14", null ],
[ "setWishingPond", "class_athena_1_1_a_l_t_t_p_quest.html#ad9e73764a159a57a67f68af5724499c2", null ],
[ "startLocation", "class_athena_1_1_a_l_t_t_p_quest.html#aba0e900b9a3f6601fe435479d31a4d7c", null ],
[ "tagAlong", "class_athena_1_1_a_l_t_t_p_quest.html#ae8791d3bcc9fd488857f14d92f4668d2", null ],
[ "unknown1", "class_athena_1_1_a_l_t_t_p_quest.html#af9bfaf05b2572fc410900dffde9dd633", null ],
[ "unknown1Count", "class_athena_1_1_a_l_t_t_p_quest.html#a36352db52c6686f3c6383d34e56b5848", null ],
[ "unknown2", "class_athena_1_1_a_l_t_t_p_quest.html#a674443ef1779d4a89ada3023e3976ce3", null ],
[ "valid", "class_athena_1_1_a_l_t_t_p_quest.html#a6c450b0607dc08751976dd88923e44a3", null ],
[ "wishingPond", "class_athena_1_1_a_l_t_t_p_quest.html#af98279f0ffb360e927d627bd66b1a461", null ]
];

View File

@ -0,0 +1,2 @@
<map id="Athena::ALTTPQuest" name="Athena::ALTTPQuest">
</map>

View File

@ -0,0 +1 @@
3daaf21f6cccce38e84ad6082f264bd5

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -0,0 +1,136 @@
<!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.9.1"/>
<title>Athena IO Library: Member List</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 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.9.1 -->
<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('class_athena_1_1_dir.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">Athena::Dir Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>, including all inherited members.</p>
<table class="directory">
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>absolutePath</b>() const (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>absolutePath</b>(const std::string &amp;path) (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>cd</b>(const std::string &amp;path) (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>Dir</b>(const std::string &amp;path) (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>files</b>() const (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>isDir</b>() const (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>isDir</b>(const std::string dir) (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>mkdir</b>(const std::string &amp;dir, mode_t mode=0755) (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>mkpath</b>(const std::string &amp;path, mode_t mode=0755) (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>rm</b>(const std::string &amp;path) (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>touch</b>() (defined in <a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_dir.html">Athena::Dir</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,180 @@
<!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.9.1"/>
<title>Athena IO Library: Athena::Dir 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 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.9.1 -->
<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('class_athena_1_1_dir.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-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_athena_1_1_dir-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Athena::Dir Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for Athena::Dir:</div>
<div class="dyncontent">
<div class="center"><img src="class_athena_1_1_dir__coll__graph.png" border="0" usemap="#_athena_1_1_dir_coll__map" alt="Collaboration graph"/></div>
<map name="_athena_1_1_dir_coll__map" id="_athena_1_1_dir_coll__map">
</map>
</div>
<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:adc5b89319ba1c9b3287f297fe7c52104"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc5b89319ba1c9b3287f297fe7c52104"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Dir</b> (const std::string &amp;path)</td></tr>
<tr class="separator:adc5b89319ba1c9b3287f297fe7c52104"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaa4a305868bb00dc6334aeeb7a05fca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afaa4a305868bb00dc6334aeeb7a05fca"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>absolutePath</b> () const </td></tr>
<tr class="separator:afaa4a305868bb00dc6334aeeb7a05fca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae16d658f3f77f6c060169b35a24ddf75"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae16d658f3f77f6c060169b35a24ddf75"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isDir</b> () const </td></tr>
<tr class="separator:ae16d658f3f77f6c060169b35a24ddf75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2618151e04b56e22e2cc1d50f1fbcbf7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2618151e04b56e22e2cc1d50f1fbcbf7"></a>
std::vector&lt; <a class="el" href="class_athena_1_1_file_info.html">FileInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>files</b> () const </td></tr>
<tr class="separator:a2618151e04b56e22e2cc1d50f1fbcbf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecd398ed6f72b446a4bc5a26e1be7c10"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aecd398ed6f72b446a4bc5a26e1be7c10"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>cd</b> (const std::string &amp;path)</td></tr>
<tr class="separator:aecd398ed6f72b446a4bc5a26e1be7c10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48646fa95620953fe86f03b89bffe568"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48646fa95620953fe86f03b89bffe568"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>rm</b> (const std::string &amp;path)</td></tr>
<tr class="separator:a48646fa95620953fe86f03b89bffe568"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0051e900c67d0a100de34e4d36305a1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0051e900c67d0a100de34e4d36305a1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>touch</b> ()</td></tr>
<tr class="separator:ad0051e900c67d0a100de34e4d36305a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a9db4c6d0f389b95026cde0a152020374"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9db4c6d0f389b95026cde0a152020374"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>absolutePath</b> (const std::string &amp;path)</td></tr>
<tr class="separator:a9db4c6d0f389b95026cde0a152020374"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3855d48c3ff2a8a13f38cac17a4552cc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3855d48c3ff2a8a13f38cac17a4552cc"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>isDir</b> (const std::string dir)</td></tr>
<tr class="separator:a3855d48c3ff2a8a13f38cac17a4552cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac70bfb26b9dada2827b3bf9e2c6c114f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac70bfb26b9dada2827b3bf9e2c6c114f"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>mkdir</b> (const std::string &amp;dir, mode_t mode=0755)</td></tr>
<tr class="separator:ac70bfb26b9dada2827b3bf9e2c6c114f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11344d1321a53ffa5873790b5483d0a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11344d1321a53ffa5873790b5483d0a4"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>mkpath</b> (const std::string &amp;path, mode_t mode=0755)</td></tr>
<tr class="separator:a11344d1321a53ffa5873790b5483d0a4"><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>Definition at line <a class="el" href="_dir_8hpp_source.html#l00009">9</a> of file <a class="el" href="_dir_8hpp_source.html">Dir.hpp</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>include/Athena/<a class="el" href="_dir_8hpp_source.html">Dir.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="class_athena_1_1_dir.html">Dir</a></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,10 @@
var class_athena_1_1_dir =
[
[ "Dir", "class_athena_1_1_dir.html#adc5b89319ba1c9b3287f297fe7c52104", null ],
[ "absolutePath", "class_athena_1_1_dir.html#afaa4a305868bb00dc6334aeeb7a05fca", null ],
[ "cd", "class_athena_1_1_dir.html#aecd398ed6f72b446a4bc5a26e1be7c10", null ],
[ "files", "class_athena_1_1_dir.html#a2618151e04b56e22e2cc1d50f1fbcbf7", null ],
[ "isDir", "class_athena_1_1_dir.html#ae16d658f3f77f6c060169b35a24ddf75", null ],
[ "rm", "class_athena_1_1_dir.html#a48646fa95620953fe86f03b89bffe568", null ],
[ "touch", "class_athena_1_1_dir.html#ad0051e900c67d0a100de34e4d36305a1", null ]
];

View File

@ -0,0 +1,2 @@
<map id="Athena::Dir" name="Athena::Dir">
</map>

View File

@ -0,0 +1 @@
c998e42f21683f103f3173eeeb83b19f

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@ -0,0 +1,146 @@
<!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.9.1"/>
<title>Athena IO Library: Member List</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 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.9.1 -->
<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('class_athena_1_1_file_info.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">Athena::FileInfo Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>, including all inherited members.</p>
<table class="directory">
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>absoluteFilePath</b>() const (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>absoluteFilePath</b>(const std::string &amp;path) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>absolutePath</b>() const (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>absolutePath</b>(const std::string &amp;lnk) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>exists</b>() const (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>exists</b>(const std::string &amp;path) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>extension</b>() const (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>extension</b>(const std::string path) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>FileInfo</b>(const std::string &amp;path=std::string()) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>filename</b>() const (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>filename</b>(const std::string path) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>isFile</b>() const (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>isFile</b>(const std::string &amp;path) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>isLink</b>() const (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>isLink</b>(const std::string &amp;lnk) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>path</b>() const (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>path</b>(const std::string path) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>size</b>() const (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>size</b>(const std::string path) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>touch</b>() const (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>touch</b>(const std::string &amp;path) (defined in <a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_file_info.html">Athena::FileInfo</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,208 @@
<!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.9.1"/>
<title>Athena IO Library: Athena::FileInfo 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 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.9.1 -->
<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('class_athena_1_1_file_info.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-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_athena_1_1_file_info-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Athena::FileInfo Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for Athena::FileInfo:</div>
<div class="dyncontent">
<div class="center"><img src="class_athena_1_1_file_info__coll__graph.png" border="0" usemap="#_athena_1_1_file_info_coll__map" alt="Collaboration graph"/></div>
</div>
<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:acf0e3b5afd62fd36cc351f7e11201547"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf0e3b5afd62fd36cc351f7e11201547"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>FileInfo</b> (const std::string &amp;path=std::string())</td></tr>
<tr class="separator:acf0e3b5afd62fd36cc351f7e11201547"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c5b967718839c034155c9040ec38796"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6c5b967718839c034155c9040ec38796"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>absolutePath</b> () const </td></tr>
<tr class="separator:a6c5b967718839c034155c9040ec38796"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0175045d02c876e0a2054c23127f3db8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0175045d02c876e0a2054c23127f3db8"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>absoluteFilePath</b> () const </td></tr>
<tr class="separator:a0175045d02c876e0a2054c23127f3db8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95f86a73e6d6d6ef3582670102ad5477"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95f86a73e6d6d6ef3582670102ad5477"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>filename</b> () const </td></tr>
<tr class="separator:a95f86a73e6d6d6ef3582670102ad5477"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab089ad6509cae3e2d18c26989b6cf0fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab089ad6509cae3e2d18c26989b6cf0fc"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>path</b> () const </td></tr>
<tr class="separator:ab089ad6509cae3e2d18c26989b6cf0fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1afd39c394a858b68c6f0c97b12167d6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1afd39c394a858b68c6f0c97b12167d6"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>extension</b> () const </td></tr>
<tr class="separator:a1afd39c394a858b68c6f0c97b12167d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12b98024a6cd6b931ec9c51b64065a7c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12b98024a6cd6b931ec9c51b64065a7c"></a>
atUint64&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const </td></tr>
<tr class="separator:a12b98024a6cd6b931ec9c51b64065a7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f9fb708730aa2656971f62bc9b2169f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f9fb708730aa2656971f62bc9b2169f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>exists</b> () const </td></tr>
<tr class="separator:a3f9fb708730aa2656971f62bc9b2169f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaaaa0aaf834435b4facd9191e692a729"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaaaa0aaf834435b4facd9191e692a729"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isLink</b> () const </td></tr>
<tr class="separator:aaaaa0aaf834435b4facd9191e692a729"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c046313e41b90e1d2026a8a15d1781d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c046313e41b90e1d2026a8a15d1781d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isFile</b> () const </td></tr>
<tr class="separator:a2c046313e41b90e1d2026a8a15d1781d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6642bbb440100313055630df891d82d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6642bbb440100313055630df891d82d9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>touch</b> () const </td></tr>
<tr class="separator:a6642bbb440100313055630df891d82d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a138c34c5fba1c39a86122cc3e78624f9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a138c34c5fba1c39a86122cc3e78624f9"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>absolutePath</b> (const std::string &amp;lnk)</td></tr>
<tr class="separator:a138c34c5fba1c39a86122cc3e78624f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28449b2e38ab88c24996050d49f586f2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28449b2e38ab88c24996050d49f586f2"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>absoluteFilePath</b> (const std::string &amp;path)</td></tr>
<tr class="separator:a28449b2e38ab88c24996050d49f586f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3a5360b498dcfa10734e1e2c60e1bd1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af3a5360b498dcfa10734e1e2c60e1bd1"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>filename</b> (const std::string path)</td></tr>
<tr class="separator:af3a5360b498dcfa10734e1e2c60e1bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f0e6b5ea1c423c70ba2e4eae2b0dcc9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f0e6b5ea1c423c70ba2e4eae2b0dcc9"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>path</b> (const std::string path)</td></tr>
<tr class="separator:a0f0e6b5ea1c423c70ba2e4eae2b0dcc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bcf7ef069e0b1c643a54f391bdfb33c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0bcf7ef069e0b1c643a54f391bdfb33c"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>extension</b> (const std::string path)</td></tr>
<tr class="separator:a0bcf7ef069e0b1c643a54f391bdfb33c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a176771092fbbc0c50c6248c79fd0f0b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a176771092fbbc0c50c6248c79fd0f0b8"></a>
static atUint64&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> (const std::string path)</td></tr>
<tr class="separator:a176771092fbbc0c50c6248c79fd0f0b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4139dcb839b8f274379fde62fe3a89bb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4139dcb839b8f274379fde62fe3a89bb"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>exists</b> (const std::string &amp;path)</td></tr>
<tr class="separator:a4139dcb839b8f274379fde62fe3a89bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69d877559c74dde733b6ae53fb11e071"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a69d877559c74dde733b6ae53fb11e071"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>isLink</b> (const std::string &amp;lnk)</td></tr>
<tr class="separator:a69d877559c74dde733b6ae53fb11e071"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7bc329d85010fe1582a056b760bdd0c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7bc329d85010fe1582a056b760bdd0c"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>isFile</b> (const std::string &amp;path)</td></tr>
<tr class="separator:ad7bc329d85010fe1582a056b760bdd0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9bf7d80b7abb6d2df8677cb02f7efbc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae9bf7d80b7abb6d2df8677cb02f7efbc"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>touch</b> (const std::string &amp;path)</td></tr>
<tr class="separator:ae9bf7d80b7abb6d2df8677cb02f7efbc"><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>Definition at line <a class="el" href="_file_info_8hpp_source.html#l00010">10</a> of file <a class="el" href="_file_info_8hpp_source.html">FileInfo.hpp</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>include/Athena/<a class="el" href="_file_info_8hpp_source.html">FileInfo.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="class_athena_1_1_file_info.html">FileInfo</a></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,14 @@
var class_athena_1_1_file_info =
[
[ "FileInfo", "class_athena_1_1_file_info.html#acf0e3b5afd62fd36cc351f7e11201547", null ],
[ "absoluteFilePath", "class_athena_1_1_file_info.html#a0175045d02c876e0a2054c23127f3db8", null ],
[ "absolutePath", "class_athena_1_1_file_info.html#a6c5b967718839c034155c9040ec38796", null ],
[ "exists", "class_athena_1_1_file_info.html#a3f9fb708730aa2656971f62bc9b2169f", null ],
[ "extension", "class_athena_1_1_file_info.html#a1afd39c394a858b68c6f0c97b12167d6", null ],
[ "filename", "class_athena_1_1_file_info.html#a95f86a73e6d6d6ef3582670102ad5477", null ],
[ "isFile", "class_athena_1_1_file_info.html#a2c046313e41b90e1d2026a8a15d1781d", null ],
[ "isLink", "class_athena_1_1_file_info.html#aaaaa0aaf834435b4facd9191e692a729", null ],
[ "path", "class_athena_1_1_file_info.html#ab089ad6509cae3e2d18c26989b6cf0fc", null ],
[ "size", "class_athena_1_1_file_info.html#a12b98024a6cd6b931ec9c51b64065a7c", null ],
[ "touch", "class_athena_1_1_file_info.html#a6642bbb440100313055630df891d82d9", null ]
];

View File

@ -0,0 +1,2 @@
<map id="Athena::FileInfo" name="Athena::FileInfo">
</map>

View File

@ -0,0 +1 @@
105d459677bde1c2b4e6fe57543e7a2a

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -0,0 +1,133 @@
<!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.9.1"/>
<title>Athena IO Library: Member List</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 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.9.1 -->
<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('class_athena_1_1_m_c_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="headertitle">
<div class="title">Athena::MCFile Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a>, including all inherited members.</p>
<table class="directory">
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Deleted</b> enum value (defined in <a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>MCFile</b>() (defined in <a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>New</b> enum value (defined in <a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>SlotType</b> enum name (defined in <a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>unscramble</b>(atUint8 *data, atUint64 length) (defined in <a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>Valid</b> enum value (defined in <a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>VERSION_EU_JP</b> (defined in <a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>VERSION_US</b> (defined in <a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_m_c_file.html">Athena::MCFile</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,170 @@
<!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.9.1"/>
<title>Athena IO Library: Athena::MCFile 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 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.9.1 -->
<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('class_athena_1_1_m_c_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-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="class_athena_1_1_m_c_file-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Athena::MCFile Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The Minish Cap data container class class.
<a href="class_athena_1_1_m_c_file.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_m_c_file_8hpp_source.html">MCFile.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Athena::MCFile:</div>
<div class="dyncontent">
<div class="center"><img src="class_athena_1_1_m_c_file__coll__graph.png" border="0" usemap="#_athena_1_1_m_c_file_coll__map" alt="Collaboration graph"/></div>
</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:a2e95168ed6eb65003d593b37bb57d93c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e95168ed6eb65003d593b37bb57d93c"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>SlotType</b> { <b>New</b> = 0x54494E49,
<b>Valid</b> = 0x4D435A33,
<b>Deleted</b> = 0x466C6544
}</td></tr>
<tr class="separator:a2e95168ed6eb65003d593b37bb57d93c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0f0bc3b552cf651bc02f544bc663cae0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f0bc3b552cf651bc02f544bc663cae0"></a>
static atUint8 *&#160;</td><td class="memItemRight" valign="bottom"><b>unscramble</b> (atUint8 *data, atUint64 length)</td></tr>
<tr class="separator:a0f0bc3b552cf651bc02f544bc663cae0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a11c1995cda78d8da63124de57392c5fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11c1995cda78d8da63124de57392c5fe"></a>
static const char&#160;</td><td class="memItemRight" valign="bottom"><b>VERSION_EU_JP</b> [33]</td></tr>
<tr class="separator:a11c1995cda78d8da63124de57392c5fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a694e082123a8f82c793de397e679627e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a694e082123a8f82c793de397e679627e"></a>
static const char&#160;</td><td class="memItemRight" valign="bottom"><b>VERSION_US</b> [33]</td></tr>
<tr class="separator:a694e082123a8f82c793de397e679627e"><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>The Minish Cap data container class class. </p>
<p>Contains all relevant data for a The Minish Cap save, file. </p>
<p>Definition at line <a class="el" href="_m_c_file_8hpp_source.html#l00031">31</a> of file <a class="el" href="_m_c_file_8hpp_source.html">MCFile.hpp</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>include/Athena/<a class="el" href="_m_c_file_8hpp_source.html">MCFile.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="class_athena_1_1_m_c_file.html">MCFile</a></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,9 @@
var class_athena_1_1_m_c_file =
[
[ "SlotType", "class_athena_1_1_m_c_file.html#a2e95168ed6eb65003d593b37bb57d93c", [
[ "New", "class_athena_1_1_m_c_file.html#a2e95168ed6eb65003d593b37bb57d93caf265bc7e8b3065000eda519fd97b65a7", null ],
[ "Valid", "class_athena_1_1_m_c_file.html#a2e95168ed6eb65003d593b37bb57d93ca8b3930f6e2bbb5421d6aebc2c2755ffe", null ],
[ "Deleted", "class_athena_1_1_m_c_file.html#a2e95168ed6eb65003d593b37bb57d93cad043b77c222a2f62c7e389bb7054ff0a", null ]
] ],
[ "MCFile", "class_athena_1_1_m_c_file.html#a609cfc359ad830449930c6762201df41", null ]
];

View File

@ -0,0 +1,2 @@
<map id="Athena::MCFile" name="Athena::MCFile">
</map>

View File

@ -0,0 +1 @@
ce94f3180eb19a9c672edcf60ae42023

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -0,0 +1,170 @@
<!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.9.1"/>
<title>Athena IO Library: Member List</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 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.9.1 -->
<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('class_athena_1_1_m_c_slot.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">Athena::MCSlot Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_athena_1_1_m_c_slot.html">Athena::MCSlot</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a3ec6c1d3392116de582ddacf20bb42d8">ALBW</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937aaea6c30c08181cae09944af677b0a715">ALttP</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a23688bdcd1a1dbbf4f2bdeaef86c1af1">AoL</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">data</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ab6861f11b479821f26a06767667b01df">endian</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ae41af7ad3f725f4bbd082fccbe219b2a">FS</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac33e03de60790459ab701c684d3f3d8f">FSA</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#adb943974ab381a96f624d2866a9a0e9e">game</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a> enum name</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad73b4ae573d4ffa951d8aaab487b123d">GameCount</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#a560b6ca1294259da6f4c532b18791dd4">gameString</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>gameStringList</b>() (defined in <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a4bb54f4fa00f9bf9ec3178aa53f964aa">LA</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820">length</a>() const </td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a25b108edb95202a40b9148421e477ad8">LoZ</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_data</b> (defined in <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_endian</b> (defined in <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_game</b> (defined in <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_gameString</b> (defined in <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_length</b> (defined in <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#a82f0f561595b2acc534ee5933b9aff1d">Magic</a></td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#adb8f9350b056b422271a376797f9ffd3">Major</a></td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab1af113c04a0c228ef044fce49d059ab">MC</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>MCSlot</b>(atUint8 *data, atUint32 length) (defined in <a class="el" href="class_athena_1_1_m_c_slot.html">Athena::MCSlot</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_m_c_slot.html">Athena::MCSlot</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#adf2090c9f4e96671a67b439d547a37e5">Minor</a></td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac031509cf62b60a264aded1ac7d8165e">MM</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937acd176244ba137b6b8d6085ad470a332d">NoGame</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a9d18b23523f95dd3265f108ce51621e9">OoA</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab381eea193dcad8435deac7a4e713884">OoS</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a37693a7b465353ae0593bc6666190ac1">OoT</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a83a6d0fa9b3691858fc7d522cc4e91c1">OoT3D</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a7bbe4794415db6843d2f0cab4d0e45fe">PH</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#a605fe0473e8a478f57d0a7094dee20d2">Revision</a></td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ab9047c7699a20d2644bd3a66135a5da5">setData</a>(atUint8 *data, atUint32 length)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#afaaa1972f981332708eaf8f97a61a193">setEndian</a>(Endian endian)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#a1dd9626c499a01133e0caee9bb6d0b4c">setGame</a>(Game game)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setGameString</b>(const std::string &amp;gameString) (defined in <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab2037dd3a0faa6fb51dbd555bcac4a80">SS</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a47f4332532c012f5be606c3c9dba19b6">ST</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a50194fea3b394ec0b366465c26fe9031">TP</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#a596bf7f03609d29d6dfc4651c3babde8">Version</a></td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad20e457dd99a1d0f35a973dccaff77ba">WW</a> enum value</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#a2ca4f36802ca0135c5a3d1337d9db11a">ZQuestFile</a>()</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html#a63260464ab623f17d0ed85b8d65efe6b">ZQuestFile</a>(Game game, Endian endian, atUint8 *data, atUint32 length, const std::string &amp;gameString=std::string())</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~ZQuestFile</b>() (defined in <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,262 @@
<!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.9.1"/>
<title>Athena IO Library: Athena::MCSlot 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 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.9.1 -->
<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('class_athena_1_1_m_c_slot.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-methods">Public Member Functions</a> &#124;
<a href="class_athena_1_1_m_c_slot-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Athena::MCSlot Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for Athena::MCSlot:</div>
<div class="dyncontent">
<div class="center"><img src="class_athena_1_1_m_c_slot__inherit__graph.png" border="0" usemap="#_athena_1_1_m_c_slot_inherit__map" alt="Inheritance graph"/></div>
<map name="_athena_1_1_m_c_slot_inherit__map" id="_athena_1_1_m_c_slot_inherit__map">
<area shape="rect" id="node2" href="class_athena_1_1_z_quest_file.html" title="ZQuestFile is an export format for save data. " alt="" coords="5,5,153,391"/></map>
</div>
<div class="dynheader">
Collaboration diagram for Athena::MCSlot:</div>
<div class="dyncontent">
<div class="center"><img src="class_athena_1_1_m_c_slot__coll__graph.png" border="0" usemap="#_athena_1_1_m_c_slot_coll__map" alt="Collaboration graph"/></div>
<map name="_athena_1_1_m_c_slot_coll__map" id="_athena_1_1_m_c_slot_coll__map">
<area shape="rect" id="node2" href="class_athena_1_1_z_quest_file.html" title="ZQuestFile is an export format for save data. " alt="" coords="5,5,153,391"/></map>
</div>
<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:ad9e06326bf01877f363c24c4f1b60b54"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9e06326bf01877f363c24c4f1b60b54"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MCSlot</b> (atUint8 *<a class="el" href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">data</a>, atUint32 <a class="el" href="class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820">length</a>)</td></tr>
<tr class="separator:ad9e06326bf01877f363c24c4f1b60b54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_athena_1_1_z_quest_file"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_athena_1_1_z_quest_file')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td></tr>
<tr class="memitem:a2ca4f36802ca0135c5a3d1337d9db11a inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ca4f36802ca0135c5a3d1337d9db11a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#a2ca4f36802ca0135c5a3d1337d9db11a">ZQuestFile</a> ()</td></tr>
<tr class="memdesc:a2ca4f36802ca0135c5a3d1337d9db11a inherit pub_methods_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">ZQuest. <br /></td></tr>
<tr class="separator:a2ca4f36802ca0135c5a3d1337d9db11a inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63260464ab623f17d0ed85b8d65efe6b inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#a63260464ab623f17d0ed85b8d65efe6b">ZQuestFile</a> (<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a> <a class="el" href="class_athena_1_1_z_quest_file.html#adb943974ab381a96f624d2866a9a0e9e">game</a>, Endian <a class="el" href="class_athena_1_1_z_quest_file.html#ab6861f11b479821f26a06767667b01df">endian</a>, atUint8 *<a class="el" href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">data</a>, atUint32 <a class="el" href="class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820">length</a>, const std::string &amp;<a class="el" href="class_athena_1_1_z_quest_file.html#a560b6ca1294259da6f4c532b18791dd4">gameString</a>=std::string())</td></tr>
<tr class="memdesc:a63260464ab623f17d0ed85b8d65efe6b inherit pub_methods_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">ZQuest. <a href="#a63260464ab623f17d0ed85b8d65efe6b">More...</a><br /></td></tr>
<tr class="separator:a63260464ab623f17d0ed85b8d65efe6b inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dd9626c499a01133e0caee9bb6d0b4c inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#a1dd9626c499a01133e0caee9bb6d0b4c">setGame</a> (<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a> <a class="el" href="class_athena_1_1_z_quest_file.html#adb943974ab381a96f624d2866a9a0e9e">game</a>)</td></tr>
<tr class="memdesc:a1dd9626c499a01133e0caee9bb6d0b4c inherit pub_methods_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">setGame <a href="#a1dd9626c499a01133e0caee9bb6d0b4c">More...</a><br /></td></tr>
<tr class="separator:a1dd9626c499a01133e0caee9bb6d0b4c inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb943974ab381a96f624d2866a9a0e9e inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#adb943974ab381a96f624d2866a9a0e9e">game</a> () const </td></tr>
<tr class="memdesc:adb943974ab381a96f624d2866a9a0e9e inherit pub_methods_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">game <a href="#adb943974ab381a96f624d2866a9a0e9e">More...</a><br /></td></tr>
<tr class="separator:adb943974ab381a96f624d2866a9a0e9e inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaaa1972f981332708eaf8f97a61a193 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#afaaa1972f981332708eaf8f97a61a193">setEndian</a> (Endian <a class="el" href="class_athena_1_1_z_quest_file.html#ab6861f11b479821f26a06767667b01df">endian</a>)</td></tr>
<tr class="memdesc:afaaa1972f981332708eaf8f97a61a193 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">setEndian <a href="#afaaa1972f981332708eaf8f97a61a193">More...</a><br /></td></tr>
<tr class="separator:afaaa1972f981332708eaf8f97a61a193 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6861f11b479821f26a06767667b01df inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top">Endian&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#ab6861f11b479821f26a06767667b01df">endian</a> () const </td></tr>
<tr class="memdesc:ab6861f11b479821f26a06767667b01df inherit pub_methods_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">endian <a href="#ab6861f11b479821f26a06767667b01df">More...</a><br /></td></tr>
<tr class="separator:ab6861f11b479821f26a06767667b01df inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9047c7699a20d2644bd3a66135a5da5 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#ab9047c7699a20d2644bd3a66135a5da5">setData</a> (atUint8 *<a class="el" href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">data</a>, atUint32 <a class="el" href="class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820">length</a>)</td></tr>
<tr class="memdesc:ab9047c7699a20d2644bd3a66135a5da5 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">setData <a href="#ab9047c7699a20d2644bd3a66135a5da5">More...</a><br /></td></tr>
<tr class="separator:ab9047c7699a20d2644bd3a66135a5da5 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9056511b53ab3b967f7e1995c4ed6184 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top">atUint8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184">data</a> () const </td></tr>
<tr class="memdesc:a9056511b53ab3b967f7e1995c4ed6184 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">data <a href="#a9056511b53ab3b967f7e1995c4ed6184">More...</a><br /></td></tr>
<tr class="separator:a9056511b53ab3b967f7e1995c4ed6184 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9c08de974af9d8a99c07b1127a2d820 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top">atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820">length</a> () const </td></tr>
<tr class="memdesc:aa9c08de974af9d8a99c07b1127a2d820 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">length <a href="#aa9c08de974af9d8a99c07b1127a2d820">More...</a><br /></td></tr>
<tr class="separator:aa9c08de974af9d8a99c07b1127a2d820 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affac45b411a7de1703468eb21ae1ea3f inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affac45b411a7de1703468eb21ae1ea3f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setGameString</b> (const std::string &amp;<a class="el" href="class_athena_1_1_z_quest_file.html#a560b6ca1294259da6f4c532b18791dd4">gameString</a>)</td></tr>
<tr class="separator:affac45b411a7de1703468eb21ae1ea3f inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a560b6ca1294259da6f4c532b18791dd4 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#a560b6ca1294259da6f4c532b18791dd4">gameString</a> () const </td></tr>
<tr class="memdesc:a560b6ca1294259da6f4c532b18791dd4 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">gameString <a href="#a560b6ca1294259da6f4c532b18791dd4">More...</a><br /></td></tr>
<tr class="separator:a560b6ca1294259da6f4c532b18791dd4 inherit pub_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_athena_1_1_z_quest_file"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_athena_1_1_z_quest_file')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td></tr>
<tr class="memitem:ad7b24d66ac0cba30eb80722c44c9c937 inherit pub_types_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a> { <br />
&#160;&#160;<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937acd176244ba137b6b8d6085ad470a332d">NoGame</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a25b108edb95202a40b9148421e477ad8">LoZ</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a23688bdcd1a1dbbf4f2bdeaef86c1af1">AoL</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937aaea6c30c08181cae09944af677b0a715">ALttP</a>,
<br />
&#160;&#160;<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a4bb54f4fa00f9bf9ec3178aa53f964aa">LA</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a37693a7b465353ae0593bc6666190ac1">OoT</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a83a6d0fa9b3691858fc7d522cc4e91c1">OoT3D</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac031509cf62b60a264aded1ac7d8165e">MM</a>,
<br />
&#160;&#160;<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab381eea193dcad8435deac7a4e713884">OoS</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a9d18b23523f95dd3265f108ce51621e9">OoA</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ae41af7ad3f725f4bbd082fccbe219b2a">FS</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad20e457dd99a1d0f35a973dccaff77ba">WW</a>,
<br />
&#160;&#160;<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac33e03de60790459ab701c684d3f3d8f">FSA</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab1af113c04a0c228ef044fce49d059ab">MC</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a50194fea3b394ec0b366465c26fe9031">TP</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a7bbe4794415db6843d2f0cab4d0e45fe">PH</a>,
<br />
&#160;&#160;<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a47f4332532c012f5be606c3c9dba19b6">ST</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab2037dd3a0faa6fb51dbd555bcac4a80">SS</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a3ec6c1d3392116de582ddacf20bb42d8">ALBW</a>,
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad73b4ae573d4ffa951d8aaab487b123d">GameCount</a>
<br />
}</td></tr>
<tr class="memdesc:ad7b24d66ac0cba30eb80722c44c9c937"><td class="mdescLeft">&#160;</td><td class="mdescRight">The list of games currently supported by ZQuest. <a href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">More...</a><br /></td></tr>
<tr class="separator:ad7b24d66ac0cba30eb80722c44c9c937 inherit pub_types_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_athena_1_1_z_quest_file"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_athena_1_1_z_quest_file')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td></tr>
<tr class="memitem:add601b42448f475495e46d48795b0dd6 inherit pub_static_methods_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add601b42448f475495e46d48795b0dd6"></a>
static const std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>gameStringList</b> ()</td></tr>
<tr class="separator:add601b42448f475495e46d48795b0dd6 inherit pub_static_methods_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_attribs_class_athena_1_1_z_quest_file"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_athena_1_1_z_quest_file')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td></tr>
<tr class="memitem:adb8f9350b056b422271a376797f9ffd3 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb8f9350b056b422271a376797f9ffd3"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#adb8f9350b056b422271a376797f9ffd3">Major</a></td></tr>
<tr class="memdesc:adb8f9350b056b422271a376797f9ffd3 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current major version of the ZQuest format. <br /></td></tr>
<tr class="separator:adb8f9350b056b422271a376797f9ffd3 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf2090c9f4e96671a67b439d547a37e5 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf2090c9f4e96671a67b439d547a37e5"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#adf2090c9f4e96671a67b439d547a37e5">Minor</a></td></tr>
<tr class="memdesc:adf2090c9f4e96671a67b439d547a37e5 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current minor version of the ZQuest format. <br /></td></tr>
<tr class="separator:adf2090c9f4e96671a67b439d547a37e5 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a605fe0473e8a478f57d0a7094dee20d2 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a605fe0473e8a478f57d0a7094dee20d2"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#a605fe0473e8a478f57d0a7094dee20d2">Revision</a></td></tr>
<tr class="memdesc:a605fe0473e8a478f57d0a7094dee20d2 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current revision of the ZQuest format. <br /></td></tr>
<tr class="separator:a605fe0473e8a478f57d0a7094dee20d2 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a596bf7f03609d29d6dfc4651c3babde8 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a596bf7f03609d29d6dfc4651c3babde8"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#a596bf7f03609d29d6dfc4651c3babde8">Version</a></td></tr>
<tr class="memdesc:a596bf7f03609d29d6dfc4651c3babde8 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current version of the ZQuest format. <br /></td></tr>
<tr class="separator:a596bf7f03609d29d6dfc4651c3babde8 inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82f0f561595b2acc534ee5933b9aff1d inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82f0f561595b2acc534ee5933b9aff1d"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_z_quest_file.html#a82f0f561595b2acc534ee5933b9aff1d">Magic</a></td></tr>
<tr class="memdesc:a82f0f561595b2acc534ee5933b9aff1d inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">The magic number used to identify the file e.g. "ZQS1". <br /></td></tr>
<tr class="separator:a82f0f561595b2acc534ee5933b9aff1d inherit pub_static_attribs_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_athena_1_1_z_quest_file"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_athena_1_1_z_quest_file')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_athena_1_1_z_quest_file.html">Athena::ZQuestFile</a></td></tr>
<tr class="memitem:aed949ec48fc80e2907f5e640da798e44 inherit pro_attribs_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed949ec48fc80e2907f5e640da798e44"></a>
<a class="el" href="class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937">Game</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_game</b></td></tr>
<tr class="separator:aed949ec48fc80e2907f5e640da798e44 inherit pro_attribs_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae806a8314dab2d0187af5e356340ae5f inherit pro_attribs_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae806a8314dab2d0187af5e356340ae5f"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>m_gameString</b></td></tr>
<tr class="separator:ae806a8314dab2d0187af5e356340ae5f inherit pro_attribs_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88c7b3f04ad22365bf792c1fbb160eae inherit pro_attribs_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a88c7b3f04ad22365bf792c1fbb160eae"></a>
Endian&#160;</td><td class="memItemRight" valign="bottom"><b>m_endian</b></td></tr>
<tr class="separator:a88c7b3f04ad22365bf792c1fbb160eae inherit pro_attribs_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab0288903223e475367a4b8cbfa3c587 inherit pro_attribs_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab0288903223e475367a4b8cbfa3c587"></a>
atUint8 *&#160;</td><td class="memItemRight" valign="bottom"><b>m_data</b></td></tr>
<tr class="separator:aab0288903223e475367a4b8cbfa3c587 inherit pro_attribs_class_athena_1_1_z_quest_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b0efee783bda87d87e7ff3df0fa2236 inherit pro_attribs_class_athena_1_1_z_quest_file"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b0efee783bda87d87e7ff3df0fa2236"></a>
atUint32&#160;</td><td class="memItemRight" valign="bottom"><b>m_length</b></td></tr>
<tr class="separator:a3b0efee783bda87d87e7ff3df0fa2236 inherit pro_attribs_class_athena_1_1_z_quest_file"><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>Definition at line <a class="el" href="_m_c_slot_8hpp_source.html#l00009">9</a> of file <a class="el" href="_m_c_slot_8hpp_source.html">MCSlot.hpp</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>include/Athena/<a class="el" href="_m_c_slot_8hpp_source.html">MCSlot.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="class_athena_1_1_m_c_slot.html">MCSlot</a></li>
<li class="footer">Generated on Thu May 21 2015 01:59:39 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,4 @@
var class_athena_1_1_m_c_slot =
[
[ "MCSlot", "class_athena_1_1_m_c_slot.html#ad9e06326bf01877f363c24c4f1b60b54", null ]
];

View File

@ -0,0 +1,3 @@
<map id="Athena::MCSlot" name="Athena::MCSlot">
<area shape="rect" id="node2" href="$class_athena_1_1_z_quest_file.html" title="ZQuestFile is an export format for save data. " alt="" coords="5,5,153,391"/>
</map>

View File

@ -0,0 +1 @@
4469393158ac513728639a00a9d65e13

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1,3 @@
<map id="Athena::MCSlot" name="Athena::MCSlot">
<area shape="rect" id="node2" href="$class_athena_1_1_z_quest_file.html" title="ZQuestFile is an export format for save data. " alt="" coords="5,5,153,391"/>
</map>

View File

@ -0,0 +1 @@
4469393158ac513728639a00a9d65e13

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1,155 @@
<!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.9.1"/>
<title>Athena IO Library: Member List</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 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.9.1 -->
<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('class_athena_1_1_sakura_1_1_sprite.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">Athena::Sakura::Sprite Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>, including all inherited members.</p>
<table class="directory">
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>addFrame</b>(SpriteFrame *Frame) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>addStateId</b>(int id) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>advanceFrame</b>() (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>container</b>() const (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>currentFrame</b>() const (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>currentState</b>() const (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Frame</b>(atUint32 id) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>frameCount</b>() const (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>frames</b>() const (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>name</b>() const (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>position</b>() const (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>removeFrame</b>(SpriteFrame *Frame) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>retreatFrame</b>() (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>root</b>() const (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setCurrentFrame</b>(SpriteFrame *frame) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>setCurrentFrame</b>(atUint32 id) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setCurrentState</b>(atUint32 id) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>setFrame</b>(atUint32 id) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setFrames</b>(std::vector&lt; SpriteFrame * &gt; frames) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>setName</b>(const std::string &amp;name) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setPosition</b>(const float x, const float y) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>setPosition</b>(const Vector2Df &amp;pos) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setRoot</b>(SpriteFile *root) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>setStateIds</b>(std::vector&lt; int &gt; ids) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Sprite</b>(SpriteFile *root) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>Sprite</b>(SpriteFile *root, const std::string &amp;name) (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>stateCount</b>() const (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html#a8717ac9b9947b356cdca8b227457b9b3">stateId</a>(int index) const </td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>stateIds</b>() const (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>~Sprite</b>() (defined in <a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a>)</td><td class="entry"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Athena::Sakura::Sprite</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Thu May 21 2015 01:59:43 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,254 @@
<!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.9.1"/>
<title>Athena IO Library: Athena::Sakura::Sprite 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 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.9.1 -->
<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('class_athena_1_1_sakura_1_1_sprite.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-methods">Public Member Functions</a> &#124;
<a href="class_athena_1_1_sakura_1_1_sprite-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Athena::Sakura::Sprite Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for Athena::Sakura::Sprite:</div>
<div class="dyncontent">
<div class="center"><img src="class_athena_1_1_sakura_1_1_sprite__coll__graph.png" border="0" usemap="#_athena_1_1_sakura_1_1_sprite_coll__map" alt="Collaboration graph"/></div>
</div>
<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:a3714ce90ba0a50e82cb9c4c05ab1bb35"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3714ce90ba0a50e82cb9c4c05ab1bb35"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Sprite</b> (<a class="el" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a> *root)</td></tr>
<tr class="separator:a3714ce90ba0a50e82cb9c4c05ab1bb35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e7f2457927256c52998147ce8c68aeb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e7f2457927256c52998147ce8c68aeb"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Sprite</b> (<a class="el" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a> *root, const std::string &amp;name)</td></tr>
<tr class="separator:a5e7f2457927256c52998147ce8c68aeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61e8cf2b592fbf53c8c3dff828899b24"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a61e8cf2b592fbf53c8c3dff828899b24"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setPosition</b> (const float x, const float y)</td></tr>
<tr class="separator:a61e8cf2b592fbf53c8c3dff828899b24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01ba17724dbdc7ba2079b7a644587202"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a01ba17724dbdc7ba2079b7a644587202"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setPosition</b> (const <a class="el" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> &amp;pos)</td></tr>
<tr class="separator:a01ba17724dbdc7ba2079b7a644587202"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad04224c771bf4dfcdea4c1acea5f5508"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad04224c771bf4dfcdea4c1acea5f5508"></a>
virtual <a class="el" href="class_athena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a>&#160;</td><td class="memItemRight" valign="bottom"><b>position</b> () const </td></tr>
<tr class="separator:ad04224c771bf4dfcdea4c1acea5f5508"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ffd5bdf4f9a509a86f6fc7651d9c559"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3ffd5bdf4f9a509a86f6fc7651d9c559"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setName</b> (const std::string &amp;name)</td></tr>
<tr class="separator:a3ffd5bdf4f9a509a86f6fc7651d9c559"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55d8272f32d43fc973a466b3b947ffcc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a55d8272f32d43fc973a466b3b947ffcc"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>name</b> () const </td></tr>
<tr class="separator:a55d8272f32d43fc973a466b3b947ffcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16093b6c58b6d501e63878cdef5039cf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16093b6c58b6d501e63878cdef5039cf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addStateId</b> (int id)</td></tr>
<tr class="separator:a16093b6c58b6d501e63878cdef5039cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8717ac9b9947b356cdca8b227457b9b3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html#a8717ac9b9947b356cdca8b227457b9b3">stateId</a> (int index) const </td></tr>
<tr class="memdesc:a8717ac9b9947b356cdca8b227457b9b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the texture id of a given state. <a href="#a8717ac9b9947b356cdca8b227457b9b3">More...</a><br /></td></tr>
<tr class="separator:a8717ac9b9947b356cdca8b227457b9b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a064575f10c9b410614370b28342eb290"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a064575f10c9b410614370b28342eb290"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setStateIds</b> (std::vector&lt; int &gt; ids)</td></tr>
<tr class="separator:a064575f10c9b410614370b28342eb290"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7587b8c9421c7acf4c89f2f9017c957b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7587b8c9421c7acf4c89f2f9017c957b"></a>
std::vector&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>stateIds</b> () const </td></tr>
<tr class="separator:a7587b8c9421c7acf4c89f2f9017c957b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7131032dde39f5a9a2d854a3c42b2f1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7131032dde39f5a9a2d854a3c42b2f1"></a>
atUint32&#160;</td><td class="memItemRight" valign="bottom"><b>stateCount</b> () const </td></tr>
<tr class="separator:ab7131032dde39f5a9a2d854a3c42b2f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa06a8a062e5e7eb45765f901577c81fd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa06a8a062e5e7eb45765f901577c81fd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setCurrentState</b> (atUint32 id)</td></tr>
<tr class="separator:aa06a8a062e5e7eb45765f901577c81fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81435ce7a0f6b9b6772257fef265bacc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81435ce7a0f6b9b6772257fef265bacc"></a>
atUint32&#160;</td><td class="memItemRight" valign="bottom"><b>currentState</b> () const </td></tr>
<tr class="separator:a81435ce7a0f6b9b6772257fef265bacc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7663f799b3c81c0adc7eb06e3003ca9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7663f799b3c81c0adc7eb06e3003ca9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>addFrame</b> (<a class="el" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> *Frame)</td></tr>
<tr class="separator:ac7663f799b3c81c0adc7eb06e3003ca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7ecdb5931b148dce9343148ce0dd1a2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7ecdb5931b148dce9343148ce0dd1a2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>removeFrame</b> (<a class="el" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> *Frame)</td></tr>
<tr class="separator:ae7ecdb5931b148dce9343148ce0dd1a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae215ca7352b108b82c5b0292fdb00d68"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae215ca7352b108b82c5b0292fdb00d68"></a>
<a class="el" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>Frame</b> (atUint32 id)</td></tr>
<tr class="separator:ae215ca7352b108b82c5b0292fdb00d68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16615fd87dcc820b6ac05d8f9b9d8a7a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16615fd87dcc820b6ac05d8f9b9d8a7a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFrame</b> (atUint32 id)</td></tr>
<tr class="separator:a16615fd87dcc820b6ac05d8f9b9d8a7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37a5924bc43977a101a0842788cde725"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a37a5924bc43977a101a0842788cde725"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFrames</b> (std::vector&lt; <a class="el" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> * &gt; frames)</td></tr>
<tr class="separator:a37a5924bc43977a101a0842788cde725"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a867bd300573879a266bc9de4dae622cf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a867bd300573879a266bc9de4dae622cf"></a>
atUint32&#160;</td><td class="memItemRight" valign="bottom"><b>frameCount</b> () const </td></tr>
<tr class="separator:a867bd300573879a266bc9de4dae622cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62c6886d3f95d5961e3a91d91c5af101"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c6886d3f95d5961e3a91d91c5af101"></a>
std::vector&lt; <a class="el" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>frames</b> () const </td></tr>
<tr class="separator:a62c6886d3f95d5961e3a91d91c5af101"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5374e2757ba23a46f784b14e4881692"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5374e2757ba23a46f784b14e4881692"></a>
<a class="el" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>container</b> () const </td></tr>
<tr class="separator:aa5374e2757ba23a46f784b14e4881692"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e7974600dff457040683b8ec7613733"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e7974600dff457040683b8ec7613733"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setCurrentFrame</b> (<a class="el" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> *frame)</td></tr>
<tr class="separator:a5e7974600dff457040683b8ec7613733"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30922311b28662601c8c552677879ab5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30922311b28662601c8c552677879ab5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setCurrentFrame</b> (atUint32 id)</td></tr>
<tr class="separator:a30922311b28662601c8c552677879ab5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68851adee874e3917afd38751c2c0dfb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a68851adee874e3917afd38751c2c0dfb"></a>
<a class="el" href="class_athena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>currentFrame</b> () const </td></tr>
<tr class="separator:a68851adee874e3917afd38751c2c0dfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ac892903d266c2a4d87c66fbf35df27"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ac892903d266c2a4d87c66fbf35df27"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>advanceFrame</b> ()</td></tr>
<tr class="separator:a8ac892903d266c2a4d87c66fbf35df27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a849d875c4a8931ef79166c1c9b4f2493"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a849d875c4a8931ef79166c1c9b4f2493"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>retreatFrame</b> ()</td></tr>
<tr class="separator:a849d875c4a8931ef79166c1c9b4f2493"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe0d7d26bc8183514aa037ed0793861f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afe0d7d26bc8183514aa037ed0793861f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setRoot</b> (<a class="el" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a> *root)</td></tr>
<tr class="separator:afe0d7d26bc8183514aa037ed0793861f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74f15ba7c643ef057fb1e5cb56ec6cfe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74f15ba7c643ef057fb1e5cb56ec6cfe"></a>
<a class="el" href="class_athena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>root</b> () const </td></tr>
<tr class="separator:a74f15ba7c643ef057fb1e5cb56ec6cfe"><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>Definition at line <a class="el" href="_sprite_8hpp_source.html#l00039">39</a> of file <a class="el" href="_sprite_8hpp_source.html">Sprite.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a8717ac9b9947b356cdca8b227457b9b3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Athena::Sakura::Sprite::stateId </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the texture id of a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">index</td><td>The index of the id. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>return the state id if it exists, -1 otherwise </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/Athena/<a class="el" href="_sprite_8hpp_source.html">Sprite.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"><b>Sakura</b></li><li class="navelem"><a class="el" href="class_athena_1_1_sakura_1_1_sprite.html">Sprite</a></li>
<li class="footer">Generated on Thu May 21 2015 01:59:43 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,33 @@
var class_athena_1_1_sakura_1_1_sprite =
[
[ "Sprite", "class_athena_1_1_sakura_1_1_sprite.html#a3714ce90ba0a50e82cb9c4c05ab1bb35", null ],
[ "Sprite", "class_athena_1_1_sakura_1_1_sprite.html#a5e7f2457927256c52998147ce8c68aeb", null ],
[ "~Sprite", "class_athena_1_1_sakura_1_1_sprite.html#ab2f1d41a6a2d9d707783f8256df6d5d3", null ],
[ "addFrame", "class_athena_1_1_sakura_1_1_sprite.html#ac7663f799b3c81c0adc7eb06e3003ca9", null ],
[ "addStateId", "class_athena_1_1_sakura_1_1_sprite.html#a16093b6c58b6d501e63878cdef5039cf", null ],
[ "advanceFrame", "class_athena_1_1_sakura_1_1_sprite.html#a8ac892903d266c2a4d87c66fbf35df27", null ],
[ "container", "class_athena_1_1_sakura_1_1_sprite.html#aa5374e2757ba23a46f784b14e4881692", null ],
[ "currentFrame", "class_athena_1_1_sakura_1_1_sprite.html#a68851adee874e3917afd38751c2c0dfb", null ],
[ "currentState", "class_athena_1_1_sakura_1_1_sprite.html#a81435ce7a0f6b9b6772257fef265bacc", null ],
[ "Frame", "class_athena_1_1_sakura_1_1_sprite.html#ae215ca7352b108b82c5b0292fdb00d68", null ],
[ "frameCount", "class_athena_1_1_sakura_1_1_sprite.html#a867bd300573879a266bc9de4dae622cf", null ],
[ "frames", "class_athena_1_1_sakura_1_1_sprite.html#a62c6886d3f95d5961e3a91d91c5af101", null ],
[ "name", "class_athena_1_1_sakura_1_1_sprite.html#a55d8272f32d43fc973a466b3b947ffcc", null ],
[ "position", "class_athena_1_1_sakura_1_1_sprite.html#ad04224c771bf4dfcdea4c1acea5f5508", null ],
[ "removeFrame", "class_athena_1_1_sakura_1_1_sprite.html#ae7ecdb5931b148dce9343148ce0dd1a2", null ],
[ "retreatFrame", "class_athena_1_1_sakura_1_1_sprite.html#a849d875c4a8931ef79166c1c9b4f2493", null ],
[ "root", "class_athena_1_1_sakura_1_1_sprite.html#a74f15ba7c643ef057fb1e5cb56ec6cfe", null ],
[ "setCurrentFrame", "class_athena_1_1_sakura_1_1_sprite.html#a5e7974600dff457040683b8ec7613733", null ],
[ "setCurrentFrame", "class_athena_1_1_sakura_1_1_sprite.html#a30922311b28662601c8c552677879ab5", null ],
[ "setCurrentState", "class_athena_1_1_sakura_1_1_sprite.html#aa06a8a062e5e7eb45765f901577c81fd", null ],
[ "setFrame", "class_athena_1_1_sakura_1_1_sprite.html#a16615fd87dcc820b6ac05d8f9b9d8a7a", null ],
[ "setFrames", "class_athena_1_1_sakura_1_1_sprite.html#a37a5924bc43977a101a0842788cde725", null ],
[ "setName", "class_athena_1_1_sakura_1_1_sprite.html#a3ffd5bdf4f9a509a86f6fc7651d9c559", null ],
[ "setPosition", "class_athena_1_1_sakura_1_1_sprite.html#a61e8cf2b592fbf53c8c3dff828899b24", null ],
[ "setPosition", "class_athena_1_1_sakura_1_1_sprite.html#a01ba17724dbdc7ba2079b7a644587202", null ],
[ "setRoot", "class_athena_1_1_sakura_1_1_sprite.html#afe0d7d26bc8183514aa037ed0793861f", null ],
[ "setStateIds", "class_athena_1_1_sakura_1_1_sprite.html#a064575f10c9b410614370b28342eb290", null ],
[ "stateCount", "class_athena_1_1_sakura_1_1_sprite.html#ab7131032dde39f5a9a2d854a3c42b2f1", null ],
[ "stateId", "class_athena_1_1_sakura_1_1_sprite.html#a8717ac9b9947b356cdca8b227457b9b3", null ],
[ "stateIds", "class_athena_1_1_sakura_1_1_sprite.html#a7587b8c9421c7acf4c89f2f9017c957b", null ]
];

View File

@ -0,0 +1,2 @@
<map id="Athena::Sakura::Sprite" name="Athena::Sakura::Sprite">
</map>

View File

@ -0,0 +1 @@
31a0b027a050d3f2e0b02f98854682dd

Some files were not shown because too many files have changed in this diff Show More