#include <OpenMS/FORMAT/Base64.h>
Base64 supports two precisions: 32 Bit (float) and 64 Bit (double).
Public Types | |
enum | ByteOrder { BYTEORDER_BIGENDIAN, BYTEORDER_LITTLEENDIAN } |
Public Member Functions | |
Base64 () | |
default constructor | |
virtual | ~Base64 () |
Destructor. | |
template<typename FromType> | |
void | encode (std::vector< FromType > &in, ByteOrder to_byte_order, std::string &out) |
Encodes a vector of floating point numbers to a Base64 String. | |
template<typename ToType> | |
void | decode (const std::string &in, ByteOrder from_byte_order, std::vector< ToType > &out) |
Decodes a Base64 string to a vector of floating point numbers. | |
Static Private Attributes | |
static const char | encoder_ [] |
static const char | decoder_ [] |
enum ByteOrder |
Base64 | ( | ) |
default constructor
virtual ~Base64 | ( | ) | [virtual] |
Destructor.
void encode | ( | std::vector< FromType > & | in, | |
ByteOrder | to_byte_order, | |||
std::string & | out | |||
) | [inline] |
void decode | ( | const std::string & | in, | |
ByteOrder | from_byte_order, | |||
std::vector< ToType > & | out | |||
) | [inline] |
const char encoder_[] [static, private] |
const char decoder_[] [static, private] |
Generated Tue Apr 1 15:36:44 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |