jigdo API

Base64In< Output > Class Template Reference

Convert a series of Base64 ASCII strings into binary data. More...

#include <mimestream.hh>

List of all members.


Public Member Functions

 Base64In ()
Output::ResultType result ()
Base64In< Output > & operator<< (char x)
 Output operators, for handing in the ASCII Base64 string.
Base64In< Output > & operator<< (const char *x)
 Convert null-terminated string.
Base64In< Output > & operator<< (const string &x)
 Convert string.
Base64In< Output > & put (char x)
 Output 1 character.
Base64In< Output > & put (const char *x, unsigned n)
 Convert given number of characters.
void reset ()
 Return the object to its initial state.

Detailed Description

template<class Output>
class Base64In< Output >

Convert a series of Base64 ASCII strings into binary data.

Output is a class offering the following:

  • void put(byte b); // Output one byte of binary data
  • typedef implementation_defined ResultType;
  • ResultType result(); // Is called by Base64In::result()

Constructor & Destructor Documentation

template<class Output>
Base64In< Output >::Base64In (  )  [inline]

References data.


Member Function Documentation

template<class Output>
Output::ResultType Base64In< Output >::result (  )  [inline]

Referenced by main().

template<class Output>
Base64In<Output>& Base64In< Output >::operator<< ( char  x  )  [inline]

Output operators, for handing in the ASCII Base64 string.

References Base64Out< Output >::put().

template<class Output>
Base64In< Output > & Base64In< Output >::operator<< ( const char *  x  )  [inline]

Convert null-terminated string.

References Base64In< Output >::put().

template<class Output>
Base64In< Output > & Base64In< Output >::operator<< ( const string &  x  )  [inline]

Convert string.

References Base64In< Output >::put().

template<class Output>
Base64In< Output > & Base64In< Output >::put ( char  x  )  [inline]

Output 1 character.

Referenced by main(), and Base64In< Output >::operator<<().

template<class Output>
Base64In< Output > & Base64In< Output >::put ( const char *  x,
unsigned  n 
) [inline]

Convert given number of characters.

template<class Output>
void Base64In< Output >::reset (  )  [inline]

Return the object to its initial state.

Referenced by main().


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

Generated on Tue Sep 23 14:27:42 2008 for jigdo by  doxygen 1.5.6