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

krmuo::UrlConverter Class Reference

object for url-encode or url-decode strings More...

#include <muo_convert.h>

Inheritance diagram for krmuo::UrlConverter:

Inheritance graph
[legend]
Collaboration diagram for krmuo::UrlConverter:

Collaboration graph
[legend]
List of all members.

Public Methods

 UrlConverter ()
 constructor for an UrlConverter

virtual ~UrlConverter ()
 class-destructor

const string decode (const string &pUnDecodedString)
 realize a decodation valid for url-encoded strings

const string encode (const string &pUnEncodedString)
 realize an encodation valid for url-encoded strings


Detailed Description

object for url-encode or url-decode strings

Definition at line 167 of file muo_convert.h.


Constructor & Destructor Documentation

krmuo::UrlConverter::UrlConverter  
 

constructor for an UrlConverter

Note: this address isn't used because all the general methods of the class Converter are overloaded by the UrlConverter specific methods

Definition at line 347 of file muo_convert.cc.

References krmuo::Converter::mTokenMap.


Member Function Documentation

const string krmuo::UrlConverter::decode const string &    pUnDecodedString
 

realize a decodation valid for url-encoded strings

Parameters:
pUnDecodedString  :- a row of undecoded entities
Returns :
a copy of the class internal result string
while any undecoded entity can be found decoded that entity and append the result ( normally a one-sign-string ) to the internal result string of the conversion

Reimplemented from krmuo::Converter.

Definition at line 371 of file muo_convert.cc.

References krmuo::CodeTokenMap::decodeToken(), krmuo::CodeTokenMap::isDecodableToken(), krmuo::Converter::mConvertedString, krmuo::Converter::mUnConvertedStringEnd, krmuo::Converter::mUnConvertedStringIterator, and krmuo::Converter::mUnConvertedToken.

const string krmuo::UrlConverter::encode const string &    pUnEncodedString
 

realize an encodation valid for url-encoded strings

Parameters:
pUnEncodedString  :- a row of unencoded signs
Returns :
a copy of the class internal result string
while any undecoded signs can be found encoded that sign and append the result (= entity(!)) to the internal result string of the conversion

Reimplemented from krmuo::Converter.

Definition at line 401 of file muo_convert.cc.

References krmuo::CodeTokenMap::encodeSign(), krmuo::CodeTokenMap::isEncodableSign(), krmuo::Converter::mConvertedString, krmuo::Converter::mUnConvertedStringIterator, and krmuo::Converter::mUtf8String.


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 10:58:38 2003 for MRPROJEXT by doxygen1.2.17