Main Page | Namespace List | Class List | Directories | File List | Class Members | File Members

Encode Class Reference

#include <Encode.H>

List of all members.


Detailed Description

Class for base manipulation for speed purposes.


Static Public Member Functions

static QCString base64Encode (const QByteArray &in, bool insertLFs=false)
 Encodes a QByteArray to a QCString in base 64.
static QCString base64Encode (const QCString &str, bool insertLFs=false)
 Encodes a QCString to a QCString in base 64.
static void base64Encode (const QByteArray &in, QByteArray &out, bool insertLFs=false)
 Encodes a QByteArray (in) to a QByteArray (out) in base 64.
static void test ()
 Testing method.

Static Private Attributes

static const char Base64EncMap [64]
 Array of 64 chars; used for conversion.


Member Function Documentation

void Encode::base64Encode const QByteArray &  in,
QByteArray &  out,
bool  insertLFs = false
[static]
 

Encodes a QByteArray (in) to a QByteArray (out) in base 64.

QCString Encode::base64Encode const QCString &  str,
bool  insertLFs = false
[static]
 

Encodes a QCString to a QCString in base 64.

Here is the call graph for this function:

QCString Encode::base64Encode const QByteArray &  in,
bool  insertLFs = false
[static]
 

Encodes a QByteArray to a QCString in base 64.

void Encode::test  )  [static]
 

Testing method.


Member Data Documentation

const char Encode::Base64EncMap [static, private]
 

Initial value:

{
  0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48,
  0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50,
  0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58,
  0x59, 0x5A, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66,
  0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E,
  0x6F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76,
  0x77, 0x78, 0x79, 0x7A, 0x30, 0x31, 0x32, 0x33,
  0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x2B, 0x2F
}
Array of 64 chars; used for conversion.


The documentation for this class was generated from the following files:
Generated on Mon May 16 11:08:50 2005 for BikeQuest by  doxygen 1.4.0