File: a00210.html

package info (click to toggle)
libloki 0.1.7-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,608 kB
  • sloc: cpp: 30,475; ansic: 1,974; makefile: 365; php: 316; perl: 108
file content (134 lines) | stat: -rwxr-xr-x 6,278 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Loki: Register</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Register</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html">Loki::RegisterOnCreateSet&lt; ElementList &gt;</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00141.html">Loki::UnRegisterOnDeleteSet&lt; ElementList &gt;</a></td></tr>

<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00210.html#g33d521dc1c8f768f42b15a34a2574a5c">LOKI_CHECK_CLASS_IN_LIST</a>(CLASS, LIST)</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class t &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00210.html#g14cf89ecf59f8bf3a6d47cdfe5ff389d">Loki::RegisterFunction</a> ()</td></tr>

<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class t &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00210.html#g8d2c3c45de75a6829be4f21a2575bacc">Loki::UnRegisterFunction</a> ()</td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="g33d521dc1c8f768f42b15a34a2574a5c"></a><!-- doxytag: member="Register.h::LOKI_CHECK_CLASS_IN_LIST" ref="g33d521dc1c8f768f42b15a34a2574a5c" args="(CLASS, LIST)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOKI_CHECK_CLASS_IN_LIST          </td>
          <td>(</td>
          <td class="paramtype">CLASS,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LIST&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Value:</b><div class="fragment"><pre class="fragment">\
    <span class="keyword">struct </span>LOKI_CONCAT(check_,CLASS,_isInList_,LIST)                            \
    {                                                                           \
        <span class="keyword">typedef</span> <span class="keywordtype">int</span> LOKI_CONCAT(ERROR_class_,CLASS,_isNotInList_,LIST);         \
    };                                                                          \
    <span class="keyword">typedef</span> Loki::Select&lt;Loki::TL::IndexOf&lt;LIST, CLASS&gt;::value == -1,           \
                        CLASS,                                                  \
                        LOKI_CONCAT(check_,CLASS,_isInList_,LIST)&gt;              \
                        ::Result LOKI_CONCAT(CLASS,isInList,LIST,result);       \
    <span class="keyword">typedef</span> LOKI_CONCAT(CLASS,isInList,LIST,result)::                           \
                        LOKI_CONCAT(ERROR_class_,CLASS,_isNotInList_,LIST)      \
                        LOKI_CONCAT(ERROR_class_,CLASS,_isNotInList__,LIST);
</pre></div>Check if CLASS is in the typelist LIST.<p>
<dl class="user" compact><dt><b>Usage</b></dt><dd>see test/Register </dd></dl>

</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="g14cf89ecf59f8bf3a6d47cdfe5ff389d"></a><!-- doxytag: member="Loki::RegisterFunction" ref="g14cf89ecf59f8bf3a6d47cdfe5ff389d" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class t &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool Loki::RegisterFunction           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Must be specialized be the user 
</div>
</div><p>
<a class="anchor" name="g8d2c3c45de75a6829be4f21a2575bacc"></a><!-- doxytag: member="Loki::UnRegisterFunction" ref="g8d2c3c45de75a6829be4f21a2575bacc" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class t &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool Loki::UnRegisterFunction           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Must be specialized be the user 
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 29 18:51:40 2009 for Loki by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>