File: class_s_w_markup_mgr.html

package info (click to toggle)
sword 1.5.3-3woody2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 20,484 kB
  • ctags: 11,105
  • sloc: cpp: 49,665; ansic: 13,335; sh: 8,730; pascal: 3,433; tcl: 1,602; makefile: 988; perl: 565; sed: 93
file content (251 lines) | stat: -rw-r--r-- 10,820 bytes parent folder | download
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SWMarkupMgr class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.9.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>SWMarkupMgr  Class Reference</h1>This class is like a normal <a class="el" href="class_s_w_encoding_mgr.html">SWEncodingMgr</a>, but you can additonally specify which markup you want to use. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="swmarkupmgr_8h-source.html">swmarkupmgr.h</a>&gt;</code>
<p>
<p>Inheritance diagram for SWMarkupMgr::
<p><center><img src="class_s_w_markup_mgr.gif" usemap="#SWMarkupMgr_map" border="0"></center>
<map name="SWMarkupMgr_map">
<area href="class_s_w_encoding_mgr.html" alt="SWEncodingMgr" shape="rect" coords="0,56,107,80">
<area href="class_s_w_mgr.html" alt="SWMgr" shape="rect" coords="0,0,107,24">
</map>
<a href="class_s_w_markup_mgr-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_s_w_markup_mgr.html#a0">SWMarkupMgr</a> (<a class="el" href="class_s_w_config.html">SWConfig</a> *iconfig=0, <a class="el" href="class_s_w_config.html">SWConfig</a> *isysconfig=0, bool autoload=true, char encoding=ENC_UTF8, char markup=FMT_THML)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor of SWMarkupMgr.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="SWMarkupMgr::~SWMarkupMgr"></a>
&nbsp;</td><td valign=bottom><a class="el" href="class_s_w_markup_mgr.html#a1">~SWMarkupMgr</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The destructor of SWMarkupMgr.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="class_s_w_markup_mgr.html#a2">Markup</a> (char m=FMT_UNKNOWN)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Markup sets/gets the markup after initialization.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="class_s_w_markup_mgr.html#a3">AddRenderFilters</a> (<a class="el" href="class_s_w_module.html">SWModule</a> *module, ConfigEntMap &amp;section)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Adds the render filters which are defined in "section" to the <a class="el" href="class_s_w_module.html">SWModule</a> object "module".</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="b0" doxytag="SWMarkupMgr::CreateFilters"></a>
void&nbsp;</td><td valign=bottom><b>CreateFilters</b> (char markup)</td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="SWMarkupMgr::fromthml"></a>
<a class="el" href="class_s_w_filter.html">SWFilter</a> *&nbsp;</td><td valign=bottom><b>fromthml</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="SWMarkupMgr::fromgbf"></a>
<a class="el" href="class_s_w_filter.html">SWFilter</a> *&nbsp;</td><td valign=bottom><b>fromgbf</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="SWMarkupMgr::fromplain"></a>
<a class="el" href="class_s_w_filter.html">SWFilter</a> *&nbsp;</td><td valign=bottom><b>fromplain</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="SWMarkupMgr::fromosis"></a>
<a class="el" href="class_s_w_filter.html">SWFilter</a> *&nbsp;</td><td valign=bottom><b>fromosis</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n4" doxytag="SWMarkupMgr::markup"></a>
char&nbsp;</td><td valign=bottom><b>markup</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class is like a normal <a class="el" href="class_s_w_encoding_mgr.html">SWEncodingMgr</a>, but you can additonally specify which markup you want to use.
<p>

<p>
Definition at line <a class="el" href="swmarkupmgr_8h-source.html#l00031">31</a> of file <a class="el" href="swmarkupmgr_8h-source.html">swmarkupmgr.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="SWMarkupMgr::SWMarkupMgr"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> 
SWMarkupMgr::SWMarkupMgr 
          </td>
          <td class="md">(&nbsp</td>
          <td class="md"><a class="el" href="class_s_w_config.html">SWConfig</a> *          </td>
          <td class="mdname"> <em>iconfig</em> = 0,           </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">        <tr>
          <td></td>
          <td></td>
          <td class="md"><a class="el" href="class_s_w_config.html">SWConfig</a> *          </td>
          <td class="mdname"> <em>isysconfig</em> = 0,           </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">        <tr>
          <td></td>
          <td></td>
          <td class="md">bool          </td>
          <td class="mdname"> <em>autoload</em> = true,           </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">        <tr>
          <td></td>
          <td></td>
          <td class="md">char          </td>
          <td class="mdname"> <em>encoding</em> = ENC_UTF8,           </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">        <tr>
          <td></td>
          <td></td>
          <td class="md">char          </td>
          <td class="mdname"> <em>markup</em> = FMT_THML          </td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp</td>
          <td class="md" colspan="2">          </td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor of SWMarkupMgr.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>iconfig
</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em>isysconfig
</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em>autoload
</em>&nbsp;</td><td>
If this bool is true the constructor starts loading the installed modules. If you reimplemented <a class="el" href="class_s_w_mgr.html">SWMgr</a> you can set autoload=false to load the modules with your own reimplemented function. </td></tr>
<tr><td valign=top><em>encoding
</em>&nbsp;</td><td>
The desired encoding. </td></tr>
<tr><td valign=top><em>markup
</em>&nbsp;</td><td>
The desired markup format. </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a3" doxytag="SWMarkupMgr::AddRenderFilters"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> 
virtual void SWMarkupMgr::AddRenderFilters 
          </td>
          <td class="md">(&nbsp</td>
          <td class="md"><a class="el" href="class_s_w_module.html">SWModule</a> *          </td>
          <td class="mdname"> <em>module</em>,           </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">        <tr>
          <td></td>
          <td></td>
          <td class="md">ConfigEntMap &amp;          </td>
          <td class="mdname"> <em>section</em>          </td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp</td>
          <td class="md" colspan="2"><code> [virtual]</code>          </td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Adds the render filters which are defined in "section" to the <a class="el" href="class_s_w_module.html">SWModule</a> object "module".
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>module
</em>&nbsp;</td><td>
To this module the render filter(s) are added </td></tr>
<tr><td valign=top><em>section
</em>&nbsp;</td><td>
We use this section to get a list of filters we should apply to the module </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="class_s_w_mgr.html#b9">SWMgr</a>.    </td>
  </tr>
</table>
<a name="a2" doxytag="SWMarkupMgr::Markup"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> 
char SWMarkupMgr::Markup 
          </td>
          <td class="md">(&nbsp</td>
          <td class="md">char          </td>
          <td class="mdname"> <em>m</em> = FMT_UNKNOWN          </td>
          <td class="md">)&nbsp;</td>
          <td class="md">          </td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Markup sets/gets the markup after initialization.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>m
</em>&nbsp;</td><td>
The new markup or FMT_UNKNOWN if you just want to get the current markup. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The current (possibly changed) markup format. </dl>    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="swmarkupmgr_8h-source.html">swmarkupmgr.h</a></ul>
<hr><address><small>Generated at Tue Oct 30 16:04:54 2001 for The Sword Project by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.9.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2001</small></address>
</body>
</html>