cxxtools::QuotedPrintable_ostream Class Reference

The QuotedPrintable_ostream implements a encoder for Quoted-printable encoding. More...

#include <cxxtools/quotedprintablestream.h>

Inheritance diagram for cxxtools::QuotedPrintable_ostream:
cxxtools::BasicTextOStream< char, char > basic_ostream

Public Member Functions

 QuotedPrintable_ostream (std::ostream &in)
- Public Member Functions inherited from cxxtools::BasicTextOStream< char, char >
 BasicTextOStream (StreamType &os, CodecType *codec)
 Construct by output stream and codec.
 BasicTextOStream (CodecType *codec)
 ~BasicTextOStream ()
 Deletes to codec.
void attach (StreamType &os)
void detach ()
void terminate ()
BasicTextBuffer< intern_type,
extern_type > & 
buffer ()

Additional Inherited Members

- Public Types inherited from cxxtools::BasicTextOStream< char, char >
typedef char extern_type
typedef char intern_type
typedef char char_type
typedef std::char_traits< char > traits_type
typedef traits_type::int_type int_type
typedef traits_type::pos_type pos_type
typedef traits_type::off_type off_type
typedef std::basic_ostream
< extern_type
StreamType
typedef TextCodec< char_type,
extern_type
CodecType

Detailed Description

The QuotedPrintable_ostream implements a encoder for Quoted-printable encoding.

Quoted-printable encoding is used sometimes in E-Mails to reduce the character set to 7 bit.

Usage example:

std::ostringstream s;
q << "H\xe4tten H\xfcte ein \xdf im Namen, w\xe4ren sie m\xf6glicherweise keine H\xfcte mehr,\nsondern H\xfc\xdf" "e.";
std::string quotedprintabletext = s.str();

Constructor & Destructor Documentation

cxxtools::QuotedPrintable_ostream::QuotedPrintable_ostream ( std::ostream &  in)
inlineexplicit

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