File: classlog4cpp_1_1LayoutsFactory.html

package info (click to toggle)
log4cpp-doc 1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,528 kB
  • sloc: makefile: 10
file content (181 lines) | stat: -rw-r--r-- 9,328 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>log4cpp: log4cpp::LayoutsFactory Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<div class="nav">
<a class="el" href="namespacelog4cpp.html">log4cpp</a>::<a class="el" href="classlog4cpp_1_1LayoutsFactory.html">LayoutsFactory</a></div>
<h1>log4cpp::LayoutsFactory Class Reference</h1><!-- doxytag: class="log4cpp::LayoutsFactory" --><code>#include &lt;<a class="el" href="LayoutsFactory_8hh-source.html">LayoutsFactory.hh</a>&gt;</code>
<p>
<a href="classlog4cpp_1_1LayoutsFactory-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classlog4cpp_1_1FactoryParams.html">FactoryParams</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1LayoutsFactory.html#0b51f3877d04e2aa522ccce05abb30e4">params_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::auto_ptr&lt; <a class="el" href="classlog4cpp_1_1Layout.html">Layout</a> &gt;(*)&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1LayoutsFactory.html#ceb332bf023621028e4f408323d39c6a">create_function_t</a> (const <a class="el" href="classlog4cpp_1_1FactoryParams.html">params_t</a> &amp;params)</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1LayoutsFactory.html#a36cf37534dd77e11253d81edcaa51c4">registerCreator</a> (const std::string &amp;class_name, <a class="el" href="classlog4cpp_1_1LayoutsFactory.html#ceb332bf023621028e4f408323d39c6a">create_function_t</a> create_function)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">std::auto_ptr&lt; <a class="el" href="classlog4cpp_1_1Layout.html">Layout</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1LayoutsFactory.html#31f08a0f498374599f339b959d9f7b1f">create</a> (const std::string &amp;class_name, const <a class="el" href="classlog4cpp_1_1FactoryParams.html">params_t</a> &amp;params)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1LayoutsFactory.html#e7f454fa61fa8ec572a2908526d40b25">registed</a> (const std::string &amp;class_name) const </td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classlog4cpp_1_1LayoutsFactory.html">LayoutsFactory</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1LayoutsFactory.html#42519d3f23241bcc2916d704689c8360">getInstance</a> ()</td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="0b51f3877d04e2aa522ccce05abb30e4"></a><!-- doxytag: member="log4cpp::LayoutsFactory::params_t" ref="0b51f3877d04e2aa522ccce05abb30e4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classlog4cpp_1_1FactoryParams.html">FactoryParams</a> <a class="el" href="classlog4cpp_1_1FactoryParams.html">log4cpp::LayoutsFactory::params_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ceb332bf023621028e4f408323d39c6a"></a><!-- doxytag: member="log4cpp::LayoutsFactory::create_function_t" ref="ceb332bf023621028e4f408323d39c6a" args="(const params_t &amp;params)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::auto_ptr&lt;<a class="el" href="classlog4cpp_1_1Layout.html">Layout</a>&gt;(*) <a class="el" href="classlog4cpp_1_1LayoutsFactory.html#ceb332bf023621028e4f408323d39c6a">log4cpp::LayoutsFactory::create_function_t</a>(const <a class="el" href="classlog4cpp_1_1FactoryParams.html">params_t</a> &amp;params)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="42519d3f23241bcc2916d704689c8360"></a><!-- doxytag: member="log4cpp::LayoutsFactory::getInstance" ref="42519d3f23241bcc2916d704689c8360" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlog4cpp_1_1LayoutsFactory.html">LayoutsFactory</a> &amp; log4cpp::LayoutsFactory::getInstance           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="a36cf37534dd77e11253d81edcaa51c4"></a><!-- doxytag: member="log4cpp::LayoutsFactory::registerCreator" ref="a36cf37534dd77e11253d81edcaa51c4" args="(const std::string &amp;class_name, create_function_t create_function)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void log4cpp::LayoutsFactory::registerCreator           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>class_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlog4cpp_1_1LayoutsFactory.html#ceb332bf023621028e4f408323d39c6a">create_function_t</a>&nbsp;</td>
          <td class="paramname"> <em>create_function</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="31f08a0f498374599f339b959d9f7b1f"></a><!-- doxytag: member="log4cpp::LayoutsFactory::create" ref="31f08a0f498374599f339b959d9f7b1f" args="(const std::string &amp;class_name, const params_t &amp;params)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::auto_ptr&lt; <a class="el" href="classlog4cpp_1_1Layout.html">Layout</a> &gt; log4cpp::LayoutsFactory::create           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>class_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classlog4cpp_1_1FactoryParams.html">params_t</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>params</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="e7f454fa61fa8ec572a2908526d40b25"></a><!-- doxytag: member="log4cpp::LayoutsFactory::registed" ref="e7f454fa61fa8ec572a2908526d40b25" args="(const std::string &amp;class_name) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool log4cpp::LayoutsFactory::registed           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>class_name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="LayoutsFactory_8hh-source.html">LayoutsFactory.hh</a><li><a class="el" href="LayoutsFactory_8cpp.html">LayoutsFactory.cpp</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 3 11:55:05 2007 for log4cpp by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>