OverSim
base64.h File Reference
#include <iterator>

Go to the source code of this file.

Classes

class  base64< _E, _Tr >
struct  base64< _E, _Tr >::crlf
struct  base64< _E, _Tr >::crlfsp
struct  base64< _E, _Tr >::noline
struct  base64< _E, _Tr >::three2four

Macros

#define _0000_0011   0x03
#define _1111_1100   0xFC
#define _1111_0000   0xF0
#define _0011_0000   0x30
#define _0011_1100   0x3C
#define _0000_1111   0x0F
#define _1100_0000   0xC0
#define _0011_1111   0x3F
#define _EQUAL_CHAR   (-1)
#define _UNKNOWN_CHAR   (-2)
#define _IOS_FAILBIT   std::ios_base::failbit
#define _IOS_EOFBIT   std::ios_base::eofbit
#define _IOS_BADBIT   std::ios_base::badbit
#define _IOS_GOODBIT   std::ios_base::goodbit

Variables

static int _base64Chars []

Macro Definition Documentation

#define _0000_0011   0x03
#define _0000_1111   0x0F
#define _0011_0000   0x30

Definition at line 26 of file base64.h.

Referenced by base64< _E, _Tr >::three2four::b64_1().

#define _0011_1100   0x3C

Definition at line 27 of file base64.h.

Referenced by base64< _E, _Tr >::three2four::b64_2().

#define _0011_1111   0x3F
#define _1100_0000   0xC0
#define _1111_0000   0xF0
#define _1111_1100   0xFC
#define _EQUAL_CHAR   (-1)

Definition at line 32 of file base64.h.

Referenced by base64< _E, _Tr >::_getCharType(), and base64< _E, _Tr >::get().

#define _IOS_BADBIT   std::ios_base::badbit

Definition at line 37 of file base64.h.

#define _IOS_EOFBIT   std::ios_base::eofbit

Definition at line 36 of file base64.h.

Referenced by base64< _E, _Tr >::get().

#define _IOS_FAILBIT   std::ios_base::failbit

Definition at line 35 of file base64.h.

Referenced by base64< _E, _Tr >::get().

#define _IOS_GOODBIT   std::ios_base::goodbit

Definition at line 38 of file base64.h.

#define _UNKNOWN_CHAR   (-2)

Definition at line 33 of file base64.h.

Referenced by base64< _E, _Tr >::_getCharType(), and base64< _E, _Tr >::get().

Variable Documentation

int _base64Chars[]
static
Initial value:
{'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',
'0','1','2','3','4','5','6','7','8','9',
'+','/' }

Definition at line 17 of file base64.h.

Referenced by base64< _E, _Tr >::_getCharType(), and base64< _E, _Tr >::put().