Main Page | Class Hierarchy | Class List | Directories | File List | Class 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 Member Functions

 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.


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(), and krmuo::CodeTokenMap::isDecodableToken().

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(), and krmuo::CodeTokenMap::isEncodableSign().


The documentation for this class was generated from the following files:
Generated on Sat Mar 4 11:55:08 2006 for MRPROJEXT by  doxygen 1.4.1