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 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293
|
<!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>SWEncodingMgr 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> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center>
<hr><h1>SWEncodingMgr Class Reference</h1>This class is like a normal <a class="el" href="class_s_w_mgr.html">SWMgr</a>, but you can additonally specify which encoding you want to use.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="swencodingmgr_8h-source.html">swencodingmgr.h</a>></code>
<p>
<p>Inheritance diagram for SWEncodingMgr::
<p><center><img src="class_s_w_encoding_mgr.gif" usemap="#SWEncodingMgr_map" border="0"></center>
<map name="SWEncodingMgr_map">
<area href="class_s_w_mgr.html" alt="SWMgr" shape="rect" coords="0,0,107,24">
<area href="class_s_w_markup_mgr.html" alt="SWMarkupMgr" shape="rect" coords="0,112,107,136">
</map>
<a href="class_s_w_encoding_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> </td><td valign=bottom><a class="el" href="class_s_w_encoding_mgr.html#a0">SWEncodingMgr</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)</td></tr>
<tr><td> </td><td><font size=-1><em>Constructor of SWEncodingMgr.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="SWEncodingMgr::~SWEncodingMgr"></a>
</td><td valign=bottom><a class="el" href="class_s_w_encoding_mgr.html#a1">~SWEncodingMgr</a> ()</td></tr>
<tr><td> </td><td><font size=-1><em>The destructor of SWEncodingMgr.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="class_s_w_encoding_mgr.html#a2">Encoding</a> (char enc)</td></tr>
<tr><td> </td><td><font size=-1><em>Markup sets/gets the encoding after initialization.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_s_w_encoding_mgr.html#a3">AddRawFilters</a> (<a class="el" href="class_s_w_module.html">SWModule</a> *module, ConfigEntMap &section)</td></tr>
<tr><td> </td><td><font size=-1><em>Adds the raw 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 nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_s_w_encoding_mgr.html#a4">AddEncodingFilters</a> (<a class="el" href="class_s_w_module.html">SWModule</a> *module, ConfigEntMap &section)</td></tr>
<tr><td> </td><td><font size=-1><em>Adds the encoding filters which are defined in "section" to the <a class="el" href="class_s_w_module.html">SWModule</a> object "module".</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="SWEncodingMgr::latin1utf8"></a>
<a class="el" href="class_s_w_filter.html">SWFilter</a> * </td><td valign=bottom><b>latin1utf8</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="SWEncodingMgr::scsuutf8"></a>
<a class="el" href="class_s_w_filter.html">SWFilter</a> * </td><td valign=bottom><b>scsuutf8</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="SWEncodingMgr::targetenc"></a>
<a class="el" href="class_s_w_filter.html">SWFilter</a> * </td><td valign=bottom><b>targetenc</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="SWEncodingMgr::encoding"></a>
char </td><td valign=bottom><b>encoding</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_mgr.html">SWMgr</a>, but you can additonally specify which encoding you want to use.
<p>
<p>
Definition at line <a class="el" href="swencodingmgr_8h-source.html#l00031">31</a> of file <a class="el" href="swencodingmgr_8h-source.html">swencodingmgr.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
<a name="a0" doxytag="SWEncodingMgr::SWEncodingMgr"></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">
SWEncodingMgr::SWEncodingMgr
</td>
<td class="md">( </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 class="md">) </td>
<td class="md" colspan="2"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Constructor of SWEncodingMgr.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>iconfig
</em> </td><td>
</td></tr>
<tr><td valign=top><em>isysconfig
</em> </td><td>
</td></tr>
<tr><td valign=top><em>autoload
</em> </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> </td><td>
The desired encoding. </td></tr>
</table>
</dl> </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a4" doxytag="SWEncodingMgr::AddEncodingFilters"></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 SWEncodingMgr::AddEncodingFilters
</td>
<td class="md">( </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 & </td>
<td class="mdname"> <em>section</em> </td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Adds the encoding 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> </td><td>
To this module the encoding filter(s) are added </td></tr>
<tr><td valign=top><em>section
</em> </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#b8">SWMgr</a>. </td>
</tr>
</table>
<a name="a3" doxytag="SWEncodingMgr::AddRawFilters"></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 SWEncodingMgr::AddRawFilters
</td>
<td class="md">( </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 & </td>
<td class="mdname"> <em>section</em> </td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Adds the raw 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> </td><td>
To this module the raw filter(s) are added </td></tr>
<tr><td valign=top><em>section
</em> </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#b11">SWMgr</a>. </td>
</tr>
</table>
<a name="a2" doxytag="SWEncodingMgr::Encoding"></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 SWEncodingMgr::Encoding
</td>
<td class="md">( </td>
<td class="md">char </td>
<td class="mdname"> <em>enc</em> </td>
<td class="md">) </td>
<td class="md"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Markup sets/gets the encoding after initialization.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>m
</em> </td><td>
The new encoding or ENC_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) encoding format. </dl> </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="swencodingmgr_8h-source.html">swencodingmgr.h</a></ul>
<hr><address><small>Generated at Tue Oct 30 16:04:52 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>,
© 1997-2001</small></address>
</body>
</html>
|