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

strigi/src/streamanalyzer

Strigi::StreamThroughAnalyzer

Strigi::StreamThroughAnalyzer Class Reference

This class defines an interface for analyzing streams. More...

#include <streamthroughanalyzer.h>

Inheritance diagram for Strigi::StreamThroughAnalyzer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~StreamThroughAnalyzer ()
virtual InputStream * connectInputStream (InputStream *in)=0
virtual bool isReadyWithStream ()=0
virtual const char * name () const =0
virtual void setIndexable (Strigi::AnalysisResult *)=0

Detailed Description

This class defines an interface for analyzing streams.

This interface is not yet complete, it lacks good functions for retrieving the results in other ways than just printing them.

Definition at line 36 of file streamthroughanalyzer.h.


Constructor & Destructor Documentation

virtual Strigi::StreamThroughAnalyzer::~StreamThroughAnalyzer (  )  [inline, virtual]

Definition at line 38 of file streamthroughanalyzer.h.


Member Function Documentation

virtual InputStream* Strigi::StreamThroughAnalyzer::connectInputStream ( InputStream *  in  )  [pure virtual]

This function sets up the analyzer for handling a stream.

The stream in is used in constructing a new internal inputstream that is returned by this function. Every time a read call is performed on this class, the data read is used in the analysis before being passed on to the caller. The InputStream pointer maybe 0 for special filetypes that have no content, so any implementation must always check the pointer before reading from the stream.

Implemented in ProgramThroughAnalyzer, ID3V2ThroughAnalyzer, OggThroughAnalyzer, AuThroughAnalyzer, DdsThroughAnalyzer, IcoThroughAnalyzer, PcxThroughAnalyzer, RgbThroughAnalyzer, SidThroughAnalyzer, TgaThroughAnalyzer, and XbmThroughAnalyzer.

virtual bool Strigi::StreamThroughAnalyzer::isReadyWithStream (  )  [pure virtual]

Signals to the caller whether this analyzer is finished with the current stream.

Implemented in ID3V2ThroughAnalyzer, OggThroughAnalyzer, AuThroughAnalyzer, DdsThroughAnalyzer, IcoThroughAnalyzer, PcxThroughAnalyzer, RgbThroughAnalyzer, SidThroughAnalyzer, TgaThroughAnalyzer, and XbmThroughAnalyzer.

virtual const char* Strigi::StreamThroughAnalyzer::name (  )  const [pure virtual]

Return the name of this throughanalyzer.

Implemented in ID3V2ThroughAnalyzer, OggThroughAnalyzer, AuThroughAnalyzer, DdsThroughAnalyzer, IcoThroughAnalyzer, PcxThroughAnalyzer, RgbThroughAnalyzer, SidThroughAnalyzer, and XbmThroughAnalyzer.

virtual void Strigi::StreamThroughAnalyzer::setIndexable ( Strigi::AnalysisResult *   )  [pure virtual]

Passes a pointer to the AnalysisResult to be used for this stream.

Implemented in ProgramThroughAnalyzer, ID3V2ThroughAnalyzer, OggThroughAnalyzer, AuThroughAnalyzer, DdsThroughAnalyzer, IcoThroughAnalyzer, PcxThroughAnalyzer, RgbThroughAnalyzer, SidThroughAnalyzer, TgaThroughAnalyzer, and XbmThroughAnalyzer.


The documentation for this class was generated from the following file:
  • streamthroughanalyzer.h

strigi/src/streamanalyzer

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

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
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