jigdo API

ConfigFile::ProgressReporter Class Reference

Class allowing ConfigFile to convey information back to the creator of a ConfigFile object. More...

#include <configfile.hh>

Inherited by JigdoConfig::ForwardReporter.

List of all members.


Public Member Functions

virtual ~ProgressReporter ()
virtual void error (const string &message, const size_t lineNr=0)
 General-purpose error reporting.
virtual void info (const string &message, const size_t lineNr=0)
 Like error(), but for purely informational messages.

Detailed Description

Class allowing ConfigFile to convey information back to the creator of a ConfigFile object.


Constructor & Destructor Documentation

virtual ConfigFile::ProgressReporter::~ProgressReporter (  )  [inline, virtual]


Member Function Documentation

void ConfigFile::ProgressReporter::error ( const string &  message,
const size_t  lineNr = 0 
) [virtual]

General-purpose error reporting.

lineNr==0 is a special case for "don't report any line number"

Referenced by ConfigFile::rescan().

void ConfigFile::ProgressReporter::info ( const string &  message,
const size_t  lineNr = 0 
) [virtual]

Like error(), but for purely informational messages.

Default implementation, just like that of error(), prints message to cerr


The documentation for this class was generated from the following files:

Generated on Tue Sep 23 14:27:42 2008 for jigdo by  doxygen 1.5.6