Base64Encoder Class Reference
[Basic Vector Graphics]

#include <Base64Encoder.hpp>

List of all members.


Detailed Description

This is used to encode a string in base64.

Definition at line 45 of file Base64Encoder.hpp.

Static Public Member Functions

char encode6 (long s)
 Encode the lowest 6 bits.
std::string encode (const std::string &str)
 Encode the given string in base64.

Static Public Attributes

const std::string encode_string = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
 Base64 Encoding (0-255).


Member Function Documentation

std::string encode const std::string &  str  )  [static]
 

Encode the given string in base64.

Definition at line 39 of file Base64Encoder.cpp.

References Base64Encoder::encode6().

char encode6 long  s  )  [inline, static]
 

Encode the lowest 6 bits.

Definition at line 53 of file Base64Encoder.hpp.

Referenced by Base64Encoder::encode().


Member Data Documentation

const std::string encode_string = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" [static]
 

Base64 Encoding (0-255).

Definition at line 32 of file Base64Encoder.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Feb 8 03:31:44 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1