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

Encode.H

Go to the documentation of this file.
00001 /**************************************************************
00002  *      Name: Hubert Tse (htse)
00003  *      File: RouteMaker.H
00004  *      Asgn: visuals
00005  *      Date: Thu Apr 14 23:15:11 EDT 2005
00006  **************************************************************/
00007 
00008 #ifndef Encode_Header
00009 #define Encode_Header
00010 
00011 #include <iostream>
00012 #include <string>
00013 
00014 #include <qglobal.h>
00015 #include <qstring.h>
00016 #include <qiodevice.h>
00017 
00019 class Encode
00020 {
00021 
00022  public:
00023   
00025   static QCString base64Encode( const QByteArray & in, bool insertLFs = false);
00026 
00028   static QCString base64Encode( const QCString& str, bool insertLFs = false );
00029 
00031   static void base64Encode( const QByteArray& in, QByteArray& out,
00032                             bool insertLFs = false );
00033 
00035   static void test();
00036 
00037  private:
00039   static const char Base64EncMap[64];
00040 
00041 };
00042 
00043 #endif

Generated on Mon May 16 11:08:36 2005 for BikeQuest by  doxygen 1.4.0