diff options
Diffstat (limited to 'doc/html/pointer_8h_source.html')
-rw-r--r-- | doc/html/pointer_8h_source.html | 215 |
1 files changed, 215 insertions, 0 deletions
diff --git a/doc/html/pointer_8h_source.html b/doc/html/pointer_8h_source.html new file mode 100644 index 0000000..24bb4ff --- /dev/null +++ b/doc/html/pointer_8h_source.html @@ -0,0 +1,215 @@ +<!-- HTML header for doxygen 1.8.3.1--> +<!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.6"/> +<title>Templates -- Meow: /home/cathook/Projects/template_meow/meowpp/utility/pointer.h 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="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); + $(window).load(resizeHeight); +</script> +<link href="stylesheet.css" rel="stylesheet" type="text/css" /> +<link href="custom.css" rel="stylesheet" type="text/css"/> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectlogo"><img alt="Logo" src="logo.png"/></td> + <td style="padding-left: 0.5em;"> + <div id="projectname">Templates -- Meow +  <span id="projectnumber">2.0.-1</span> + </div> + <div id="projectbrief">A C++ template contains kinds of interesting classes and functions</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.6 --> +</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('pointer_8h_source.html','');}); +</script> +<div id="doc-content"> +<div class="header"> + <div class="headertitle"> +<div class="title">pointer.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="pointer_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef __MEOWPP_UTILITY_POINTER_H__</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor"></span><span class="preprocessor">#define __MEOWPP_UTILITY_POINTER_H__</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <cstddef></span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <cstdlib></span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="object_8h.html">object.h</a>"</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">namespace </span>meow {</div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div> +<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25"> 23</a></span> <span class="keyword">enum</span> <a class="code" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25">PointerType</a> {</div> +<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25a5ed9b6fb769c90364a02f1fa9b531be7"> 24</a></span>  <a class="code" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25a5ed9b6fb769c90364a02f1fa9b531be7">SINGLE</a> = 0,</div> +<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25aed0b6648bf9f6e754fbc2e4a1ee87c69"> 25</a></span>  <a class="code" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25aed0b6648bf9f6e754fbc2e4a1ee87c69">ARRAY</a> = 1</div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">template</span><<span class="keyword">typename</span> Type></div> +<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html"> 33</a></span> <span class="keyword">class </span><a class="code" href="classmeow_1_1Pointer.html">Pointer</a> : <span class="keyword">public</span> <a class="code" href="classmeow_1_1Object.html">Object</a> {</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">private</span>:</div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">struct </span>RealPointer {</div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  Type* <a class="code" href="classmeow_1_1Pointer.html#ad875737550abca2add986e3214ae9078">address</a>;</div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25">PointerType</a> type;</div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Pointer.html#ad3074788ef09cb3684709336aa2bfd3d">auto_delete</a>;</div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordtype">int</span> counter;</div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  RealPointer(Type* arg_address,</div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25">PointerType</a> arg_type,</div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordtype">bool</span> arg_auto_delete,</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">int</span> arg_counter) :</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classmeow_1_1Pointer.html#ad875737550abca2add986e3214ae9078">address</a>(arg_address),</div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  type(arg_type),</div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classmeow_1_1Pointer.html#ad3074788ef09cb3684709336aa2bfd3d">auto_delete</a>(arg_auto_delete),</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  counter(arg_counter) {}</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  ~RealPointer() {</div> +<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">if</span> (<a class="code" href="classmeow_1_1Pointer.html#ad3074788ef09cb3684709336aa2bfd3d">auto_delete</a>) {</div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">switch</span> (type) {</div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">case</span> <a class="code" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25a5ed9b6fb769c90364a02f1fa9b531be7">SINGLE</a>:</div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">delete</span> <a class="code" href="classmeow_1_1Pointer.html#ad875737550abca2add986e3214ae9078">address</a>;</div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">break</span>;</div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">case</span> <a class="code" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25aed0b6648bf9f6e754fbc2e4a1ee87c69">ARRAY</a>:</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">delete</span> [] <a class="code" href="classmeow_1_1Pointer.html#ad875737550abca2add986e3214ae9078">address</a>;</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">break</span>;</div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }</div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  }</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  };</div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  RealPointer* ptr_;</div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">void</span> Attach(RealPointer* arg_ptr2) {</div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  ptr_ = arg_ptr2;</div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  ptr_->counter += 1;</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">void</span> Detach() {</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  ptr_->counter -= 1;</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">if</span> (ptr_->counter == 0) {</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">delete</span> ptr_;</div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  }</div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">public</span>:</div> +<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#a271c75434e4d9155c263f5fe18e93e5e"> 87</a></span>  <a class="code" href="classmeow_1_1Pointer.html#a271c75434e4d9155c263f5fe18e93e5e">Pointer</a>() : <a class="code" href="classmeow_1_1Pointer.html">Pointer</a>(NULL, <a class="code" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25a5ed9b6fb769c90364a02f1fa9b531be7">SINGLE</a>, false) {}</div> +<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div> +<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#aafcb137b29de965ece7c9d59784805c2"> 92</a></span>  <a class="code" href="classmeow_1_1Pointer.html#aafcb137b29de965ece7c9d59784805c2">Pointer</a>(<a class="code" href="classmeow_1_1Pointer.html">Pointer</a> <span class="keyword">const</span>& arg_ptr) {</div> +<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  Attach(arg_ptr.ptr_);</div> +<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div> +<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#acd6d73cfc219b9add5fad366a9c17870"> 106</a></span>  <a class="code" href="classmeow_1_1Pointer.html#acd6d73cfc219b9add5fad366a9c17870">Pointer</a>(Type* arg_address, <a class="code" href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25">PointerType</a> arg_type, <span class="keywordtype">bool</span> arg_auto_delete) :</div> +<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  ptr_(new RealPointer(arg_address, arg_type, arg_auto_delete, 1)) {}</div> +<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div> +<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#abe46535e254a3d1772419916d35b901b"> 112</a></span>  <a class="code" href="classmeow_1_1Pointer.html#abe46535e254a3d1772419916d35b901b">~Pointer</a>() { Detach(); }</div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> +<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#ad3074788ef09cb3684709336aa2bfd3d"> 117</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Pointer.html#ad3074788ef09cb3684709336aa2bfd3d">auto_delete</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">return</span> ptr_->auto_delete;</div> +<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  }</div> +<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div> +<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#ad875737550abca2add986e3214ae9078"> 124</a></span>  Type* <a class="code" href="classmeow_1_1Pointer.html#ad875737550abca2add986e3214ae9078">address</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span> ptr_->address;</div> +<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  }</div> +<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div> +<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#af8a74f6f799d235cb9b873db9ee1a3b8"> 131</a></span>  <span class="keyword">operator</span> Type*() <span class="keyword">const</span> {</div> +<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Pointer.html#ad875737550abca2add986e3214ae9078">address</a>();</div> +<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  }</div> +<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div> +<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#a2920cc0525220ef9fec8fe1fed37e95d"> 138</a></span>  Type* <a class="code" href="classmeow_1_1Pointer.html#a2920cc0525220ef9fec8fe1fed37e95d">operator-></a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Pointer.html#ad875737550abca2add986e3214ae9078">address</a>();</div> +<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  }</div> +<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div> +<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#ad4677dde96a377c325066159c6691782"> 145</a></span>  <a class="code" href="classmeow_1_1Pointer.html">Pointer</a>& <a class="code" href="classmeow_1_1Pointer.html#ad4677dde96a377c325066159c6691782">operator=</a>(<a class="code" href="classmeow_1_1Pointer.html">Pointer</a> <span class="keyword">const</span>& b) {</div> +<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  Detach();</div> +<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  Attach(b.ptr_);</div> +<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div> +<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div> +<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#a7dcbac9a7567b5f2bc3649c968f356cb"> 151</a></span>  <a class="code" href="classmeow_1_1Object.html">Object</a>* <a class="code" href="classmeow_1_1Pointer.html#a7dcbac9a7567b5f2bc3649c968f356cb">Copy</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classmeow_1_1Pointer.html#a271c75434e4d9155c263f5fe18e93e5e">Pointer</a>(*<span class="keyword">this</span>);</div> +<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  }</div> +<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div> +<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#a1d438accda78cb6d04fb4ced8f9a8f87"> 155</a></span>  <a class="code" href="classmeow_1_1Object.html">Object</a>* <a class="code" href="classmeow_1_1Pointer.html#a1d438accda78cb6d04fb4ced8f9a8f87">CopyFrom</a>(<a class="code" href="classmeow_1_1Object.html">Object</a> <span class="keyword">const</span>* another_pointer) {</div> +<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  (*this) = *<span class="keyword">dynamic_cast<</span><a class="code" href="classmeow_1_1Pointer.html">Pointer</a> const*<span class="keyword">></span>(another_pointer);</div> +<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">return</span> <span class="keyword">this</span>;</div> +<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  }</div> +<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div> +<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classmeow_1_1Pointer.html#a4a2f994523121fabe031386ab38fbd86"> 160</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Pointer.html#a4a2f994523121fabe031386ab38fbd86">Equals</a>(<a class="code" href="classmeow_1_1Object.html">Object</a> <span class="keyword">const</span>* another_pointer) {</div> +<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> (ptr_->address ==</div> +<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  dynamic_cast<Pointer const*>(another_pointer)->ptr_->address);</div> +<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  }</div> +<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div> +<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="preprocessor">#ifdef MEOWPP_UTILITY_POINTER_TESTING</span></div> +<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="preprocessor"></span> <span class="keyword">friend</span> <span class="keyword">class </span>PointerTest;</div> +<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="preprocessor">#endif // MEOWPP_UTILLITY_POINTER_TESTING</span></div> +<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> };</div> +<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div> +<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> } <span class="comment">// meow</span></div> +<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> </div> +<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="preprocessor">#endif // __MEOWPP_UTILITY_POINTER_H__</span></div> +<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="preprocessor"></span></div> +<div class="ttc" id="classmeow_1_1Pointer_html"><div class="ttname"><a href="classmeow_1_1Pointer.html">meow::Pointer</a></div><div class="ttdoc">A pointer points to the template Type. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00033">pointer.h:33</a></div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_ad875737550abca2add986e3214ae9078"><div class="ttname"><a href="classmeow_1_1Pointer.html#ad875737550abca2add986e3214ae9078">meow::Pointer::address</a></div><div class="ttdeci">Type * address() const </div><div class="ttdoc">Gets the address it points to. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00124">pointer.h:124</a></div></div> +<div class="ttc" id="namespacemeow_html_a3f2727678fa08c20d3eb3c942bf15d25a5ed9b6fb769c90364a02f1fa9b531be7"><div class="ttname"><a href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25a5ed9b6fb769c90364a02f1fa9b531be7">meow::SINGLE</a></div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00024">pointer.h:24</a></div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_a1d438accda78cb6d04fb4ced8f9a8f87"><div class="ttname"><a href="classmeow_1_1Pointer.html#a1d438accda78cb6d04fb4ced8f9a8f87">meow::Pointer::CopyFrom</a></div><div class="ttdeci">Object * CopyFrom(Object const *another_pointer)</div><div class="ttdoc">Copies data from another object. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00155">pointer.h:155</a></div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_a271c75434e4d9155c263f5fe18e93e5e"><div class="ttname"><a href="classmeow_1_1Pointer.html#a271c75434e4d9155c263f5fe18e93e5e">meow::Pointer::Pointer</a></div><div class="ttdeci">Pointer()</div><div class="ttdoc">Default constructor, let the pointer points to NULL. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00087">pointer.h:87</a></div></div> +<div class="ttc" id="namespacemeow_html_a3f2727678fa08c20d3eb3c942bf15d25"><div class="ttname"><a href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25">meow::PointerType</a></div><div class="ttdeci">PointerType</div><div class="ttdoc">Types of pointer. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00023">pointer.h:23</a></div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_ad4677dde96a377c325066159c6691782"><div class="ttname"><a href="classmeow_1_1Pointer.html#ad4677dde96a377c325066159c6691782">meow::Pointer::operator=</a></div><div class="ttdeci">Pointer & operator=(Pointer const &b)</div><div class="ttdoc">Points to another instance of Pointer. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00145">pointer.h:145</a></div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_a4a2f994523121fabe031386ab38fbd86"><div class="ttname"><a href="classmeow_1_1Pointer.html#a4a2f994523121fabe031386ab38fbd86">meow::Pointer::Equals</a></div><div class="ttdeci">bool Equals(Object const *another_pointer)</div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00160">pointer.h:160</a></div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_a2920cc0525220ef9fec8fe1fed37e95d"><div class="ttname"><a href="classmeow_1_1Pointer.html#a2920cc0525220ef9fec8fe1fed37e95d">meow::Pointer::operator-></a></div><div class="ttdeci">Type * operator->() const </div><div class="ttdoc">Gets the pointer points to the body. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00138">pointer.h:138</a></div></div> +<div class="ttc" id="namespacemeow_html_a3f2727678fa08c20d3eb3c942bf15d25aed0b6648bf9f6e754fbc2e4a1ee87c69"><div class="ttname"><a href="namespacemeow.html#a3f2727678fa08c20d3eb3c942bf15d25aed0b6648bf9f6e754fbc2e4a1ee87c69">meow::ARRAY</a></div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00025">pointer.h:25</a></div></div> +<div class="ttc" id="classmeow_1_1Object_html"><div class="ttname"><a href="classmeow_1_1Object.html">meow::Object</a></div><div class="ttdoc">The base class. </div><div class="ttdef"><b>Definition:</b> <a href="object_8h_source.html#l00020">object.h:20</a></div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_aafcb137b29de965ece7c9d59784805c2"><div class="ttname"><a href="classmeow_1_1Pointer.html#aafcb137b29de965ece7c9d59784805c2">meow::Pointer::Pointer</a></div><div class="ttdeci">Pointer(Pointer const &arg_ptr)</div><div class="ttdoc">Copy constructor. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00092">pointer.h:92</a></div></div> +<div class="ttc" id="object_8h_html"><div class="ttname"><a href="object_8h.html">object.h</a></div><div class="ttdoc">Contains a base class for most of all the classes in meowpp. </div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_a7dcbac9a7567b5f2bc3649c968f356cb"><div class="ttname"><a href="classmeow_1_1Pointer.html#a7dcbac9a7567b5f2bc3649c968f356cb">meow::Pointer::Copy</a></div><div class="ttdeci">Object * Copy() const </div><div class="ttdoc">Creates a copy of itself and return the pointer to it. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00151">pointer.h:151</a></div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_acd6d73cfc219b9add5fad366a9c17870"><div class="ttname"><a href="classmeow_1_1Pointer.html#acd6d73cfc219b9add5fad366a9c17870">meow::Pointer::Pointer</a></div><div class="ttdeci">Pointer(Type *arg_address, PointerType arg_type, bool arg_auto_delete)</div><div class="ttdoc">Constructor with gived address to point. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00106">pointer.h:106</a></div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_ad3074788ef09cb3684709336aa2bfd3d"><div class="ttname"><a href="classmeow_1_1Pointer.html#ad3074788ef09cb3684709336aa2bfd3d">meow::Pointer::auto_delete</a></div><div class="ttdeci">bool auto_delete() const </div><div class="ttdoc">Gets whether it will delete the address automatically or not. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00117">pointer.h:117</a></div></div> +<div class="ttc" id="classmeow_1_1Pointer_html_abe46535e254a3d1772419916d35b901b"><div class="ttname"><a href="classmeow_1_1Pointer.html#abe46535e254a3d1772419916d35b901b">meow::Pointer::~Pointer</a></div><div class="ttdeci">~Pointer()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> <a href="pointer_8h_source.html#l00112">pointer.h:112</a></div></div> +</div><!-- fragment --></div><!-- contents --> +</div><!-- doc-content --> +<!-- HTML footer for doxygen 1.8.3.1--> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="dir_92fecd8d02dd5e7a67429447fdf0f60f.html">meowpp</a></li><li class="navelem"><a class="el" href="dir_310883ca86d42971a9d74da2c3f04777.html">utility</a></li><li class="navelem"><a class="el" href="pointer_8h.html">pointer.h</a></li> + <li class="footer">Generated on Mon Sep 29 2014 16:55:35 for Templates -- Meow by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> + </ul> +</div> +</body> +</html> |