diff options
Diffstat (limited to 'doc/html/classmeow_1_1ObjSelector.html')
-rw-r--r-- | doc/html/classmeow_1_1ObjSelector.html | 616 |
1 files changed, 616 insertions, 0 deletions
diff --git a/doc/html/classmeow_1_1ObjSelector.html b/doc/html/classmeow_1_1ObjSelector.html new file mode 100644 index 0000000..a10e991 --- /dev/null +++ b/doc/html/classmeow_1_1ObjSelector.html @@ -0,0 +1,616 @@ +<!-- 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.3.1"/> +<title>Templates -- Meow: meow::ObjSelector< id > Class Template Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="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">1.1.2</span> + </div> + <div id="projectbrief">不能,也不應該先編譯成obj-file的templates</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.3.1 --> +</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('classmeow_1_1ObjSelector.html','');}); +</script> +<div id="doc-content"> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Classes</a> | +<a href="#pub-methods">Public Member Functions</a> | +<a href="#pub-static-methods">Static Public Member Functions</a> | +<a href="#friends">Friends</a> | +<a href="classmeow_1_1ObjSelector-members.html">List of all members</a> </div> + <div class="headertitle"> +<div class="title">meow::ObjSelector< id > Class Template Reference</div> </div> +</div><!--header--> +<div class="contents"> + +<p>利用register的概念, 達到runtime用string選擇要new的class + <a href="classmeow_1_1ObjSelector.html#details">More...</a></p> + +<p><code>#include "<a class="el" href="ObjSelector_8h_source.html">ObjSelector.h</a>"</code></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> +Public Member Functions</h2></td></tr> +<tr class="memitem:afefd56114a54ec164f0264d83394fc21"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#afefd56114a54ec164f0264d83394fc21">ObjSelector</a> (std::string <a class="el" href="classmeow_1_1ObjSelector.html#a43786b9b4869a3bb115c852d09e474cb">name</a>, <a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> *obj, bool autoDelete)</td></tr> +<tr class="memdesc:afefd56114a54ec164f0264d83394fc21"><td class="mdescLeft"> </td><td class="mdescRight">宣告一個ObjSelector實體, 並且註冊一個 <a class="el" href="classmeow_1_1ObjBase.html" title="一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能">ObjBase</a> <a href="#afefd56114a54ec164f0264d83394fc21">More...</a><br/></td></tr> +<tr class="separator:afefd56114a54ec164f0264d83394fc21"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7f798e7243aa2e93d2458dfc7f6d3308"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#a7f798e7243aa2e93d2458dfc7f6d3308">ObjSelector</a> (<a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> *obj, bool autoDelete)</td></tr> +<tr class="memdesc:a7f798e7243aa2e93d2458dfc7f6d3308"><td class="mdescLeft"> </td><td class="mdescRight">宣告一個ObjSelector實體, 並且註冊一個 <a class="el" href="classmeow_1_1ObjBase.html" title="一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能">ObjBase</a> <a href="#a7f798e7243aa2e93d2458dfc7f6d3308">More...</a><br/></td></tr> +<tr class="separator:a7f798e7243aa2e93d2458dfc7f6d3308"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa5d9c625910c4ece0cba7944885d39c2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#aa5d9c625910c4ece0cba7944885d39c2">~ObjSelector</a> ()</td></tr> +<tr class="memdesc:aa5d9c625910c4ece0cba7944885d39c2"><td class="mdescLeft"> </td><td class="mdescRight">解構子 <a href="#aa5d9c625910c4ece0cba7944885d39c2">More...</a><br/></td></tr> +<tr class="separator:aa5d9c625910c4ece0cba7944885d39c2"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> +Static Public Member Functions</h2></td></tr> +<tr class="memitem:a0401a1941829c1b82ebce545d00a996d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#a0401a1941829c1b82ebce545d00a996d">add</a> (std::string <a class="el" href="classmeow_1_1ObjSelector.html#a43786b9b4869a3bb115c852d09e474cb">name</a>, <a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> *obj, bool autoDelete)</td></tr> +<tr class="memdesc:a0401a1941829c1b82ebce545d00a996d"><td class="mdescLeft"> </td><td class="mdescRight">新增(註冊) 一個Class (必須要繼承自 <code><a class="el" href="classmeow_1_1ObjBase.html" title="一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能">ObjBase</a></code>) 並且給定其Name <a href="#a0401a1941829c1b82ebce545d00a996d">More...</a><br/></td></tr> +<tr class="separator:a0401a1941829c1b82ebce545d00a996d"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:af1479fc3260f2600d76bc018a9a36019"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#af1479fc3260f2600d76bc018a9a36019">add</a> (<a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> *obj, bool autoDelete)</td></tr> +<tr class="memdesc:af1479fc3260f2600d76bc018a9a36019"><td class="mdescLeft"> </td><td class="mdescRight">新增(註冊) 一個Class (必須要繼承自 <code><a class="el" href="classmeow_1_1ObjBase.html" title="一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能">ObjBase</a></code>) 並且默認type為name <a href="#af1479fc3260f2600d76bc018a9a36019">More...</a><br/></td></tr> +<tr class="separator:af1479fc3260f2600d76bc018a9a36019"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a94ae819ddd031927466845c86ce35621"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#a94ae819ddd031927466845c86ce35621">del</a> (std::string <a class="el" href="classmeow_1_1ObjSelector.html#a43786b9b4869a3bb115c852d09e474cb">name</a>)</td></tr> +<tr class="memdesc:a94ae819ddd031927466845c86ce35621"><td class="mdescLeft"> </td><td class="mdescRight">依照name刪除之前註冊過得Class <a href="#a94ae819ddd031927466845c86ce35621">More...</a><br/></td></tr> +<tr class="separator:a94ae819ddd031927466845c86ce35621"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a948d5e709bdeacb8648e8c7c243b0ff3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> const * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#a948d5e709bdeacb8648e8c7c243b0ff3">get</a> (std::string <a class="el" href="classmeow_1_1ObjSelector.html#a43786b9b4869a3bb115c852d09e474cb">name</a>)</td></tr> +<tr class="memdesc:a948d5e709bdeacb8648e8c7c243b0ff3"><td class="mdescLeft"> </td><td class="mdescRight">取得之前註冊過得Class <a href="#a948d5e709bdeacb8648e8c7c243b0ff3">More...</a><br/></td></tr> +<tr class="separator:a948d5e709bdeacb8648e8c7c243b0ff3"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a498c46995c8f9050b3b069b95d10c5cb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#a498c46995c8f9050b3b069b95d10c5cb">create</a> (std::string <a class="el" href="classmeow_1_1ObjSelector.html#a43786b9b4869a3bb115c852d09e474cb">name</a>)</td></tr> +<tr class="memdesc:a498c46995c8f9050b3b069b95d10c5cb"><td class="mdescLeft"> </td><td class="mdescRight">回傳一個之前註冊過得Class new出來的實體 <a href="#a498c46995c8f9050b3b069b95d10c5cb">More...</a><br/></td></tr> +<tr class="separator:a498c46995c8f9050b3b069b95d10c5cb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8febbd488ce1cf37b075c0e42278d3d0"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#a8febbd488ce1cf37b075c0e42278d3d0">exist</a> (<a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> *obj)</td></tr> +<tr class="memdesc:a8febbd488ce1cf37b075c0e42278d3d0"><td class="mdescLeft"> </td><td class="mdescRight">利用type檢查是否有註冊過同種類的Class <a href="#a8febbd488ce1cf37b075c0e42278d3d0">More...</a><br/></td></tr> +<tr class="separator:a8febbd488ce1cf37b075c0e42278d3d0"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a43786b9b4869a3bb115c852d09e474cb"><td class="memItemLeft" align="right" valign="top">static std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#a43786b9b4869a3bb115c852d09e474cb">name</a> (<a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> *obj)</td></tr> +<tr class="memdesc:a43786b9b4869a3bb115c852d09e474cb"><td class="mdescLeft"> </td><td class="mdescRight">利用type尋找name <a href="#a43786b9b4869a3bb115c852d09e474cb">More...</a><br/></td></tr> +<tr class="separator:a43786b9b4869a3bb115c852d09e474cb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a12a464df440ff51da3f51a5c6731f958"><td class="memItemLeft" align="right" valign="top">static std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#a12a464df440ff51da3f51a5c6731f958">names</a> ()</td></tr> +<tr class="memdesc:a12a464df440ff51da3f51a5c6731f958"><td class="mdescLeft"> </td><td class="mdescRight">回傳所有註冊過的name <a href="#a12a464df440ff51da3f51a5c6731f958">More...</a><br/></td></tr> +<tr class="separator:a12a464df440ff51da3f51a5c6731f958"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a85ff03287a5344d02b5cd67f89265ed8"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#a85ff03287a5344d02b5cd67f89265ed8">write</a> (FILE *f, bool binary, <a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> *obj, unsigned <a class="el" href="classint.html">int</a> fg)</td></tr> +<tr class="memdesc:a85ff03287a5344d02b5cd67f89265ed8"><td class="mdescLeft"> </td><td class="mdescRight">將一個物件寫到檔案裡(該物件必須要有註冊過) <a href="#a85ff03287a5344d02b5cd67f89265ed8">More...</a><br/></td></tr> +<tr class="separator:a85ff03287a5344d02b5cd67f89265ed8"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a757b4c75d87f958b64bb5cacbeb71dcb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#a757b4c75d87f958b64bb5cacbeb71dcb">read</a> (FILE *f, bool binary)</td></tr> +<tr class="memdesc:a757b4c75d87f958b64bb5cacbeb71dcb"><td class="mdescLeft"> </td><td class="mdescRight">從檔案中讀取一個物件(該物件必須要有註冊過) <a href="#a757b4c75d87f958b64bb5cacbeb71dcb">More...</a><br/></td></tr> +<tr class="separator:a757b4c75d87f958b64bb5cacbeb71dcb"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> +Friends</h2></td></tr> +<tr class="memitem:af0a264c27d0d08af4b617d2e4675fda7"><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="classmeow_1_1ObjSelector.html#af0a264c27d0d08af4b617d2e4675fda7">Info</a></td></tr> +<tr class="separator:af0a264c27d0d08af4b617d2e4675fda7"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> +<div class="textblock"><h3>template<size_t id><br/> +class meow::ObjSelector< id ></h3> + +<p>利用register的概念, 達到runtime用string選擇要new的class </p> +<dl class="section author"><dt>Author</dt><dd>cathook< 讓程式可以有不只一個 <code><a class="el" href="classmeow_1_1ObjSelector.html" title="利用register的概念, 達到runtime用string選擇要new的class">ObjSelector</a></code> </dd></dl> +</div><h2 class="groupheader">Constructor & Destructor Documentation</h2> +<a class="anchor" id="afefd56114a54ec164f0264d83394fc21"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::<a class="el" href="classmeow_1_1ObjSelector.html">ObjSelector</a> </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"><em>name</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> * </td> + <td class="paramname"><em>obj</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"><em>autoDelete</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>宣告一個ObjSelector實體, 並且註冊一個 <a class="el" href="classmeow_1_1ObjBase.html" title="一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能">ObjBase</a> </p> + +</div> +</div> +<a class="anchor" id="a7f798e7243aa2e93d2458dfc7f6d3308"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::<a class="el" href="classmeow_1_1ObjSelector.html">ObjSelector</a> </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> * </td> + <td class="paramname"><em>obj</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"><em>autoDelete</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>宣告一個ObjSelector實體, 並且註冊一個 <a class="el" href="classmeow_1_1ObjBase.html" title="一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能">ObjBase</a> </p> + +</div> +</div> +<a class="anchor" id="aa5d9c625910c4ece0cba7944885d39c2"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::~<a class="el" href="classmeow_1_1ObjSelector.html">ObjSelector</a> </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>解構子 </p> + +</div> +</div> +<h2 class="groupheader">Member Function Documentation</h2> +<a class="anchor" id="a0401a1941829c1b82ebce545d00a996d"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void <a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::add </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"><em>name</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> * </td> + <td class="paramname"><em>obj</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"><em>autoDelete</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>新增(註冊) 一個Class (必須要繼承自 <code><a class="el" href="classmeow_1_1ObjBase.html" title="一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能">ObjBase</a></code>) 並且給定其Name </p> + +</div> +</div> +<a class="anchor" id="af1479fc3260f2600d76bc018a9a36019"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void <a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::add </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> * </td> + <td class="paramname"><em>obj</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"><em>autoDelete</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>新增(註冊) 一個Class (必須要繼承自 <code><a class="el" href="classmeow_1_1ObjBase.html" title="一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能">ObjBase</a></code>) 並且默認type為name </p> + +</div> +</div> +<a class="anchor" id="a498c46995c8f9050b3b069b95d10c5cb"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static <a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a>* <a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::create </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"><em>name</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>回傳一個之前註冊過得Class new出來的實體 </p> + +</div> +</div> +<a class="anchor" id="a94ae819ddd031927466845c86ce35621"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void <a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::del </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"><em>name</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>依照name刪除之前註冊過得Class </p> + +</div> +</div> +<a class="anchor" id="a8febbd488ce1cf37b075c0e42278d3d0"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static bool <a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::exist </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> * </td> + <td class="paramname"><em>obj</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>利用type檢查是否有註冊過同種類的Class </p> + +</div> +</div> +<a class="anchor" id="a948d5e709bdeacb8648e8c7c243b0ff3"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static <a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> const* <a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::get </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"><em>name</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>取得之前註冊過得Class </p> + +</div> +</div> +<a class="anchor" id="a43786b9b4869a3bb115c852d09e474cb"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static std::string <a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::name </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> * </td> + <td class="paramname"><em>obj</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>利用type尋找name </p> + +</div> +</div> +<a class="anchor" id="a12a464df440ff51da3f51a5c6731f958"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static std::vector<std::string> <a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::names </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>回傳所有註冊過的name </p> + +</div> +</div> +<a class="anchor" id="a757b4c75d87f958b64bb5cacbeb71dcb"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static <a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a>* <a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::read </td> + <td>(</td> + <td class="paramtype">FILE * </td> + <td class="paramname"><em>f</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"><em>binary</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>從檔案中讀取一個物件(該物件必須要有註冊過) </p> + +</div> +</div> +<a class="anchor" id="a85ff03287a5344d02b5cd67f89265ed8"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static bool <a class="el" href="classmeow_1_1ObjSelector.html">meow::ObjSelector</a>< id >::write </td> + <td>(</td> + <td class="paramtype">FILE * </td> + <td class="paramname"><em>f</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"><em>binary</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="classmeow_1_1ObjBase.html">ObjBase</a> * </td> + <td class="paramname"><em>obj</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned <a class="el" href="classint.html">int</a> </td> + <td class="paramname"><em>fg</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>將一個物件寫到檔案裡(該物件必須要有註冊過) </p> + +</div> +</div> +<h2 class="groupheader">Friends And Related Function Documentation</h2> +<a class="anchor" id="af0a264c27d0d08af4b617d2e4675fda7"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<size_t id> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">friend struct Info</td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">friend</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +</div> +</div> +<hr/>The documentation for this class was generated from the following file:<ul> +<li>meowpp/oo/<a class="el" href="ObjSelector_8h_source.html">ObjSelector.h</a></li> +</ul> +</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="namespacemeow.html">meow</a></li><li class="navelem"><a class="el" href="classmeow_1_1ObjSelector.html">ObjSelector</a></li> + <li class="footer">Generated on Sun Jun 1 2014 13:54:37 for Templates -- Meow by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3.1 </li> + </ul> +</div> +</body> +</html> |