casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Static Private Attributes
Base64 Class Reference

Base64 encode/decode. More...

#include <Base64.h>

List of all members.

Public Member Functions

 Base64 ()
void encode (FILE *, std::string &, bool add_crlf=true)
void encode (const std::string &, std::string &, bool add_crlf=true)
void encode (const char *, size_t, std::string &, bool add_crlf=true)
void encode (unsigned char *, size_t, std::string &, bool add_crlf=true)
void decode (const std::string &, std::string &)
void decode (const std::string &, unsigned char *, size_t &)
size_t decode_length (const std::string &)
 Base64 ()
void encode (FILE *, std::string &, bool add_crlf=true)
void encode (const std::string &, std::string &, bool add_crlf=true)
void encode (const char *, size_t, std::string &, bool add_crlf=true)
void encode (unsigned char *, size_t, std::string &, bool add_crlf=true)
void decode (const std::string &, std::string &)
void decode (const std::string &, unsigned char *, size_t &)
size_t decode_length (const std::string &)

Private Member Functions

 Base64 (const Base64 &)
Base64operator= (const Base64 &)
 Base64 (const Base64 &)
Base64operator= (const Base64 &)

Static Private Attributes

static char * bstr
static char rstr [128]

Detailed Description

Base64 encode/decode.

Definition at line 48 of file Base64.h.


Constructor & Destructor Documentation

Base64::Base64 ( const Base64 ) [inline, private]

Definition at line 64 of file Base64.h.

Base64::Base64 ( const Base64 ) [inline, private]

Definition at line 64 of file Base64.h.


Member Function Documentation

void Base64::decode ( const std::string &  ,
std::string &   
)
void Base64::decode ( const std::string &  ,
std::string &   
)
void Base64::decode ( const std::string &  ,
unsigned char *  ,
size_t &   
)
void Base64::decode ( const std::string &  ,
unsigned char *  ,
size_t &   
)
size_t Base64::decode_length ( const std::string &  )
size_t Base64::decode_length ( const std::string &  )
void Base64::encode ( FILE *  ,
std::string &  ,
bool  add_crlf = true 
)
void Base64::encode ( FILE *  ,
std::string &  ,
bool  add_crlf = true 
)
void Base64::encode ( const std::string &  ,
std::string &  ,
bool  add_crlf = true 
)
void Base64::encode ( const std::string &  ,
std::string &  ,
bool  add_crlf = true 
)
void Base64::encode ( const char *  ,
size_t  ,
std::string &  ,
bool  add_crlf = true 
)
void Base64::encode ( const char *  ,
size_t  ,
std::string &  ,
bool  add_crlf = true 
)
void Base64::encode ( unsigned char *  ,
size_t  ,
std::string &  ,
bool  add_crlf = true 
)
void Base64::encode ( unsigned char *  ,
size_t  ,
std::string &  ,
bool  add_crlf = true 
)
Base64& Base64::operator= ( const Base64 ) [inline, private]

Definition at line 65 of file Base64.h.

Base64& Base64::operator= ( const Base64 ) [inline, private]

Definition at line 65 of file Base64.h.


Member Data Documentation

static char * Base64::bstr [static, private]

Definition at line 66 of file Base64.h.

static char Base64::rstr [static, private]

Definition at line 67 of file Base64.h.


The documentation for this class was generated from the following files: