doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
idBase64 Class Reference

#include <Base64.h>

Public Member Functions

 idBase64 (void)
 
 idBase64 (const idStr &s)
 
 ~idBase64 (void)
 
void Encode (const byte *from, int size)
 
void Encode (const idStr &src)
 
int DecodeLength (void) const
 
int Decode (byte *to) const
 
void Decode (idStr &dest) const
 
void Decode (idFile *dest) const
 
const char * c_str () const
 
void operator= (const idStr &s)
 

Private Member Functions

void Init (void)
 
void Release (void)
 
void EnsureAlloced (int size)
 

Private Attributes

bytedata
 
int len
 
int alloced
 

Detailed Description

Definition at line 40 of file Base64.h.

Constructor & Destructor Documentation

ID_INLINE idBase64::idBase64 ( void  )

Definition at line 67 of file Base64.h.

ID_INLINE idBase64::idBase64 ( const idStr s)

Definition at line 71 of file Base64.h.

ID_INLINE idBase64::~idBase64 ( void  )

Definition at line 76 of file Base64.h.

Member Function Documentation

ID_INLINE const char * idBase64::c_str ( void  ) const

Definition at line 80 of file Base64.h.

int idBase64::Decode ( byte to) const

Definition at line 95 of file Base64.cpp.

void idBase64::Decode ( idStr dest) const

Definition at line 151 of file Base64.cpp.

void idBase64::Decode ( idFile dest) const

Definition at line 164 of file Base64.cpp.

int idBase64::DecodeLength ( void  ) const

Definition at line 86 of file Base64.cpp.

void idBase64::Encode ( const byte from,
int  size 
)

Definition at line 44 of file Base64.cpp.

void idBase64::Encode ( const idStr src)

Definition at line 142 of file Base64.cpp.

ID_INLINE void idBase64::EnsureAlloced ( int  size)
private

Definition at line 97 of file Base64.h.

ID_INLINE void idBase64::Init ( void  )
private

Definition at line 84 of file Base64.h.

ID_INLINE void idBase64::operator= ( const idStr s)

Definition at line 105 of file Base64.h.

ID_INLINE void idBase64::Release ( void  )
private

Definition at line 90 of file Base64.h.

Member Data Documentation

int idBase64::alloced
private

Definition at line 60 of file Base64.h.

byte* idBase64::data
private

Definition at line 58 of file Base64.h.

int idBase64::len
private

Definition at line 59 of file Base64.h.


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