FBB::IQuotedPrintableStream(3bobcat) | QuotedPrintable encoding/decoding std::istream | FBB::IQuotedPrintableStream(3bobcat) |
FBB::IQuotedPrintableStream - Std::istream performing quoted-printable encoding and decoding
#include <bobcat/iquotedprintablestream>
Linking option: -lbobcat
FBB::IQuotedPrintableStream objects may be used to quoted-printable encode or decode information that is available on a separate std::istream.
The class IQuotedPrintableStream is a class template, using a FBB::CodeType template non-type parameter. Objects of the class FBB::IQuotedPrintableStream<FBB::ENCODE> encode the information they receive, objects of the class FBB::IQuotedPrintableStream<FBB::DECODE> decode the information they receive.
FBB
All constructors, members, operators and manipulators, mentioned in this
man-page, are defined in the namespace FBB.
FBB::IQuotedPrintableBuf (private),
std::istream
Copy and move constructors (and assignment operators) are not available.
Since the class uses public derivation from std::istream, all members of this class can be used.
#include <iostream> #include <bobcat/iquotedprintablestream> using namespace std; using namespace FBB; int main() {
IQuotedPrintableStream<ENCODE> in(cin);
cout << in.rdbuf(); // quoted printable encode the info on
// cin. }
See also the example in the iquotedprintablebuf(3bobcat) man-page.
bobcat/iquoted printablestream - defines the class interface
None Reported.
Bobcat is an acronym of `Brokken’s Own Base Classes And Templates’.
This is free software, distributed under the terms of the GNU General Public License (GPL).
Frank B. Brokken (f.b.brokken@rug.nl).
2005-2020 | libbobcat-dev_5.07.00 |