diff options
Diffstat (limited to 'doc/html/Self_8h_source.html')
-rw-r--r-- | doc/html/Self_8h_source.html | 415 |
1 files changed, 228 insertions, 187 deletions
diff --git a/doc/html/Self_8h_source.html b/doc/html/Self_8h_source.html index 5a60810..eeb17f3 100644 --- a/doc/html/Self_8h_source.html +++ b/doc/html/Self_8h_source.html @@ -28,7 +28,7 @@ <td id="projectlogo"><img alt="Logo" src="logo.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">Templates -- Meow -  <span id="projectnumber">204.13.18</span> +  <span id="projectnumber">1.2.9</span> </div> <div id="projectbrief">A C++ template contains kinds of interesting classes and functions</div> </td> @@ -62,197 +62,238 @@ $(document).ready(function(){initNavTree('Self_8h_source.html','');}); <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor"></span><span class="preprocessor">#define Self_h__</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <cstdlib></span></div> -<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div> -<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="keyword">namespace </span>meow {</div> -<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div> -<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keyword">template</span><<span class="keyword">class</span> Data></div> -<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html"> 104</a></span> <span class="keyword">class </span><a class="code" href="classmeow_1_1Self.html">Self</a> {</div> -<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="keyword">public</span>:</div> -<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8"> 109</a></span>  <span class="keyword">enum</span> <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">DuplicateType</a> {</div> -<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730"> 110</a></span>  <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730">COPY_FROM</a>, </div> -<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8a40c8a3eba568e04a5ce09ee0fa881822"> 111</a></span>  <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8a40c8a3eba568e04a5ce09ee0fa881822">REFERENCE_FROM</a> </div> -<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  };</div> -<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keyword">private</span>:</div> -<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">class </span>Body {</div> -<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">private</span>:</div> -<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">struct </span>Kernel {</div> -<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  Data* data_;</div> -<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordtype">size_t</span> counter_;</div> -<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  Body <span class="keyword">const</span>* master_;</div> -<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div> -<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  Kernel(Body <span class="keyword">const</span>* master):</div> -<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  data_(<span class="keyword">new</span> Data( )), counter_(1), master_(master) {</div> -<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  }</div> -<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div> -<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  Kernel(Body <span class="keyword">const</span>* master, Data <span class="keyword">const</span>& d):</div> -<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  data_(<span class="keyword">new</span> Data(d)), counter_(1), master_(master) {</div> -<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div> -<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div> -<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  ~Kernel() {</div> -<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div> -<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  };</div> -<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div> -<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  Kernel* pointer_;</div> -<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordtype">size_t</span> counter_;</div> -<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div> -<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordtype">void</span> clear() {</div> -<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  --(pointer_->counter_);</div> -<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">if</span> (pointer_->counter_ <= 0) {</div> -<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">delete</span> pointer_;</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="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">public</span>:</div> -<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  Body( ): pointer_(new Kernel(this )), counter_(1) { }</div> -<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  Body(Data <span class="keyword">const</span>& d): pointer_(new Kernel(this, d)), counter_(1) { }</div> -<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  Body(Body <span class="keyword">const</span>& b): pointer_(b.pointer_ ), counter_(1) {</div> -<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  ++(pointer_->counter_);</div> -<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div> -<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div> -<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  ~Body() {</div> -<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  clear();</div> -<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  }</div> -<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div> -<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  Body& <a class="code" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">copyFrom</a>(Body <span class="keyword">const</span>& b) {</div> -<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  clear();</div> -<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  pointer_ = b.pointer_;</div> -<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  ++(pointer_->counter_);</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"> 160</span>  Data <span class="keyword">const</span>* access()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> pointer_->data_;</div> -<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  }</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>  Data* modify() {</div> -<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">if</span> (pointer_->counter_ > 1) {</div> -<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  --(pointer_->counter_);</div> -<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  Kernel* dupl = <span class="keyword">new</span> Kernel(<span class="keyword">this</span>, *pointer_->data_);</div> -<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">if</span> (pointer_->master_ == <span class="keyword">this</span> || pointer_->master_ == NULL) {</div> -<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  std::swap(pointer_->pointer_, dupl->pointer_);</div> -<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  pointer_->master_ = NULL;</div> -<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  }</div> -<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  pointer_ = dupl;</div> -<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  }</div> -<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (pointer_->master_ == NULL) {</div> -<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  pointer_->master_ = <span class="keyword">this</span>;</div> -<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  }</div> -<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">return</span> pointer_->data_;</div> -<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  }</div> -<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div> -<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">int</span> attach() {</div> -<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">return</span> ++counter_;</div> -<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  }</div> -<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div> -<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordtype">int</span> detach() {</div> -<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordflow">return</span> --counter_;</div> -<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  }</div> -<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  };</div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <algorithm></span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="keyword">namespace </span>meow {</div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div> +<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="Self_8h.html#ae68c240a801c89ab2107fad7a61f94c9"> 9</a></span> <span class="preprocessor">#define DO_NOT_USE_SELF</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor"></span><span class="preprocessor">#ifdef DO_NOT_USE_SELF</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="keyword">template</span><<span class="keyword">class</span> Data></div> +<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html"> 13</a></span> <span class="keyword">class </span><a class="code" href="classmeow_1_1Self.html">Self</a> {</div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8"> 15</a></span>  <span class="keyword">enum</span> <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">DuplicateType</a> {</div> +<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730"> 16</a></span>  <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730">COPY_FROM</a></div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  };</div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">private</span>:</div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  Data data_;</div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d"> 21</a></span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a>( ) { }</div> +<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#af3220c1e1d7966c6dbaf4ec62f8cbc2f"> 22</a></span>  <a class="code" href="classmeow_1_1Self.html#af3220c1e1d7966c6dbaf4ec62f8cbc2f">Self</a>(Data <span class="keyword">const</span>& d ): data_(d) { }</div> +<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#afee797a10c73a1c8e02c8e6315a2930b"> 23</a></span>  <a class="code" href="classmeow_1_1Self.html#afee797a10c73a1c8e02c8e6315a2930b">Self</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& b, <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">DuplicateType</a> d): data_(b.data_) { }</div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& b);</div> +<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#ada16564a03665b10810a6342d61044bc"> 25</a></span>  <a class="code" href="classmeow_1_1Self.html#ada16564a03665b10810a6342d61044bc">~Self</a>() { }</div> +<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a6063551c3e6ac647500e938ade8fbc99"> 26</a></span>  Data <span class="keyword">const</span>* <a class="code" href="classmeow_1_1Self.html#a6063551c3e6ac647500e938ade8fbc99">operator-></a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> &data_; }</div> +<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#ace312355261c68ac7531767939f5c4c2"> 27</a></span>  Data * <a class="code" href="classmeow_1_1Self.html#ace312355261c68ac7531767939f5c4c2">operator-></a>() { <span class="keywordflow">return</span> &data_; }</div> +<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a5962339e9ee49312ab770f1119256ca6"> 28</a></span>  <a class="code" href="classmeow_1_1Self.html">Self</a>& <a class="code" href="classmeow_1_1Self.html#a5962339e9ee49312ab770f1119256ca6">operator()</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> *((<a class="code" href="classmeow_1_1Self.html">Self</a>*)<span class="keyword">this</span>); }</div> +<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2"> 29</a></span>  <a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">copyFrom</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s) { data_ = s.data_; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div> +<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a63e1570c927c7fa3b95b71fe978e355d"> 30</a></span>  <a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Self.html#a63e1570c927c7fa3b95b71fe978e355d">referenceFrom</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s) {</div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">copyFrom</a>(s);</div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  }</div> +<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#ae4256bfc598bb0db76141ffce506806e"> 33</a></span>  <a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Self.html#ae4256bfc598bb0db76141ffce506806e">duplicateFrom</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s, <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">DuplicateType</a> t) {</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">copyFrom</a>(s);</div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  }</div> +<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#ab3671e44693b79e2f987f59652d46ca9"> 36</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Self.html#ab3671e44693b79e2f987f59652d46ca9">same</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div> +<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a91098e2218c358470e81d64f35d6491d"> 37</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Self.html#a91098e2218c358470e81d64f35d6491d">equal</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_ == s.data_; }</div> +<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a10f22a83c3afcf65f8f9680f2a2f945c"> 38</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Self.html#a10f22a83c3afcf65f8f9680f2a2f945c">referenceLess</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<span class="keyword">this</span> < &s); }</div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordtype">void</span> <a class="code" href="classmeow_1_1Self.html#af3277e1109c59e5f81549889b344a675">operator=</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& a);</div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> };</div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#else</span></div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="keyword">template</span><<span class="keyword">class</span> Data></div> +<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="keyword">class </span>Self {</div> +<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">enum</span> <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">DuplicateType</a> {</div> +<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730">COPY_FROM</a>, </div> +<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  REFERENCE_FROM </div> +<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  };</div> +<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="keyword">private</span>:</div> +<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keyword">class </span>Body {</div> +<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">private</span>:</div> +<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keyword">struct </span>Kernel {</div> +<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  Data* data_;</div> +<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordtype">size_t</span> counter_;</div> +<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  Body <span class="keyword">const</span>* master_;</div> +<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div> +<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  Kernel(Body <span class="keyword">const</span>* master):</div> +<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  data_(new Data( )), counter_(1), master_(master) {</div> +<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  }</div> +<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div> +<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  Kernel(Body <span class="keyword">const</span>* master, Data <span class="keyword">const</span>& d):</div> +<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  data_(new Data(d)), counter_(1), master_(master) {</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>  ~Kernel() {</div> +<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keyword">delete</span> data_;</div> +<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  }</div> +<div class="line"><a name="l00168"></a><span class="lineno"> 168</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>  Kernel* pointer_;</div> +<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordtype">size_t</span> counter_;</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="keywordtype">void</span> clear() {</div> +<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  --(pointer_->counter_);</div> +<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">if</span> (pointer_->counter_ <= 0) {</div> +<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keyword">delete</span> pointer_;</div> +<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  }</div> +<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (pointer_->master_ == <span class="keyword">this</span>) {</div> +<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  pointer_->master_ = NULL;</div> +<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  }</div> +<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  }</div> +<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">public</span>:</div> +<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  Body( ): pointer_(new Kernel(this )), counter_(1) { }</div> +<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  Body(Data <span class="keyword">const</span>& d): pointer_(new Kernel(this, d)), counter_(1) { }</div> +<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  Body(Body <span class="keyword">const</span>& b): pointer_(b.pointer_ ), counter_(1) {</div> +<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  ++(pointer_->counter_);</div> +<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  }</div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div> -<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  Body* body_;</div> -<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div> -<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordtype">void</span> clear() {</div> -<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">if</span> (body_->detach() <= 0) {</div> -<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">delete</span> body_;</div> -<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  }</div> -<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  }</div> -<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="keyword">public</span>:</div> -<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d"> 200</a></span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a>(): body_(new Body()) {</div> -<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  }</div> -<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div> -<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#af3220c1e1d7966c6dbaf4ec62f8cbc2f"> 208</a></span>  <a class="code" href="classmeow_1_1Self.html#af3220c1e1d7966c6dbaf4ec62f8cbc2f">Self</a>(Data <span class="keyword">const</span>& d): body_(new Body(d)) {</div> -<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  }</div> -<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div> -<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#afee797a10c73a1c8e02c8e6315a2930b"> 217</a></span>  <a class="code" href="classmeow_1_1Self.html#afee797a10c73a1c8e02c8e6315a2930b">Self</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& b, <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">DuplicateType</a> d) {</div> -<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordflow">switch</span>(d) {</div> -<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordflow">case</span> <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730">COPY_FROM</a>:</div> -<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  body_ = <span class="keyword">new</span> Body(*b.body_);</div> -<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordflow">break</span>;</div> -<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordflow">case</span> <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8a40c8a3eba568e04a5ce09ee0fa881822">REFERENCE_FROM</a>:</div> -<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  body_ = b.body_;</div> -<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  body_->attach();</div> -<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">break</span>;</div> +<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  ~Body() {</div> +<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  clear();</div> +<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  }</div> +<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div> +<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  Body& <a class="code" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">copyFrom</a>(Body <span class="keyword">const</span>& b) {</div> +<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  clear();</div> +<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  pointer_ = b.pointer_;</div> +<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  ++(pointer_->counter_);</div> +<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div> +<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div> +<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  Data <span class="keyword">const</span>* access()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">return</span> pointer_->data_;</div> +<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  }</div> +<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div> +<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  Data* modify() {</div> +<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">if</span> (pointer_->counter_ > 1) {</div> +<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  --(pointer_->counter_);</div> +<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  Kernel* dupl = <span class="keyword">new</span> Kernel(<span class="keyword">this</span>, *pointer_->data_);</div> +<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordflow">if</span> (pointer_->master_ == <span class="keyword">this</span>) {</div> +<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  std::swap(pointer_->data_, dupl->data_);</div> +<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  pointer_->master_ = NULL;</div> +<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  }</div> +<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  pointer_ = dupl;</div> +<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  }</div> +<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (pointer_->master_ == NULL) {</div> +<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  pointer_->master_ = <span class="keyword">this</span>;</div> +<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  }</div> +<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordflow">return</span> pointer_->data_;</div> +<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  }</div> +<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div> +<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordtype">int</span> attach() {</div> +<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordflow">return</span> ++counter_;</div> +<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  }</div> +<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div> +<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordtype">int</span> detach() {</div> +<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">return</span> --counter_;</div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  }</div> -<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  }</div> +<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  };</div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div> -<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& b);</div> -<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div> -<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#ada16564a03665b10810a6342d61044bc"> 233</a></span>  <a class="code" href="classmeow_1_1Self.html#ada16564a03665b10810a6342d61044bc">~Self</a>() {</div> -<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  clear();</div> +<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  Body* body_;</div> +<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div> +<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordtype">void</span> clear() {</div> +<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordflow">if</span> (body_->detach() <= 0) {</div> +<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keyword">delete</span> body_;</div> +<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  }</div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  }</div> -<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div> -<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a6063551c3e6ac647500e938ade8fbc99"> 238</a></span>  Data <span class="keyword">const</span>* <a class="code" href="classmeow_1_1Self.html#a6063551c3e6ac647500e938ade8fbc99">operator-></a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordflow">return</span> body_->access();</div> -<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  }</div> -<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div> -<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#ace312355261c68ac7531767939f5c4c2"> 245</a></span>  Data* <a class="code" href="classmeow_1_1Self.html#ace312355261c68ac7531767939f5c4c2">operator-></a>() {</div> -<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordflow">return</span> body_->modify();</div> -<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  }</div> -<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div> -<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a5962339e9ee49312ab770f1119256ca6"> 250</a></span>  <a class="code" href="classmeow_1_1Self.html">Self</a>& <a class="code" href="classmeow_1_1Self.html#a5962339e9ee49312ab770f1119256ca6">operator()</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordflow">return</span> *((<a class="code" href="classmeow_1_1Self.html">Self</a>*)<span class="keyword">this</span>);</div> -<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  }</div> -<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div> -<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2"> 260</a></span>  <a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">copyFrom</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s) {</div> -<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">if</span> (body_->access() != s.body_->access()) {</div> -<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  body_->copyFrom(*s.body_);</div> -<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  }</div> -<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> -<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  }</div> -<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div> -<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a63e1570c927c7fa3b95b71fe978e355d"> 273</a></span>  <a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Self.html#a63e1570c927c7fa3b95b71fe978e355d">referenceFrom</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s) {</div> -<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordflow">if</span> (body_ != s.body_) {</div> -<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  clear();</div> -<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  body_ = s.body_;</div> -<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  body_->attach();</div> -<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  }</div> -<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a>(): body_(new Body()) {</div> +<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  }</div> +<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> </div> +<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a>(Data <span class="keyword">const</span>& d): body_(new Body(d)) {</div> +<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  }</div> +<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> </div> +<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a>(<a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& b, <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">DuplicateType</a> d) {</div> +<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordflow">switch</span>(d) {</div> +<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keywordflow">case</span> <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730">COPY_FROM</a>:</div> +<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  body_ = <span class="keyword">new</span> Body(*b.body_);</div> +<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">break</span>;</div> +<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordflow">case</span> REFERENCE_FROM:</div> +<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  body_ = b.body_;</div> +<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  body_->attach();</div> +<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordflow">break</span>;</div> +<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  }</div> +<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  }</div> +<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div> +<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a>(<a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& b);</div> +<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div> +<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <a class="code" href="classmeow_1_1Self.html#ada16564a03665b10810a6342d61044bc">~Self</a>() {</div> +<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  clear();</div> +<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  }</div> +<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> </div> +<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  Data <span class="keyword">const</span>* <a class="code" href="classmeow_1_1Self.html#a6063551c3e6ac647500e938ade8fbc99">operator-></a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordflow">return</span> body_->access();</div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  }</div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div> -<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#ae4256bfc598bb0db76141ffce506806e"> 289</a></span>  <a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Self.html#ae4256bfc598bb0db76141ffce506806e">duplicateFrom</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s, <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">DuplicateType</a> t) {</div> -<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keywordflow">switch</span>(t) {</div> -<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordflow">case</span> <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730">COPY_FROM</a> : <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">copyFrom</a>(s);</div> -<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">case</span> <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8a40c8a3eba568e04a5ce09ee0fa881822">REFERENCE_FROM</a>: <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Self.html#a63e1570c927c7fa3b95b71fe978e355d">referenceFrom</a>(s);</div> -<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  }</div> -<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> -<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  }</div> -<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> </div> -<div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#ab3671e44693b79e2f987f59652d46ca9"> 304</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Self.html#ab3671e44693b79e2f987f59652d46ca9">same</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">return</span> (body_ == s.body_);</div> -<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  }</div> -<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div> -<div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a91098e2218c358470e81d64f35d6491d"> 316</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Self.html#a91098e2218c358470e81d64f35d6491d">equal</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keywordflow">if</span> (<a class="code" href="classmeow_1_1Self.html#ab3671e44693b79e2f987f59652d46ca9">same</a>(s) || body_->access() == s.body_->access()) <span class="keywordflow">return</span> <span class="keyword">true</span>;</div> -<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="keywordflow">return</span> (*body_->access() == *s.body_->access());</div> -<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  }</div> -<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> </div> -<div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="classmeow_1_1Self.html#a10f22a83c3afcf65f8f9680f2a2f945c"> 326</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Self.html#a10f22a83c3afcf65f8f9680f2a2f945c">referenceLess</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& s)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="keywordflow">return</span> (body_ < s.body_);</div> -<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  }</div> -<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div> -<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keywordtype">void</span> <a class="code" href="classmeow_1_1Self.html#af3277e1109c59e5f81549889b344a675">operator=</a>(<a class="code" href="classmeow_1_1Self.html">Self</a> <span class="keyword">const</span>& a);</div> -<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> };</div> -<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div> -<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> } <span class="comment">// meow</span></div> -<div class="line"><a name="l00335"></a><span class="lineno"> 335</span> </div> -<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="preprocessor">#endif // Self_h__</span></div> -<div class="ttc" id="classmeow_1_1Self_html_aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730"><div class="ttname"><a href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730">meow::Self::COPY_FROM</a></div><div class="ttdoc">Normal copy operation. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00110">Self.h:110</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_a6063551c3e6ac647500e938ade8fbc99"><div class="ttname"><a href="classmeow_1_1Self.html#a6063551c3e6ac647500e938ade8fbc99">meow::Self::operator-></a></div><div class="ttdeci">Data const * operator->() const </div><div class="ttdoc">Return the constant pointer to the data. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00238">Self.h:238</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_a9cd016a38a09f479fe2ed83eb1ebdae2"><div class="ttname"><a href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">meow::Self::copyFrom</a></div><div class="ttdeci">Self const & copyFrom(Self const &s)</div><div class="ttdoc">Copy the gived Self to myself. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00260">Self.h:260</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_a10f22a83c3afcf65f8f9680f2a2f945c"><div class="ttname"><a href="classmeow_1_1Self.html#a10f22a83c3afcf65f8f9680f2a2f945c">meow::Self::referenceLess</a></div><div class="ttdeci">bool referenceLess(Self const &s) const </div><div class="ttdoc">Order compare by reference pointer. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00326">Self.h:326</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_afee797a10c73a1c8e02c8e6315a2930b"><div class="ttname"><a href="classmeow_1_1Self.html#afee797a10c73a1c8e02c8e6315a2930b">meow::Self::Self</a></div><div class="ttdeci">Self(Self const &b, DuplicateType d)</div><div class="ttdoc">constructor with given another Self </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00217">Self.h:217</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_af3277e1109c59e5f81549889b344a675"><div class="ttname"><a href="classmeow_1_1Self.html#af3277e1109c59e5f81549889b344a675">meow::Self::operator=</a></div><div class="ttdeci">void operator=(Self const &a)</div><div class="ttdoc">Disallow default 'operator='. </div></div> -<div class="ttc" id="classmeow_1_1Self_html_a6b39fcc4b184809f9aeaeb1c9a0bac2d"><div class="ttname"><a href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">meow::Self::Self</a></div><div class="ttdeci">Self()</div><div class="ttdoc">constructor with a real entity </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00200">Self.h:200</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_ace312355261c68ac7531767939f5c4c2"><div class="ttname"><a href="classmeow_1_1Self.html#ace312355261c68ac7531767939f5c4c2">meow::Self::operator-></a></div><div class="ttdeci">Data * operator->()</div><div class="ttdoc">Return the non-constant pointer to the data (COR's clone might occure here. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00245">Self.h:245</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_ada16564a03665b10810a6342d61044bc"><div class="ttname"><a href="classmeow_1_1Self.html#ada16564a03665b10810a6342d61044bc">meow::Self::~Self</a></div><div class="ttdeci">~Self()</div><div class="ttdoc">destructor </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00233">Self.h:233</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_ab3671e44693b79e2f987f59652d46ca9"><div class="ttname"><a href="classmeow_1_1Self.html#ab3671e44693b79e2f987f59652d46ca9">meow::Self::same</a></div><div class="ttdeci">bool same(Self const &s) const </div><div class="ttdoc">Compare tht if the gived Self object is reference from the same object of me. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00304">Self.h:304</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_a91098e2218c358470e81d64f35d6491d"><div class="ttname"><a href="classmeow_1_1Self.html#a91098e2218c358470e81d64f35d6491d">meow::Self::equal</a></div><div class="ttdeci">bool equal(Self const &s) const </div><div class="ttdoc">Compare that the data are the same. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00316">Self.h:316</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_aa7d169e9d20d590f3e571206084797f8a40c8a3eba568e04a5ce09ee0fa881822"><div class="ttname"><a href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8a40c8a3eba568e04a5ce09ee0fa881822">meow::Self::REFERENCE_FROM</a></div><div class="ttdoc">By reference, much like pointer's copy operation. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00111">Self.h:111</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_a5962339e9ee49312ab770f1119256ca6"><div class="ttname"><a href="classmeow_1_1Self.html#a5962339e9ee49312ab770f1119256ca6">meow::Self::operator()</a></div><div class="ttdeci">Self & operator()() const </div><div class="ttdoc">Return the non-constant reference of *this. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00250">Self.h:250</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_aa7d169e9d20d590f3e571206084797f8"><div class="ttname"><a href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">meow::Self< Myself >::DuplicateType</a></div><div class="ttdeci">DuplicateType</div><div class="ttdoc">Kind of ways of duplicating. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00109">Self.h:109</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_a63e1570c927c7fa3b95b71fe978e355d"><div class="ttname"><a href="classmeow_1_1Self.html#a63e1570c927c7fa3b95b71fe978e355d">meow::Self::referenceFrom</a></div><div class="ttdeci">Self const & referenceFrom(Self const &s)</div><div class="ttdoc">Reference myself from given Self object. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00273">Self.h:273</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html"><div class="ttname"><a href="classmeow_1_1Self.html">meow::Self</a></div><div class="ttdoc">A little class use for packing the data part of another class. With this technique, it can achieve Copy-On-Write(COR) mechanism at background and have a reference mechanism which much more flexible then the one C++ has. </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00104">Self.h:104</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_ae4256bfc598bb0db76141ffce506806e"><div class="ttname"><a href="classmeow_1_1Self.html#ae4256bfc598bb0db76141ffce506806e">meow::Self::duplicateFrom</a></div><div class="ttdeci">Self const & duplicateFrom(Self const &s, DuplicateType t)</div><div class="ttdoc">call copyFrom() or referenceFrom() depend on your instruction </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00289">Self.h:289</a></div></div> -<div class="ttc" id="classmeow_1_1Self_html_af3220c1e1d7966c6dbaf4ec62f8cbc2f"><div class="ttname"><a href="classmeow_1_1Self.html#af3220c1e1d7966c6dbaf4ec62f8cbc2f">meow::Self::Self</a></div><div class="ttdeci">Self(Data const &d)</div><div class="ttdoc">connstructor with a real entity with it using its copy constructor </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00208">Self.h:208</a></div></div> +<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  Data* <a class="code" href="classmeow_1_1Self.html#a6063551c3e6ac647500e938ade8fbc99">operator-></a>() {</div> +<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordflow">return</span> body_->modify();</div> +<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  }</div> +<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div> +<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a>& <a class="code" href="classmeow_1_1Self.html#a5962339e9ee49312ab770f1119256ca6">operator()</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordflow">return</span> *((<a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a>*)<span class="keyword">this</span>);</div> +<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  }</div> +<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div> +<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">copyFrom</a>(<a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& s) {</div> +<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="keywordflow">if</span> (body_->access() != s.body_->access()) {</div> +<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  body_-><a class="code" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">copyFrom</a>(*s.body_);</div> +<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  }</div> +<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  }</div> +<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div> +<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Self.html#a63e1570c927c7fa3b95b71fe978e355d">referenceFrom</a>(<a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& s) {</div> +<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keywordflow">if</span> (body_ != s.body_) {</div> +<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  clear();</div> +<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  body_ = s.body_;</div> +<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  body_->attach();</div> +<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  }</div> +<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  }</div> +<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div> +<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Self.html#ae4256bfc598bb0db76141ffce506806e">duplicateFrom</a>(<a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& s, <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">DuplicateType</a> t) {</div> +<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keywordflow">switch</span>(t) {</div> +<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keywordflow">case</span> <a class="code" href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730">COPY_FROM</a> : <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">copyFrom</a>(s);</div> +<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keywordflow">case</span> REFERENCE_FROM: <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Self.html#a63e1570c927c7fa3b95b71fe978e355d">referenceFrom</a>(s);</div> +<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  }</div> +<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  }</div> +<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div> +<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Self.html#ab3671e44693b79e2f987f59652d46ca9">same</a>(<a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& s)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <span class="keywordflow">return</span> (body_ == s.body_);</div> +<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  }</div> +<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div> +<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Self.html#a91098e2218c358470e81d64f35d6491d">equal</a>(<a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& s)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="keywordflow">if</span> (<a class="code" href="classmeow_1_1Self.html#ab3671e44693b79e2f987f59652d46ca9">same</a>(s) || body_->access() == s.body_->access()) <span class="keywordflow">return</span> <span class="keyword">true</span>;</div> +<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keywordflow">return</span> (*body_->access() == *s.body_->access());</div> +<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  }</div> +<div class="line"><a name="l00360"></a><span class="lineno"> 360</span> </div> +<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Self.html#a10f22a83c3afcf65f8f9680f2a2f945c">referenceLess</a>(<a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& s)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keywordflow">return</span> (body_ < s.body_);</div> +<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  }</div> +<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> </div> +<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keywordtype">void</span> <a class="code" href="classmeow_1_1Self.html#af3277e1109c59e5f81549889b344a675">operator=</a>(<a class="code" href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">Self</a> <span class="keyword">const</span>& a);</div> +<div class="line"><a name="l00372"></a><span class="lineno"> 372</span> };</div> +<div class="line"><a name="l00373"></a><span class="lineno"> 373</span> </div> +<div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <span class="preprocessor">#endif</span></div> +<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> } <span class="comment">// meow</span></div> +<div class="line"><a name="l00377"></a><span class="lineno"> 377</span> </div> +<div class="line"><a name="l00378"></a><span class="lineno"> 378</span> <span class="preprocessor">#endif // Self_h__</span></div> +<div class="ttc" id="classmeow_1_1Self_html_aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730"><div class="ttname"><a href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8adef1b0d02e1090b1b610a4ea91bd6730">meow::Self::COPY_FROM</a></div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00016">Self.h:16</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_a6063551c3e6ac647500e938ade8fbc99"><div class="ttname"><a href="classmeow_1_1Self.html#a6063551c3e6ac647500e938ade8fbc99">meow::Self::operator-></a></div><div class="ttdeci">Data const * operator->() const </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00026">Self.h:26</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_a9cd016a38a09f479fe2ed83eb1ebdae2"><div class="ttname"><a href="classmeow_1_1Self.html#a9cd016a38a09f479fe2ed83eb1ebdae2">meow::Self::copyFrom</a></div><div class="ttdeci">Self const & copyFrom(Self const &s)</div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00029">Self.h:29</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_a10f22a83c3afcf65f8f9680f2a2f945c"><div class="ttname"><a href="classmeow_1_1Self.html#a10f22a83c3afcf65f8f9680f2a2f945c">meow::Self::referenceLess</a></div><div class="ttdeci">bool referenceLess(Self const &s) const </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00038">Self.h:38</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_afee797a10c73a1c8e02c8e6315a2930b"><div class="ttname"><a href="classmeow_1_1Self.html#afee797a10c73a1c8e02c8e6315a2930b">meow::Self::Self</a></div><div class="ttdeci">Self(Self const &b, DuplicateType d)</div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00023">Self.h:23</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_af3277e1109c59e5f81549889b344a675"><div class="ttname"><a href="classmeow_1_1Self.html#af3277e1109c59e5f81549889b344a675">meow::Self::operator=</a></div><div class="ttdeci">void operator=(Self const &a)</div></div> +<div class="ttc" id="classmeow_1_1Self_html_a6b39fcc4b184809f9aeaeb1c9a0bac2d"><div class="ttname"><a href="classmeow_1_1Self.html#a6b39fcc4b184809f9aeaeb1c9a0bac2d">meow::Self::Self</a></div><div class="ttdeci">Self()</div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00021">Self.h:21</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_ace312355261c68ac7531767939f5c4c2"><div class="ttname"><a href="classmeow_1_1Self.html#ace312355261c68ac7531767939f5c4c2">meow::Self::operator-></a></div><div class="ttdeci">Data * operator->()</div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00027">Self.h:27</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_ada16564a03665b10810a6342d61044bc"><div class="ttname"><a href="classmeow_1_1Self.html#ada16564a03665b10810a6342d61044bc">meow::Self::~Self</a></div><div class="ttdeci">~Self()</div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00025">Self.h:25</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_ab3671e44693b79e2f987f59652d46ca9"><div class="ttname"><a href="classmeow_1_1Self.html#ab3671e44693b79e2f987f59652d46ca9">meow::Self::same</a></div><div class="ttdeci">bool same(Self const &s) const </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00036">Self.h:36</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_a91098e2218c358470e81d64f35d6491d"><div class="ttname"><a href="classmeow_1_1Self.html#a91098e2218c358470e81d64f35d6491d">meow::Self::equal</a></div><div class="ttdeci">bool equal(Self const &s) const </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00037">Self.h:37</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_a5962339e9ee49312ab770f1119256ca6"><div class="ttname"><a href="classmeow_1_1Self.html#a5962339e9ee49312ab770f1119256ca6">meow::Self::operator()</a></div><div class="ttdeci">Self & operator()() const </div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00028">Self.h:28</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_aa7d169e9d20d590f3e571206084797f8"><div class="ttname"><a href="classmeow_1_1Self.html#aa7d169e9d20d590f3e571206084797f8">meow::Self< Myself >::DuplicateType</a></div><div class="ttdeci">DuplicateType</div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00015">Self.h:15</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_a63e1570c927c7fa3b95b71fe978e355d"><div class="ttname"><a href="classmeow_1_1Self.html#a63e1570c927c7fa3b95b71fe978e355d">meow::Self::referenceFrom</a></div><div class="ttdeci">Self const & referenceFrom(Self const &s)</div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00030">Self.h:30</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html"><div class="ttname"><a href="classmeow_1_1Self.html">meow::Self</a></div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00013">Self.h:13</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_ae4256bfc598bb0db76141ffce506806e"><div class="ttname"><a href="classmeow_1_1Self.html#ae4256bfc598bb0db76141ffce506806e">meow::Self::duplicateFrom</a></div><div class="ttdeci">Self const & duplicateFrom(Self const &s, DuplicateType t)</div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00033">Self.h:33</a></div></div> +<div class="ttc" id="classmeow_1_1Self_html_af3220c1e1d7966c6dbaf4ec62f8cbc2f"><div class="ttname"><a href="classmeow_1_1Self.html#af3220c1e1d7966c6dbaf4ec62f8cbc2f">meow::Self::Self</a></div><div class="ttdeci">Self(Data const &d)</div><div class="ttdef"><b>Definition:</b> <a href="Self_8h_source.html#l00022">Self.h:22</a></div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- HTML footer for doxygen 1.8.3.1--> @@ -260,7 +301,7 @@ $(document).ready(function(){initNavTree('Self_8h_source.html','');}); <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="Self_8h.html">Self.h</a></li> - <li class="footer">Generated on Tue Jun 24 2014 03:53:31 for Templates -- Meow by + <li class="footer">Generated on Fri Jun 27 2014 18:24:41 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> |