Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

muo_convert_table.cc

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2001 Karsten Reincke <karsten.reincke@gnukose.org>
00003  *  
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License as published by
00006  * the Free Software Foundation; either version 2 of the License, or
00007  * (at your option) any later version.
00008  * 
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  * 
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software 
00016  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  *  
00018  * file <muo_convert_table.cc> version <#1.3.1#> of project <MrProjext>
00019  */   
00020 
00027 #include <iostream.h>
00028 #include <string>
00029 #include <assert.h>
00030 #include "muo_convert_table.h"
00031 
00032 /* &&& (1) local preprocessor-defines &&&&&&&&&&&&&&&&&&&&&&&& */
00033 
00034 /* &&& (2) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
00035 /* :-: (2.A) public constructors, inits & operators -::--:-:-: */
00041 krmuo::CodeTokenMap::CodeTokenMap()
00042 : mClearToken(NULL),
00043   mDecoderMap(NULL),
00044   mEncoderMap(NULL)
00045 {
00046 }
00047            
00054 krmuo::CodeTokenMap::~CodeTokenMap()
00055 {
00056 }
00057 /* :-: (2.B) public getter :-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00064 bool krmuo::CodeTokenMap::isEncodableSign(unsigned char pSign) const
00065 {
00066   
00067   if (mEncoderMap->find(pSign) == mEncoderMap->end())
00068     return false;
00069   else
00070     return true;
00071 }
00072 
00079 const string& krmuo::CodeTokenMap::encodeSign(unsigned char pSign) const
00080 {
00081   map<unsigned char,string>::const_iterator 
00082     encodationTupel=mEncoderMap->find(pSign);
00083   
00084   if (encodationTupel == mEncoderMap->end())
00085     return *mClearToken;
00086   else
00087     return (*encodationTupel).second;
00088 }
00089     
00096 bool krmuo::CodeTokenMap::isDecodableToken(const string& pToken) const
00097 {  
00098   if (mDecoderMap->find(pToken) == mDecoderMap->end())
00099     return false;
00100   else
00101     return true;
00102 }
00103 
00110 unsigned char krmuo::CodeTokenMap::decodeToken(const string& pToken) const
00111 {
00112   map<string,unsigned char>::const_iterator 
00113     decodationTupel=mDecoderMap->find(pToken);
00114   
00115   if (decodationTupel == mDecoderMap->end())
00116     return ' ';
00117   else
00118     return (*decodationTupel).second;
00119 }
00120 
00121 
00122 /* &&& (3) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
00123 /* &&& (3) definitions of static global variables &&&&&&&&&&& */
00124 const string krmuo::HtmlCodeTokenMap::mHtmlClearToken="";
00125 map<string,unsigned char> krmuo::HtmlCodeTokenMap::mHtmlDecoderMap;
00126 map<unsigned char,string> krmuo::HtmlCodeTokenMap::mHtmlEncoderMap;
00127 bool krmuo::HtmlCodeTokenMap::mHtmlMapsMustStillBeFilled=true;
00128 
00129 const unsigned char krmuo::HtmlCodeTokenMap::signValueAmp=(unsigned char)'&';
00130        const string krmuo::HtmlCodeTokenMap::signEncodationAmp="&amp;";
00131   
00132 const unsigned char krmuo::HtmlCodeTokenMap::signValueLt=(unsigned char)'<';
00133        const string krmuo::HtmlCodeTokenMap::signEncodationLt="&lt;";
00134 
00135 const unsigned char krmuo::HtmlCodeTokenMap::signValueGt=(unsigned char)'>';
00136        const string krmuo::HtmlCodeTokenMap::signEncodationGt="&gt;";
00137 
00138 const unsigned char krmuo::HtmlCodeTokenMap::signValueApos=(unsigned char)'\'';
00139        const string krmuo::HtmlCodeTokenMap::signEncodationApos="&apos;";
00140 
00141 const unsigned char krmuo::HtmlCodeTokenMap::signValueQuot=(unsigned char)'\"';
00142        const string krmuo::HtmlCodeTokenMap::signEncodationQuot="&quot;";
00143 
00144 const unsigned char krmuo::HtmlCodeTokenMap::signValue160=(unsigned char)160;
00145        const string krmuo::HtmlCodeTokenMap::signEncodation160="&nbsp;";
00146 const unsigned char krmuo::HtmlCodeTokenMap::signValue161=(unsigned char)161;
00147        const string krmuo::HtmlCodeTokenMap::signEncodation161="&iexcl;";
00148 const unsigned char krmuo::HtmlCodeTokenMap::signValue162=(unsigned char)162;
00149        const string krmuo::HtmlCodeTokenMap::signEncodation162="&cent;";
00150 const unsigned char krmuo::HtmlCodeTokenMap::signValue163=(unsigned char)163;
00151        const string krmuo::HtmlCodeTokenMap::signEncodation163="&pound;";
00152 const unsigned char krmuo::HtmlCodeTokenMap::signValue164=(unsigned char)164;
00153        const string krmuo::HtmlCodeTokenMap::signEncodation164="&curren;";
00154 const unsigned char krmuo::HtmlCodeTokenMap::signValue165=(unsigned char)165;
00155        const string krmuo::HtmlCodeTokenMap::signEncodation165="&yen;";
00156 const unsigned char krmuo::HtmlCodeTokenMap::signValue166=(unsigned char)166;
00157        const string krmuo::HtmlCodeTokenMap::signEncodation166="&brvbar;";
00158 const unsigned char krmuo::HtmlCodeTokenMap::signValue167=(unsigned char)167;
00159        const string krmuo::HtmlCodeTokenMap::signEncodation167="&sect;";
00160 const unsigned char krmuo::HtmlCodeTokenMap::signValue168=(unsigned char)168;
00161        const string krmuo::HtmlCodeTokenMap::signEncodation168="&uml;";
00162 const unsigned char krmuo::HtmlCodeTokenMap::signValue169=(unsigned char)169;
00163        const string krmuo::HtmlCodeTokenMap::signEncodation169="&copy;";
00164 
00165 const unsigned char krmuo::HtmlCodeTokenMap::signValue170=(unsigned char)170;
00166        const string krmuo::HtmlCodeTokenMap::signEncodation170="&ordf;";
00167 const unsigned char krmuo::HtmlCodeTokenMap::signValue171=(unsigned char)171;
00168        const string krmuo::HtmlCodeTokenMap::signEncodation171="&laquo;";
00169 const unsigned char krmuo::HtmlCodeTokenMap::signValue172=(unsigned char)172;
00170        const string krmuo::HtmlCodeTokenMap::signEncodation172="&not;";
00171 const unsigned char krmuo::HtmlCodeTokenMap::signValue173=(unsigned char)173;
00172        const string krmuo::HtmlCodeTokenMap::signEncodation173="&shy;";
00173 const unsigned char krmuo::HtmlCodeTokenMap::signValue174=(unsigned char)174;
00174        const string krmuo::HtmlCodeTokenMap::signEncodation174="&reg;";
00175 const unsigned char krmuo::HtmlCodeTokenMap::signValue175=(unsigned char)175;
00176        const string krmuo::HtmlCodeTokenMap::signEncodation175="&macr;";
00177 const unsigned char krmuo::HtmlCodeTokenMap::signValue176=(unsigned char)176;
00178        const string krmuo::HtmlCodeTokenMap::signEncodation176="&deg;";
00179 const unsigned char krmuo::HtmlCodeTokenMap::signValue177=(unsigned char)177;
00180        const string krmuo::HtmlCodeTokenMap::signEncodation177="&plusmn;";
00181 const unsigned char krmuo::HtmlCodeTokenMap::signValue178=(unsigned char)178;
00182        const string krmuo::HtmlCodeTokenMap::signEncodation178="&sup2;";
00183 const unsigned char krmuo::HtmlCodeTokenMap::signValue179=(unsigned char)179;
00184        const string krmuo::HtmlCodeTokenMap::signEncodation179="&sup3;";
00185 
00186 const unsigned char krmuo::HtmlCodeTokenMap::signValue180=(unsigned char)180;
00187        const string krmuo::HtmlCodeTokenMap::signEncodation180="&acute;";
00188 const unsigned char krmuo::HtmlCodeTokenMap::signValue181=(unsigned char)181;
00189        const string krmuo::HtmlCodeTokenMap::signEncodation181="&micro;";
00190 const unsigned char krmuo::HtmlCodeTokenMap::signValue182=(unsigned char)182;
00191        const string krmuo::HtmlCodeTokenMap::signEncodation182="&para;";
00192 const unsigned char krmuo::HtmlCodeTokenMap::signValue183=(unsigned char)183;
00193        const string krmuo::HtmlCodeTokenMap::signEncodation183="&middot;";
00194 const unsigned char krmuo::HtmlCodeTokenMap::signValue184=(unsigned char)184;
00195        const string krmuo::HtmlCodeTokenMap::signEncodation184="&cedil;";
00196 const unsigned char krmuo::HtmlCodeTokenMap::signValue185=(unsigned char)185;
00197        const string krmuo::HtmlCodeTokenMap::signEncodation185="&sup1;";
00198 const unsigned char krmuo::HtmlCodeTokenMap::signValue186=(unsigned char)186;
00199        const string krmuo::HtmlCodeTokenMap::signEncodation186="&ordm;";
00200 const unsigned char krmuo::HtmlCodeTokenMap::signValue187=(unsigned char)187;
00201        const string krmuo::HtmlCodeTokenMap::signEncodation187="&raquo;";
00202 const unsigned char krmuo::HtmlCodeTokenMap::signValue188=(unsigned char)188;
00203        const string krmuo::HtmlCodeTokenMap::signEncodation188="&frac14;";
00204 const unsigned char krmuo::HtmlCodeTokenMap::signValue189=(unsigned char)189;
00205        const string krmuo::HtmlCodeTokenMap::signEncodation189="&frac12;";
00206 
00207 const unsigned char krmuo::HtmlCodeTokenMap::signValue190=(unsigned char)190;
00208        const string krmuo::HtmlCodeTokenMap::signEncodation190="&frac34;";
00209 const unsigned char krmuo::HtmlCodeTokenMap::signValue191=(unsigned char)191;
00210        const string krmuo::HtmlCodeTokenMap::signEncodation191="&iquest;";
00211 const unsigned char krmuo::HtmlCodeTokenMap::signValue192=(unsigned char)192;
00212        const string krmuo::HtmlCodeTokenMap::signEncodation192="&Agrave;";
00213 const unsigned char krmuo::HtmlCodeTokenMap::signValue193=(unsigned char)193;
00214        const string krmuo::HtmlCodeTokenMap::signEncodation193="&Aacute;";
00215 const unsigned char krmuo::HtmlCodeTokenMap::signValue194=(unsigned char)194;
00216        const string krmuo::HtmlCodeTokenMap::signEncodation194="&Acirc;";
00217 const unsigned char krmuo::HtmlCodeTokenMap::signValue195=(unsigned char)195;
00218        const string krmuo::HtmlCodeTokenMap::signEncodation195="&Atilde;";
00219 const unsigned char krmuo::HtmlCodeTokenMap::signValue196=(unsigned char)196;
00220        const string krmuo::HtmlCodeTokenMap::signEncodation196="&Auml;";
00221 const unsigned char krmuo::HtmlCodeTokenMap::signValue197=(unsigned char)197;
00222        const string krmuo::HtmlCodeTokenMap::signEncodation197="&Aring;";
00223 const unsigned char krmuo::HtmlCodeTokenMap::signValue198=(unsigned char)198;
00224        const string krmuo::HtmlCodeTokenMap::signEncodation198="&AElig;";
00225 const unsigned char krmuo::HtmlCodeTokenMap::signValue199=(unsigned char)199;
00226        const string krmuo::HtmlCodeTokenMap::signEncodation199="&Ccedil;";
00227 
00228 const unsigned char krmuo::HtmlCodeTokenMap::signValue200=(unsigned char)200;
00229        const string krmuo::HtmlCodeTokenMap::signEncodation200="&Egrave;";
00230 const unsigned char krmuo::HtmlCodeTokenMap::signValue201=(unsigned char)201;
00231        const string krmuo::HtmlCodeTokenMap::signEncodation201="&Eacute;";
00232 const unsigned char krmuo::HtmlCodeTokenMap::signValue202=(unsigned char)202;
00233        const string krmuo::HtmlCodeTokenMap::signEncodation202="&Ecirc;";
00234 const unsigned char krmuo::HtmlCodeTokenMap::signValue203=(unsigned char)203;
00235        const string krmuo::HtmlCodeTokenMap::signEncodation203="&Euml;";
00236 const unsigned char krmuo::HtmlCodeTokenMap::signValue204=(unsigned char)204;
00237        const string krmuo::HtmlCodeTokenMap::signEncodation204="&Igrave;";
00238 const unsigned char krmuo::HtmlCodeTokenMap::signValue205=(unsigned char)205;
00239        const string krmuo::HtmlCodeTokenMap::signEncodation205="&Iacute;";
00240 const unsigned char krmuo::HtmlCodeTokenMap::signValue206=(unsigned char)206;
00241        const string krmuo::HtmlCodeTokenMap::signEncodation206="&Icirc;";
00242 const unsigned char krmuo::HtmlCodeTokenMap::signValue207=(unsigned char)207;
00243        const string krmuo::HtmlCodeTokenMap::signEncodation207="&Iuml;";
00244 const unsigned char krmuo::HtmlCodeTokenMap::signValue208=(unsigned char)208;
00245        const string krmuo::HtmlCodeTokenMap::signEncodation208="&ETH;";
00246 const unsigned char krmuo::HtmlCodeTokenMap::signValue209=(unsigned char)209;
00247        const string krmuo::HtmlCodeTokenMap::signEncodation209="&Ntilde;";
00248 
00249 const unsigned char krmuo::HtmlCodeTokenMap::signValue210=(unsigned char)210;
00250        const string krmuo::HtmlCodeTokenMap::signEncodation210="&Ograve;";
00251 const unsigned char krmuo::HtmlCodeTokenMap::signValue211=(unsigned char)211;
00252        const string krmuo::HtmlCodeTokenMap::signEncodation211="&Oacute;";
00253 const unsigned char krmuo::HtmlCodeTokenMap::signValue212=(unsigned char)212;
00254        const string krmuo::HtmlCodeTokenMap::signEncodation212="&Ocirc;";
00255 const unsigned char krmuo::HtmlCodeTokenMap::signValue213=(unsigned char)213;
00256        const string krmuo::HtmlCodeTokenMap::signEncodation213="&Otilde;";
00257 const unsigned char krmuo::HtmlCodeTokenMap::signValue214=(unsigned char)214;
00258        const string krmuo::HtmlCodeTokenMap::signEncodation214="&Ouml;";
00259 const unsigned char krmuo::HtmlCodeTokenMap::signValue215=(unsigned char)215;
00260        const string krmuo::HtmlCodeTokenMap::signEncodation215="&times;";
00261 const unsigned char krmuo::HtmlCodeTokenMap::signValue216=(unsigned char)216;
00262        const string krmuo::HtmlCodeTokenMap::signEncodation216="&Oslash;";
00263 const unsigned char krmuo::HtmlCodeTokenMap::signValue217=(unsigned char)217;
00264        const string krmuo::HtmlCodeTokenMap::signEncodation217="&Ugrave;";
00265 const unsigned char krmuo::HtmlCodeTokenMap::signValue218=(unsigned char)218;
00266        const string krmuo::HtmlCodeTokenMap::signEncodation218="&Uacute;";
00267 const unsigned char krmuo::HtmlCodeTokenMap::signValue219=(unsigned char)219;
00268        const string krmuo::HtmlCodeTokenMap::signEncodation219="&Ucirc;";
00269 
00270 const unsigned char krmuo::HtmlCodeTokenMap::signValue220=(unsigned char)220;
00271        const string krmuo::HtmlCodeTokenMap::signEncodation220="&Uuml;";
00272 const unsigned char krmuo::HtmlCodeTokenMap::signValue221=(unsigned char)221;
00273        const string krmuo::HtmlCodeTokenMap::signEncodation221="&Yacute;";
00274 const unsigned char krmuo::HtmlCodeTokenMap::signValue222=(unsigned char)222;
00275        const string krmuo::HtmlCodeTokenMap::signEncodation222="&THORN;";
00276 const unsigned char krmuo::HtmlCodeTokenMap::signValue223=(unsigned char)223;
00277        const string krmuo::HtmlCodeTokenMap::signEncodation223="&szlig;";
00278 const unsigned char krmuo::HtmlCodeTokenMap::signValue224=(unsigned char)224;
00279        const string krmuo::HtmlCodeTokenMap::signEncodation224="&agrave;";
00280 const unsigned char krmuo::HtmlCodeTokenMap::signValue225=(unsigned char)225;
00281        const string krmuo::HtmlCodeTokenMap::signEncodation225="&aacute;";
00282 const unsigned char krmuo::HtmlCodeTokenMap::signValue226=(unsigned char)226;
00283        const string krmuo::HtmlCodeTokenMap::signEncodation226="&acirc;";
00284 const unsigned char krmuo::HtmlCodeTokenMap::signValue227=(unsigned char)227;
00285        const string krmuo::HtmlCodeTokenMap::signEncodation227="&atilde;";
00286 const unsigned char krmuo::HtmlCodeTokenMap::signValue228=(unsigned char)228;
00287        const string krmuo::HtmlCodeTokenMap::signEncodation228="&auml;";
00288 const unsigned char krmuo::HtmlCodeTokenMap::signValue229=(unsigned char)229;
00289        const string krmuo::HtmlCodeTokenMap::signEncodation229="&aring;";
00290 
00291 const unsigned char krmuo::HtmlCodeTokenMap::signValue230=(unsigned char)230;
00292        const string krmuo::HtmlCodeTokenMap::signEncodation230="&aelig;";
00293 const unsigned char krmuo::HtmlCodeTokenMap::signValue231=(unsigned char)231;
00294        const string krmuo::HtmlCodeTokenMap::signEncodation231="&ccedil;";
00295 const unsigned char krmuo::HtmlCodeTokenMap::signValue232=(unsigned char)232;
00296        const string krmuo::HtmlCodeTokenMap::signEncodation232="&egrave;";
00297 const unsigned char krmuo::HtmlCodeTokenMap::signValue233=(unsigned char)233;
00298        const string krmuo::HtmlCodeTokenMap::signEncodation233="&eacute;";
00299 const unsigned char krmuo::HtmlCodeTokenMap::signValue234=(unsigned char)234;
00300        const string krmuo::HtmlCodeTokenMap::signEncodation234="&ecirc;";
00301 const unsigned char krmuo::HtmlCodeTokenMap::signValue235=(unsigned char)235;
00302        const string krmuo::HtmlCodeTokenMap::signEncodation235="&euml;";
00303 const unsigned char krmuo::HtmlCodeTokenMap::signValue236=(unsigned char)236;
00304        const string krmuo::HtmlCodeTokenMap::signEncodation236="&igrave;";
00305 const unsigned char krmuo::HtmlCodeTokenMap::signValue237=(unsigned char)237;
00306        const string krmuo::HtmlCodeTokenMap::signEncodation237="&iacute;";
00307 const unsigned char krmuo::HtmlCodeTokenMap::signValue238=(unsigned char)238;
00308        const string krmuo::HtmlCodeTokenMap::signEncodation238="&icirc;";
00309 const unsigned char krmuo::HtmlCodeTokenMap::signValue239=(unsigned char)239;
00310        const string krmuo::HtmlCodeTokenMap::signEncodation239="&iuml;";
00311 
00312 const unsigned char krmuo::HtmlCodeTokenMap::signValue240=(unsigned char)240;
00313        const string krmuo::HtmlCodeTokenMap::signEncodation240="&eth;";
00314 const unsigned char krmuo::HtmlCodeTokenMap::signValue241=(unsigned char)241;
00315        const string krmuo::HtmlCodeTokenMap::signEncodation241="&ntilde;";
00316 const unsigned char krmuo::HtmlCodeTokenMap::signValue242=(unsigned char)242;
00317        const string krmuo::HtmlCodeTokenMap::signEncodation242="&ograve;";
00318 const unsigned char krmuo::HtmlCodeTokenMap::signValue243=(unsigned char)243;
00319        const string krmuo::HtmlCodeTokenMap::signEncodation243="&oacute;";
00320 const unsigned char krmuo::HtmlCodeTokenMap::signValue244=(unsigned char)244;
00321        const string krmuo::HtmlCodeTokenMap::signEncodation244="&ocirc;";
00322 const unsigned char krmuo::HtmlCodeTokenMap::signValue245=(unsigned char)245;
00323        const string krmuo::HtmlCodeTokenMap::signEncodation245="&otilde;";
00324 const unsigned char krmuo::HtmlCodeTokenMap::signValue246=(unsigned char)246;
00325        const string krmuo::HtmlCodeTokenMap::signEncodation246="&ouml;";
00326 const unsigned char krmuo::HtmlCodeTokenMap::signValue247=(unsigned char)247;
00327        const string krmuo::HtmlCodeTokenMap::signEncodation247="&divide;";
00328 const unsigned char krmuo::HtmlCodeTokenMap::signValue248=(unsigned char)248;
00329        const string krmuo::HtmlCodeTokenMap::signEncodation248="&oslash;";
00330 const unsigned char krmuo::HtmlCodeTokenMap::signValue249=(unsigned char)249;
00331        const string krmuo::HtmlCodeTokenMap::signEncodation249="&ugrave;";
00332 
00333 const unsigned char krmuo::HtmlCodeTokenMap::signValue250=(unsigned char)250;
00334        const string krmuo::HtmlCodeTokenMap::signEncodation250="&uacute;";
00335 const unsigned char krmuo::HtmlCodeTokenMap::signValue251=(unsigned char)251;
00336        const string krmuo::HtmlCodeTokenMap::signEncodation251="&ucirc;";
00337 const unsigned char krmuo::HtmlCodeTokenMap::signValue252=(unsigned char)252;
00338        const string krmuo::HtmlCodeTokenMap::signEncodation252="&uuml;";
00339 const unsigned char krmuo::HtmlCodeTokenMap::signValue253=(unsigned char)253;
00340        const string krmuo::HtmlCodeTokenMap::signEncodation253="&yacute;";
00341 const unsigned char krmuo::HtmlCodeTokenMap::signValue254=(unsigned char)254;
00342        const string krmuo::HtmlCodeTokenMap::signEncodation254="&thorn;";
00343 const unsigned char krmuo::HtmlCodeTokenMap::signValue255=(unsigned char)255;
00344        const string krmuo::HtmlCodeTokenMap::signEncodation255="&yuml;";
00345 
00346 /* --- (3.A) public ------------------------------------------ */
00347 
00348 /* :-: (3.A.1) public constructors, inits & operators -:-:-:-: */
00349 
00354 krmuo::HtmlCodeTokenMap::HtmlCodeTokenMap()
00355 {
00356   CodeTokenMap::mClearToken=&mHtmlClearToken;
00357   CodeTokenMap::mDecoderMap=&mHtmlDecoderMap;
00358   CodeTokenMap::mEncoderMap=&mHtmlEncoderMap;
00359 
00360   if (mHtmlMapsMustStillBeFilled)
00361   {    
00362     mHtmlDecoderMap.insert(make_pair(signEncodationAmp,signValueAmp));
00363     mHtmlEncoderMap.insert(make_pair(signValueAmp,signEncodationAmp));
00364 
00365     mHtmlDecoderMap.insert(make_pair(signEncodationLt,signValueLt));
00366     mHtmlEncoderMap.insert(make_pair(signValueLt,signEncodationLt));
00367 
00368     mHtmlDecoderMap.insert(make_pair(signEncodationGt,signValueGt));
00369     mHtmlEncoderMap.insert(make_pair(signValueGt,signEncodationGt));
00370 
00371     mHtmlDecoderMap.insert(make_pair(signEncodationQuot,signValueQuot));
00372     mHtmlEncoderMap.insert(make_pair(signValueQuot,signEncodationQuot));
00373 
00374     /* !!! apos doesn't seem to be a real html-tag and should 
00375      * therefore not be encoded but decoded
00376      */
00377     mHtmlDecoderMap.insert(make_pair(signEncodationApos,signValueApos));
00378 
00379     mHtmlEncoderMap.insert(make_pair(signValue160,signEncodation160));
00380     mHtmlDecoderMap.insert(make_pair(signEncodation160,signValue160));
00381     mHtmlEncoderMap.insert(make_pair(signValue161,signEncodation161));
00382     mHtmlDecoderMap.insert(make_pair(signEncodation161,signValue161));
00383     mHtmlEncoderMap.insert(make_pair(signValue162,signEncodation162));
00384     mHtmlDecoderMap.insert(make_pair(signEncodation162,signValue162));
00385     mHtmlEncoderMap.insert(make_pair(signValue163,signEncodation163));
00386     mHtmlDecoderMap.insert(make_pair(signEncodation163,signValue163));
00387     mHtmlEncoderMap.insert(make_pair(signValue164,signEncodation164));
00388     mHtmlDecoderMap.insert(make_pair(signEncodation164,signValue164));
00389     mHtmlEncoderMap.insert(make_pair(signValue165,signEncodation165));
00390     mHtmlDecoderMap.insert(make_pair(signEncodation165,signValue165));
00391     mHtmlEncoderMap.insert(make_pair(signValue166,signEncodation166));
00392     mHtmlDecoderMap.insert(make_pair(signEncodation166,signValue166));
00393     mHtmlEncoderMap.insert(make_pair(signValue167,signEncodation167));
00394     mHtmlDecoderMap.insert(make_pair(signEncodation167,signValue167));
00395     mHtmlEncoderMap.insert(make_pair(signValue168,signEncodation168));
00396     mHtmlDecoderMap.insert(make_pair(signEncodation168,signValue168));
00397     mHtmlEncoderMap.insert(make_pair(signValue169,signEncodation169));
00398     mHtmlDecoderMap.insert(make_pair(signEncodation169,signValue169));
00399 
00400     mHtmlEncoderMap.insert(make_pair(signValue170,signEncodation170));
00401     mHtmlDecoderMap.insert(make_pair(signEncodation170,signValue170));
00402     mHtmlEncoderMap.insert(make_pair(signValue171,signEncodation171));
00403     mHtmlDecoderMap.insert(make_pair(signEncodation171,signValue171));
00404     mHtmlEncoderMap.insert(make_pair(signValue172,signEncodation172));
00405     mHtmlDecoderMap.insert(make_pair(signEncodation172,signValue172));
00406     mHtmlEncoderMap.insert(make_pair(signValue173,signEncodation173));
00407     mHtmlDecoderMap.insert(make_pair(signEncodation173,signValue173));
00408     mHtmlEncoderMap.insert(make_pair(signValue174,signEncodation174));
00409     mHtmlDecoderMap.insert(make_pair(signEncodation174,signValue174));
00410     mHtmlEncoderMap.insert(make_pair(signValue175,signEncodation175));
00411     mHtmlDecoderMap.insert(make_pair(signEncodation175,signValue175));
00412     mHtmlEncoderMap.insert(make_pair(signValue176,signEncodation176));
00413     mHtmlDecoderMap.insert(make_pair(signEncodation176,signValue176));
00414     mHtmlEncoderMap.insert(make_pair(signValue177,signEncodation177));
00415     mHtmlDecoderMap.insert(make_pair(signEncodation177,signValue177));
00416     mHtmlEncoderMap.insert(make_pair(signValue178,signEncodation178));
00417     mHtmlDecoderMap.insert(make_pair(signEncodation178,signValue178));
00418     mHtmlEncoderMap.insert(make_pair(signValue179,signEncodation179));
00419     mHtmlDecoderMap.insert(make_pair(signEncodation179,signValue179));
00420   
00421     mHtmlEncoderMap.insert(make_pair(signValue180,signEncodation180));
00422     mHtmlDecoderMap.insert(make_pair(signEncodation180,signValue180));
00423     mHtmlEncoderMap.insert(make_pair(signValue181,signEncodation181));
00424     mHtmlDecoderMap.insert(make_pair(signEncodation181,signValue181));
00425     mHtmlEncoderMap.insert(make_pair(signValue182,signEncodation182));
00426     mHtmlDecoderMap.insert(make_pair(signEncodation182,signValue182));
00427     mHtmlEncoderMap.insert(make_pair(signValue183,signEncodation183));
00428     mHtmlDecoderMap.insert(make_pair(signEncodation183,signValue183));
00429     mHtmlEncoderMap.insert(make_pair(signValue184,signEncodation184));
00430     mHtmlDecoderMap.insert(make_pair(signEncodation184,signValue184));
00431     mHtmlEncoderMap.insert(make_pair(signValue185,signEncodation185));
00432     mHtmlDecoderMap.insert(make_pair(signEncodation185,signValue185));
00433     mHtmlEncoderMap.insert(make_pair(signValue186,signEncodation186));
00434     mHtmlDecoderMap.insert(make_pair(signEncodation186,signValue186));
00435     mHtmlEncoderMap.insert(make_pair(signValue187,signEncodation187));
00436     mHtmlDecoderMap.insert(make_pair(signEncodation187,signValue187));
00437     mHtmlEncoderMap.insert(make_pair(signValue188,signEncodation188));
00438     mHtmlDecoderMap.insert(make_pair(signEncodation188,signValue188));
00439     mHtmlEncoderMap.insert(make_pair(signValue189,signEncodation189));
00440     mHtmlDecoderMap.insert(make_pair(signEncodation189,signValue189));
00441 
00442     mHtmlEncoderMap.insert(make_pair(signValue190,signEncodation190));
00443     mHtmlDecoderMap.insert(make_pair(signEncodation190,signValue190));
00444     mHtmlEncoderMap.insert(make_pair(signValue191,signEncodation191));
00445     mHtmlDecoderMap.insert(make_pair(signEncodation191,signValue191));
00446     mHtmlEncoderMap.insert(make_pair(signValue192,signEncodation192));
00447     mHtmlDecoderMap.insert(make_pair(signEncodation192,signValue192));
00448     mHtmlEncoderMap.insert(make_pair(signValue193,signEncodation193));
00449     mHtmlDecoderMap.insert(make_pair(signEncodation193,signValue193));
00450     mHtmlEncoderMap.insert(make_pair(signValue194,signEncodation194));
00451     mHtmlDecoderMap.insert(make_pair(signEncodation194,signValue194));
00452     mHtmlEncoderMap.insert(make_pair(signValue195,signEncodation195));
00453     mHtmlDecoderMap.insert(make_pair(signEncodation195,signValue195));
00454     mHtmlEncoderMap.insert(make_pair(signValue196,signEncodation196));
00455     mHtmlDecoderMap.insert(make_pair(signEncodation196,signValue196));
00456     mHtmlEncoderMap.insert(make_pair(signValue197,signEncodation197));
00457     mHtmlDecoderMap.insert(make_pair(signEncodation197,signValue197));
00458     mHtmlEncoderMap.insert(make_pair(signValue198,signEncodation198));
00459     mHtmlDecoderMap.insert(make_pair(signEncodation198,signValue198));
00460     mHtmlEncoderMap.insert(make_pair(signValue199,signEncodation199));
00461     mHtmlDecoderMap.insert(make_pair(signEncodation199,signValue199));
00462 
00463     mHtmlEncoderMap.insert(make_pair(signValue200,signEncodation200));
00464     mHtmlDecoderMap.insert(make_pair(signEncodation200,signValue200));
00465     mHtmlEncoderMap.insert(make_pair(signValue201,signEncodation201));
00466     mHtmlDecoderMap.insert(make_pair(signEncodation201,signValue201));
00467     mHtmlEncoderMap.insert(make_pair(signValue202,signEncodation202));
00468     mHtmlDecoderMap.insert(make_pair(signEncodation202,signValue202));
00469     mHtmlEncoderMap.insert(make_pair(signValue203,signEncodation203));
00470     mHtmlDecoderMap.insert(make_pair(signEncodation203,signValue203));
00471     mHtmlEncoderMap.insert(make_pair(signValue204,signEncodation204));
00472     mHtmlDecoderMap.insert(make_pair(signEncodation204,signValue204));
00473     mHtmlEncoderMap.insert(make_pair(signValue205,signEncodation205));
00474     mHtmlDecoderMap.insert(make_pair(signEncodation205,signValue205));
00475     mHtmlEncoderMap.insert(make_pair(signValue206,signEncodation206));
00476     mHtmlDecoderMap.insert(make_pair(signEncodation206,signValue206));
00477     mHtmlEncoderMap.insert(make_pair(signValue207,signEncodation207));
00478     mHtmlDecoderMap.insert(make_pair(signEncodation207,signValue207));
00479     mHtmlEncoderMap.insert(make_pair(signValue208,signEncodation208));
00480     mHtmlDecoderMap.insert(make_pair(signEncodation208,signValue208));
00481     mHtmlEncoderMap.insert(make_pair(signValue209,signEncodation209));
00482     mHtmlDecoderMap.insert(make_pair(signEncodation209,signValue209));
00483 
00484     mHtmlEncoderMap.insert(make_pair(signValue210,signEncodation210));
00485     mHtmlDecoderMap.insert(make_pair(signEncodation210,signValue210));
00486     mHtmlEncoderMap.insert(make_pair(signValue211,signEncodation211));
00487     mHtmlDecoderMap.insert(make_pair(signEncodation211,signValue211));
00488     mHtmlEncoderMap.insert(make_pair(signValue212,signEncodation212));
00489     mHtmlDecoderMap.insert(make_pair(signEncodation212,signValue212));
00490     mHtmlEncoderMap.insert(make_pair(signValue213,signEncodation213));
00491     mHtmlDecoderMap.insert(make_pair(signEncodation213,signValue213));
00492     mHtmlEncoderMap.insert(make_pair(signValue214,signEncodation214));
00493     mHtmlDecoderMap.insert(make_pair(signEncodation214,signValue214));
00494     mHtmlEncoderMap.insert(make_pair(signValue215,signEncodation215));
00495     mHtmlDecoderMap.insert(make_pair(signEncodation215,signValue215));
00496     mHtmlEncoderMap.insert(make_pair(signValue216,signEncodation216));
00497     mHtmlDecoderMap.insert(make_pair(signEncodation216,signValue216));
00498     mHtmlEncoderMap.insert(make_pair(signValue217,signEncodation217));
00499     mHtmlDecoderMap.insert(make_pair(signEncodation217,signValue217));
00500     mHtmlEncoderMap.insert(make_pair(signValue218,signEncodation218));
00501     mHtmlDecoderMap.insert(make_pair(signEncodation218,signValue218));
00502     mHtmlEncoderMap.insert(make_pair(signValue219,signEncodation219));
00503     mHtmlDecoderMap.insert(make_pair(signEncodation219,signValue219));
00504 
00505     mHtmlEncoderMap.insert(make_pair(signValue220,signEncodation220));
00506     mHtmlDecoderMap.insert(make_pair(signEncodation220,signValue220));
00507     mHtmlEncoderMap.insert(make_pair(signValue221,signEncodation221));
00508     mHtmlDecoderMap.insert(make_pair(signEncodation221,signValue221));
00509     mHtmlEncoderMap.insert(make_pair(signValue222,signEncodation222));
00510     mHtmlDecoderMap.insert(make_pair(signEncodation222,signValue222));
00511     mHtmlEncoderMap.insert(make_pair(signValue223,signEncodation223));
00512     mHtmlDecoderMap.insert(make_pair(signEncodation223,signValue223));
00513     mHtmlEncoderMap.insert(make_pair(signValue224,signEncodation224));
00514     mHtmlDecoderMap.insert(make_pair(signEncodation224,signValue224));
00515     mHtmlEncoderMap.insert(make_pair(signValue225,signEncodation225));
00516     mHtmlDecoderMap.insert(make_pair(signEncodation225,signValue225));
00517     mHtmlEncoderMap.insert(make_pair(signValue226,signEncodation226));
00518     mHtmlDecoderMap.insert(make_pair(signEncodation226,signValue226));
00519     mHtmlEncoderMap.insert(make_pair(signValue227,signEncodation227));
00520     mHtmlDecoderMap.insert(make_pair(signEncodation227,signValue227));
00521     mHtmlEncoderMap.insert(make_pair(signValue228,signEncodation228));
00522     mHtmlDecoderMap.insert(make_pair(signEncodation228,signValue228));
00523     mHtmlEncoderMap.insert(make_pair(signValue229,signEncodation229));
00524     mHtmlDecoderMap.insert(make_pair(signEncodation229,signValue229));
00525 
00526     mHtmlEncoderMap.insert(make_pair(signValue230,signEncodation230));
00527     mHtmlDecoderMap.insert(make_pair(signEncodation230,signValue230));
00528     mHtmlEncoderMap.insert(make_pair(signValue231,signEncodation231));
00529     mHtmlDecoderMap.insert(make_pair(signEncodation231,signValue231));
00530     mHtmlEncoderMap.insert(make_pair(signValue232,signEncodation232));
00531     mHtmlDecoderMap.insert(make_pair(signEncodation232,signValue232));
00532     mHtmlEncoderMap.insert(make_pair(signValue233,signEncodation233));
00533     mHtmlDecoderMap.insert(make_pair(signEncodation233,signValue233));
00534     mHtmlEncoderMap.insert(make_pair(signValue234,signEncodation234));
00535     mHtmlDecoderMap.insert(make_pair(signEncodation234,signValue234));
00536     mHtmlEncoderMap.insert(make_pair(signValue235,signEncodation235));
00537     mHtmlDecoderMap.insert(make_pair(signEncodation235,signValue235));
00538     mHtmlEncoderMap.insert(make_pair(signValue236,signEncodation236));
00539     mHtmlDecoderMap.insert(make_pair(signEncodation236,signValue236));
00540     mHtmlEncoderMap.insert(make_pair(signValue237,signEncodation237));
00541     mHtmlDecoderMap.insert(make_pair(signEncodation237,signValue237));
00542     mHtmlEncoderMap.insert(make_pair(signValue238,signEncodation238));
00543     mHtmlDecoderMap.insert(make_pair(signEncodation238,signValue238));
00544     mHtmlEncoderMap.insert(make_pair(signValue239,signEncodation239));
00545     mHtmlDecoderMap.insert(make_pair(signEncodation239,signValue239));
00546 
00547     mHtmlEncoderMap.insert(make_pair(signValue240,signEncodation240));
00548     mHtmlDecoderMap.insert(make_pair(signEncodation240,signValue240));
00549     mHtmlEncoderMap.insert(make_pair(signValue241,signEncodation241));
00550     mHtmlDecoderMap.insert(make_pair(signEncodation241,signValue241));
00551     mHtmlEncoderMap.insert(make_pair(signValue242,signEncodation242));
00552     mHtmlDecoderMap.insert(make_pair(signEncodation242,signValue242));
00553     mHtmlEncoderMap.insert(make_pair(signValue243,signEncodation243));
00554     mHtmlDecoderMap.insert(make_pair(signEncodation243,signValue243));
00555     mHtmlEncoderMap.insert(make_pair(signValue244,signEncodation244));
00556     mHtmlDecoderMap.insert(make_pair(signEncodation244,signValue244));
00557     mHtmlEncoderMap.insert(make_pair(signValue245,signEncodation245));
00558     mHtmlDecoderMap.insert(make_pair(signEncodation245,signValue245));
00559     mHtmlEncoderMap.insert(make_pair(signValue246,signEncodation246));
00560     mHtmlDecoderMap.insert(make_pair(signEncodation246,signValue246));
00561     mHtmlEncoderMap.insert(make_pair(signValue247,signEncodation247));
00562     mHtmlDecoderMap.insert(make_pair(signEncodation247,signValue247));
00563     mHtmlEncoderMap.insert(make_pair(signValue248,signEncodation248));
00564     mHtmlDecoderMap.insert(make_pair(signEncodation248,signValue248));
00565     mHtmlEncoderMap.insert(make_pair(signValue249,signEncodation249));
00566     mHtmlDecoderMap.insert(make_pair(signEncodation249,signValue249));
00567 
00568     mHtmlEncoderMap.insert(make_pair(signValue250,signEncodation250));
00569     mHtmlDecoderMap.insert(make_pair(signEncodation250,signValue250));
00570     mHtmlEncoderMap.insert(make_pair(signValue251,signEncodation251));
00571     mHtmlDecoderMap.insert(make_pair(signEncodation251,signValue251));
00572     mHtmlEncoderMap.insert(make_pair(signValue252,signEncodation252));
00573     mHtmlDecoderMap.insert(make_pair(signEncodation252,signValue252));
00574     mHtmlEncoderMap.insert(make_pair(signValue253,signEncodation253));
00575     mHtmlDecoderMap.insert(make_pair(signEncodation253,signValue253));
00576     mHtmlEncoderMap.insert(make_pair(signValue254,signEncodation254));
00577     mHtmlDecoderMap.insert(make_pair(signEncodation254,signValue254));
00578     mHtmlEncoderMap.insert(make_pair(signValue255,signEncodation255));
00579     mHtmlDecoderMap.insert(make_pair(signEncodation255,signValue255));
00580 
00581     mHtmlMapsMustStillBeFilled=false;
00582   }
00583 }
00584 
00585 
00591 krmuo::HtmlCodeTokenMap::~HtmlCodeTokenMap()
00592 {
00593 }
00594 
00595 /* :-: (3.A.2) public getter -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00596 
00597 
00598 /* :-: (3.A.3) public setter -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00599 /* :-: (3.A.4) public others -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00600 
00601 /* &&& (4) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
00602 /* &&&      definitions of static global variables &&&&&&&&&&& */
00603 const string krmuo::XmlCodeTokenMap::mXmlClearToken="";
00604 map<string,unsigned char> krmuo::XmlCodeTokenMap::mXmlDecoderMap;
00605 map<unsigned char,string> krmuo::XmlCodeTokenMap::mXmlEncoderMap;
00606 bool krmuo::XmlCodeTokenMap::mXmlMapsMustStillBeFilled=true;
00607 
00608 const unsigned char krmuo::XmlCodeTokenMap::signValueAmp=(unsigned char)'&';
00609        const string krmuo::XmlCodeTokenMap::signEncodationAmp="&amp;";
00610   
00611 const unsigned char krmuo::XmlCodeTokenMap::signValueLt=(unsigned char)'<';
00612        const string krmuo::XmlCodeTokenMap::signEncodationLt="&lt;";
00613 
00614 const unsigned char krmuo::XmlCodeTokenMap::signValueGt=(unsigned char)'>';
00615        const string krmuo::XmlCodeTokenMap::signEncodationGt="&gt;";
00616 
00617 const unsigned char krmuo::XmlCodeTokenMap::signValueApos=(unsigned char)'\'';
00618        const string krmuo::XmlCodeTokenMap::signEncodationApos="&apos;";
00619 
00620 const unsigned char krmuo::XmlCodeTokenMap::signValueQuot=(unsigned char)'\"';
00621        const string krmuo::XmlCodeTokenMap::signEncodationQuot="&quot;";
00622 
00623 /* --- (4.A) - public ----------------------------------------- */
00624 /* :-: (4.A.1) public constructors, inits & operators :-:-:-:-: */
00628 krmuo::XmlCodeTokenMap::XmlCodeTokenMap()
00629 {
00630   CodeTokenMap::mClearToken=&mXmlClearToken;
00631   CodeTokenMap::mDecoderMap=&mXmlDecoderMap;
00632   CodeTokenMap::mEncoderMap=&mXmlEncoderMap;
00633   if (mXmlMapsMustStillBeFilled)
00634   {
00635     
00636     mXmlDecoderMap.insert(make_pair(signEncodationAmp,signValueAmp));
00637     mXmlEncoderMap.insert(make_pair(signValueAmp,signEncodationAmp));
00638 
00639     mXmlDecoderMap.insert(make_pair(signEncodationLt,signValueLt));
00640     mXmlEncoderMap.insert(make_pair(signValueLt,signEncodationLt));
00641 
00642     mXmlDecoderMap.insert(make_pair(signEncodationGt,signValueGt));
00643     mXmlEncoderMap.insert(make_pair(signValueGt,signEncodationGt));
00644 
00645     mXmlDecoderMap.insert(make_pair(signEncodationApos,signValueApos));
00646     mXmlEncoderMap.insert(make_pair(signValueApos,signEncodationApos));
00647 
00648     mXmlDecoderMap.insert(make_pair(signEncodationQuot,signValueQuot));
00649     mXmlEncoderMap.insert(make_pair(signValueQuot,signEncodationQuot));
00650     
00651     mXmlMapsMustStillBeFilled=false;
00652   }
00653 }
00654 
00658 krmuo::XmlCodeTokenMap::~XmlCodeTokenMap()
00659 {
00660 }
00661 
00662 /* &&& (5) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
00663 /* &&&     methods for class &&& */
00664 const string krmuo::UrlCodeTokenMap::mUrlClearToken="";
00665 map<string,unsigned char> krmuo::UrlCodeTokenMap::mUrlDecoderMap;
00666 map<unsigned char,string> krmuo::UrlCodeTokenMap::mUrlEncoderMap;
00667 bool krmuo::UrlCodeTokenMap::mUrlMapsMustStillBeFilled=true;
00668 
00669 const unsigned char krmuo::UrlCodeTokenMap::signValueSemicolon=(unsigned char)';';
00670        const string krmuo::UrlCodeTokenMap::signEncodationSemicolon="%3B";
00671 
00672 const unsigned char krmuo::UrlCodeTokenMap::signValueSlash=(unsigned char)'/';
00673        const string krmuo::UrlCodeTokenMap::signEncodationSlash="%2F";
00674 
00675 const unsigned char krmuo::UrlCodeTokenMap::signValueQuest=(unsigned char)'?';
00676        const string krmuo::UrlCodeTokenMap::signEncodationQuest="%3F";
00677 
00678 const unsigned char krmuo::UrlCodeTokenMap::signValueColon=(unsigned char)':';
00679        const string krmuo::UrlCodeTokenMap::signEncodationColon="%3A";
00680 
00681 const unsigned char krmuo::UrlCodeTokenMap::signValueAtsign=(unsigned char)'@';
00682        const string krmuo::UrlCodeTokenMap::signEncodationAtsign="%40";
00683 
00684 const unsigned char krmuo::UrlCodeTokenMap::signValueEqual=(unsigned char)'=';
00685        const string krmuo::UrlCodeTokenMap::signEncodationEqual="%3D";
00686  
00687 const unsigned char krmuo::UrlCodeTokenMap::signValueAmpercent=(unsigned char)'&';
00688        const string krmuo::UrlCodeTokenMap::signEncodationAmpercent="%26";
00689  
00690 const unsigned char krmuo::UrlCodeTokenMap::signValueSpace=(unsigned char)' ';
00691        const string krmuo::UrlCodeTokenMap::signEncodationSpace="%20";
00692 
00693 const unsigned char krmuo::UrlCodeTokenMap::signValueLt=(unsigned char)'<';
00694        const string krmuo::UrlCodeTokenMap::signEncodationLt="%3C";
00695 
00696 const unsigned char krmuo::UrlCodeTokenMap::signValueGt=(unsigned char)'>';
00697        const string krmuo::UrlCodeTokenMap::signEncodationGt="%3E";
00698 
00699 const unsigned char krmuo::UrlCodeTokenMap::signValueQuote=(unsigned char)'"';
00700        const string krmuo::UrlCodeTokenMap::signEncodationQuote="%22";
00701 
00702 const unsigned char krmuo::UrlCodeTokenMap::signValueGadder=(unsigned char)'#';
00703        const string krmuo::UrlCodeTokenMap::signEncodationGadder="%23";
00704 
00705 const unsigned char krmuo::UrlCodeTokenMap::signValuePercent=(unsigned char)'%';
00706        const string krmuo::UrlCodeTokenMap::signEncodationPercent="%25";
00707 
00708 const unsigned char krmuo::UrlCodeTokenMap::signValueLsBracket=(unsigned char)'[';
00709        const string krmuo::UrlCodeTokenMap::signEncodationLsBracket="%5B";
00710 
00711 const unsigned char krmuo::UrlCodeTokenMap::signValueRsBracket=(unsigned char)']';
00712        const string krmuo::UrlCodeTokenMap::signEncodationRsBracket="%5D";
00713  
00714 const unsigned char krmuo::UrlCodeTokenMap::signValueLBrace=(unsigned char)'{';
00715        const string krmuo::UrlCodeTokenMap::signEncodationLBrace="%7B";
00716 
00717 const unsigned char krmuo::UrlCodeTokenMap::signValueRBrace=(unsigned char)'}';
00718        const string krmuo::UrlCodeTokenMap::signEncodationRBrace="%7D";
00719 
00720 const unsigned char krmuo::UrlCodeTokenMap::signValueVBar=(unsigned char)'|';
00721        const string krmuo::UrlCodeTokenMap::signEncodationVBar="%7C";
00722 
00723 const unsigned char krmuo::UrlCodeTokenMap::signValueBackSlash=(unsigned char)'\\';
00724        const string krmuo::UrlCodeTokenMap::signEncodationBackSlash="%5C";
00725 
00726 const unsigned char krmuo::UrlCodeTokenMap::signValueCaret=(unsigned char)'^';
00727        const string krmuo::UrlCodeTokenMap::signEncodationCaret="%5E";
00728 
00729 const unsigned char krmuo::UrlCodeTokenMap::signValueTilde=(unsigned char)'~';
00730        const string krmuo::UrlCodeTokenMap::signEncodationTilde="%7E";
00731 
00732 const unsigned char krmuo::UrlCodeTokenMap::signValueBackQuote=(unsigned char)'`';
00733        const string krmuo::UrlCodeTokenMap::signEncodationBackQuote="%60";
00734      
00735 const unsigned char krmuo::UrlCodeTokenMap::signValuePlusSign=(unsigned char)'+';
00736        const string krmuo::UrlCodeTokenMap::signEncodationPlusSign="%2B";
00737        
00738 const unsigned char krmuo::UrlCodeTokenMap::signValueBlank=(unsigned char)' ';
00739        const string krmuo::UrlCodeTokenMap::signEncodationBlank="+";
00740 
00741 
00742 /* --- (5.A) - public ----------------------------------------- */
00743 /* :-: (5.A.1) public constructors, inits & operators :-:-:-:-: */
00747 krmuo::UrlCodeTokenMap::UrlCodeTokenMap()
00748 {
00749   CodeTokenMap::mClearToken=&mUrlClearToken;
00750   CodeTokenMap::mDecoderMap=&mUrlDecoderMap;
00751   CodeTokenMap::mEncoderMap=&mUrlEncoderMap;
00752   if (mUrlMapsMustStillBeFilled)
00753   {
00754    
00755     mUrlDecoderMap.insert(make_pair(signEncodationSemicolon,signValueSemicolon));
00756     mUrlEncoderMap.insert(make_pair(signValueSemicolon,signEncodationSemicolon));
00757 
00758     mUrlDecoderMap.insert(make_pair(signEncodationSlash,signValueSlash));
00759     mUrlEncoderMap.insert(make_pair(signValueSlash,signEncodationSlash));
00760 
00761     mUrlDecoderMap.insert(make_pair(signEncodationQuest,signValueQuest));
00762     mUrlEncoderMap.insert(make_pair(signValueQuest,signEncodationQuest));
00763     
00764     mUrlDecoderMap.insert(make_pair(signEncodationColon,signValueColon));
00765     mUrlEncoderMap.insert(make_pair(signValueColon,signEncodationColon));
00766     
00767     mUrlDecoderMap.insert(make_pair(signEncodationAtsign,signValueAtsign));
00768     mUrlEncoderMap.insert(make_pair(signValueAtsign,signEncodationAtsign));
00769     
00770     mUrlDecoderMap.insert(make_pair(signEncodationEqual,signValueEqual));
00771     mUrlEncoderMap.insert(make_pair(signValueEqual,signEncodationEqual));
00772     
00773     mUrlDecoderMap.insert(make_pair(signEncodationAmpercent,signValueAmpercent));
00774     mUrlEncoderMap.insert(make_pair(signValueAmpercent,signEncodationAmpercent));
00775 
00776     mUrlDecoderMap.insert(make_pair(signEncodationSpace,signValueSpace));
00777     mUrlEncoderMap.insert(make_pair(signValueSpace,signEncodationSpace));
00778 
00779     mUrlDecoderMap.insert(make_pair(signEncodationLt,signValueLt));
00780     mUrlEncoderMap.insert(make_pair(signValueLt,signEncodationLt));
00781     
00782     mUrlDecoderMap.insert(make_pair(signEncodationGt,signValueGt));
00783     mUrlEncoderMap.insert(make_pair(signValueGt,signEncodationGt));
00784     
00785     mUrlDecoderMap.insert(make_pair(signEncodationQuote,signValueQuote));
00786     mUrlEncoderMap.insert(make_pair(signValueQuote,signEncodationQuote));
00787     
00788     mUrlDecoderMap.insert(make_pair(signEncodationGadder,signValueGadder));
00789     mUrlEncoderMap.insert(make_pair(signValueGadder,signEncodationGadder));
00790 
00791     mUrlDecoderMap.insert(make_pair(signEncodationPercent,signValuePercent));
00792     mUrlEncoderMap.insert(make_pair(signValuePercent,signEncodationPercent));
00793 
00794     mUrlDecoderMap.insert(make_pair(signEncodationLsBracket,signValueLsBracket));
00795     mUrlEncoderMap.insert(make_pair(signValueLsBracket,signEncodationLsBracket));
00796     
00797     mUrlDecoderMap.insert(make_pair(signEncodationRsBracket,signValueRsBracket));
00798     mUrlEncoderMap.insert(make_pair(signValueRsBracket,signEncodationRsBracket));
00799     
00800     mUrlDecoderMap.insert(make_pair(signEncodationLBrace,signValueLBrace));
00801     mUrlEncoderMap.insert(make_pair(signValueLBrace,signEncodationLBrace));
00802     
00803     mUrlDecoderMap.insert(make_pair(signEncodationRBrace,signValueRBrace));
00804     mUrlEncoderMap.insert(make_pair(signValueRBrace,signEncodationRBrace));
00805     
00806     mUrlDecoderMap.insert(make_pair(signEncodationVBar,signValueVBar));
00807     mUrlEncoderMap.insert(make_pair(signValueVBar,signEncodationVBar));
00808    
00809     mUrlDecoderMap.insert(make_pair(signEncodationBackSlash,signValueBackSlash));
00810     mUrlEncoderMap.insert(make_pair(signValueBackSlash,signEncodationBackSlash));
00811     
00812     mUrlDecoderMap.insert(make_pair(signEncodationCaret,signValueCaret));
00813     mUrlEncoderMap.insert(make_pair(signValueCaret,signEncodationCaret));
00814     
00815     mUrlDecoderMap.insert(make_pair(signEncodationTilde,signValueTilde));
00816     mUrlEncoderMap.insert(make_pair(signValueTilde,signEncodationTilde));
00817     
00818     mUrlDecoderMap.insert(make_pair(signEncodationPlusSign,signValuePlusSign));
00819     mUrlEncoderMap.insert(make_pair(signValuePlusSign,signEncodationPlusSign));
00820 
00821     mUrlDecoderMap.insert(make_pair(signEncodationBlank,signValueBlank));
00822     mUrlEncoderMap.insert(make_pair(signValueBlank,signEncodationBlank));
00823      
00824     mUrlMapsMustStillBeFilled=false;
00825   }
00826 }
00830 krmuo::UrlCodeTokenMap::~UrlCodeTokenMap()
00831 {
00832 }
00833 /* :-: (5.A.2) public getter -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00834 /* :-: (5.A.3) public setter -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00835 /* :-: (5.A.4) public others -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00836 
00837 /* --- (5.B) - private ---------------------------------------- */
00838 /* :-: (5.B.1) private constructors, inits & operators -:-:-:-: */
00839 /* :-: (5.B.2) private getter -:-:-:-:-:-:-:-:-:-::-:-:-:-:-:-: */
00840 /* :-: (5.B.3) private setter :-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00841 /* :-: (5.B.4) private others :-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00842 
00843 /* --- (5.C) - protected -------------------------------------- */
00844 /* :-: (5.C.1) protected getter :-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00845 /* :-: (5.C.2) protected setter :-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */
00846 /* :-: (5.C.3) protected others :-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: */

Generated on Sun Mar 16 10:58:37 2003 for MRPROJEXT by doxygen1.2.17