strigi/src/streams
Strigi::RpmInputStream Class Reference
#include <rpminputstream.h>

Public Member Functions | |
| RpmInputStream (InputStream *input) | |
| ~RpmInputStream () | |
| InputStream * | nextEntry () |
Static Public Member Functions | |
| static bool | checkHeader (const char *data, int32_t datasize) |
| static SubStreamProvider * | factory (InputStream *input) |
Detailed Description
Definition at line 30 of file rpminputstream.h.
Constructor & Destructor Documentation
| RpmInputStream::RpmInputStream | ( | InputStream * | input | ) | [explicit] |
Definition at line 49 of file rpminputstream.cpp.
| RpmInputStream::~RpmInputStream | ( | ) |
Definition at line 146 of file rpminputstream.cpp.
Member Function Documentation
RPM files as specified here: http://www.freestandards.org/spec/refspecs/LSB_1.3.0/gLSB/gLSB/swinstall.html and here: http://www.rpm.org/max-rpm-snapshot/s1-rpm-file-format-rpm-file-format.html.
Definition at line 42 of file rpminputstream.cpp.
| static SubStreamProvider* Strigi::RpmInputStream::factory | ( | InputStream * | input | ) | [inline, static] |
Definition at line 45 of file rpminputstream.h.
| InputStream * RpmInputStream::nextEntry | ( | ) | [virtual] |
Get the next substream.
This function should return a stream representing the next substream that can be read from the input stream, or 0 if there are no more substreams.
For example, if the input stream were a tar archive, it would return a stream representing the next file or directory in the archive.
It should also load the substream (the same one that was returned) into entrystream, and set entryinfo to an EntryInfo giving information about the substream.
If there may be more substreams, but an error occurred, 0 should be returned, the status should be set to Error and an error message should be set.
- Returns:
- the next substream, or 0 if there are no more substreams or an error occurred
Implements Strigi::SubStreamProvider.
Definition at line 153 of file rpminputstream.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference