strigi/src/streams
Strigi::FileStreamOpener Class Reference
#include <archivereader.h>
Inheritance diagram for Strigi::FileStreamOpener:

Public Member Functions | |
| ~FileStreamOpener () | |
| InputStream * | openStream (const std::string &url) |
| int | stat (const std::string &url, EntryInfo &e) |
Detailed Description
Definition at line 229 of file archivereader.h.
Constructor & Destructor Documentation
| Strigi::FileStreamOpener::~FileStreamOpener | ( | ) | [inline] |
Definition at line 231 of file archivereader.h.
Member Function Documentation
| InputStream* Strigi::FileStreamOpener::openStream | ( | const std::string & | url | ) | [virtual] |
Opens a stream for the given file.
- Parameters:
-
url the path to the file
- Returns:
- a stream representing the file given by
url
Implements Strigi::StreamOpener.
| int Strigi::FileStreamOpener::stat | ( | const std::string & | url, | |
| EntryInfo & | e | |||
| ) | [virtual] |
Gets information about a given file.
- Parameters:
-
url the path to the file e an EntryInfo object to populate with information about the file given by url
- Returns:
- 0 if information about the file was found, -1 on error
Implements Strigi::StreamOpener.
The documentation for this class was generated from the following file:
KDE 4.4 API Reference