• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

strigi/src/streams

Strigi::InputStreamReader

Strigi::InputStreamReader Class Reference

#include <inputstreamreader.h>

Inheritance diagram for Strigi::InputStreamReader:

Inheritance graph
[legend]

List of all members.


Detailed Description

Adapter to convert an InputStream (a byte stream) into a Reader (decoded Unicode character stream).

For more information of conversions, see http://www.gnu.org/software/libc/manual/html_node/iconv-Examples.html and http://tangentsoft.net/mysql++/doc/userman/html/unicode.html

Definition at line 39 of file inputstreamreader.h.


Public Member Functions

 InputStreamReader (InputStream *i, const char *enc=0)
 ~InputStreamReader ()

Constructor & Destructor Documentation

InputStreamReader::InputStreamReader ( InputStream *  i,
const char *  enc = 0 
) [explicit]

Create an InputStreamReader from the given InputStream.

For a list of acceptable encodings, run iconv --list. Not all encodings are supported on all systems.

If the requested encoding is not available, the status is set to Error and an error message is available by calling error().

Parameters:
i the input stream to decode
enc the encoding of the input stream. UTF-8 is assumed if no encoding is given

Definition at line 37 of file inputstreamreader.cpp.

InputStreamReader::~InputStreamReader (  ) 

Definition at line 67 of file inputstreamreader.cpp.


The documentation for this class was generated from the following files:
  • inputstreamreader.h
  • inputstreamreader.cpp

strigi/src/streams

Skip menu "strigi/src/streams"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • akonadi
  • Decibel
  • eigen
  • Eigen2
  • kdewin32
  • Phonon
  •     Backend
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal