JigdoCache::ProgressReporter Class ReferenceClass allowing JigdoCache to convey information back to the creator of a JigdoCache object. More...
Public Member Functions
|virtual void||error (const string &message)|
|General-purpose error reporting. |
|virtual void||info (const string &message)|
|Like error(), but for purely informational messages. |
|virtual void||scanningFile (const FilePart *file, uint64 offInFile)|
|Called when the individual files are read. |
Detailed DescriptionClass allowing JigdoCache to convey information back to the creator of a JigdoCache object.
Constructor & Destructor Documentation
Member Function Documentation
|void JigdoCache::ProgressReporter::error||(||const string &||message||)||
General-purpose error reporting.
Reimplemented in AnyReporter.
|void JigdoCache::ProgressReporter::info||(||const string &||message||)||
|void JigdoCache::ProgressReporter::scanningFile||(||const FilePart *||file,|
Called when the individual files are read.
JigdoCache sometimes reads only the first md5BlockLength bytes and sometimes the whole file. This is *only* called when the whole file is read (if the file only consists of one MD5 block, it is also called).
file File being scanned, or null if not applicable (Contains filename info). Default version does nothing at all - you need to supply an object of a derived class to JigdoCache() to act on this. offInFile Offset in this file
The documentation for this class was generated from the following files:
Generated on Tue Sep 23 14:27:42 2008 for jigdo by 1.5.6