Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

TypeBase64 Class Reference

Class to encode and decode base64 data. More...

#include <type_base64.hh>

Inheritance diagram for TypeBase64:

TypeHandler List of all members.

Public Member Functions

Public Attributes

Protected Attributes


Detailed Description

Class to encode and decode base64 data.

See also:
TypeHandler

TypeChain

Author:
Reed Hedges <reed@zerohour.net> December, 2001

Definition at line 48 of file type_base64.hh.


Constructor & Destructor Documentation

TypeBase64::TypeBase64  ) 
 

Definition at line 66 of file type_base64.cc.


Member Function Documentation

void TypeBase64::decode string &  data,
TypeParams params
[virtual]
 

Decode data.

Parameters:
data the base64 data to decode.
params not used.
Warning:
Returns partial data on error, and prints message to stderr (i think).

Reimplemented from TypeHandler.

Definition at line 96 of file type_base64.cc.

void TypeBase64::encode string &  data,
TypeParams params
[virtual]
 

Encode data.

Todo:
not finished yet.
Parameters:
data the data to encode into base64.
params not used.

Reimplemented from TypeHandler.

Definition at line 185 of file type_base64.cc.


Member Data Documentation

byte TypeBase64::dtable[256] [protected]
 

Definition at line 50 of file type_base64.hh.

Referenced by decode(), encode(), and TypeBase64().

char* TypeBase64::eol
 

Definition at line 54 of file type_base64.hh.

Referenced by encode(), and TypeBase64().

int TypeBase64::errcheck
 

Definition at line 55 of file type_base64.hh.

Referenced by decode(), and TypeBase64().

int TypeBase64::linelength [protected]
 

Definition at line 51 of file type_base64.hh.


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 03:55:58 2003 for Interreality Project - VOS by doxygen 1.3.2