Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

oofErrorReporter Class Reference
[OOFILE utility classes and functions.]

#include <oof1.h>

Inheritance diagram for oofErrorReporter:

Inheritance graph
[legend]
Collaboration diagram for oofErrorReporter:

Collaboration graph
[legend]
List of all members.

Detailed Description

Base class used mainly when exceptions not available.

See also:
dbConnect::raise() for calling.


Public Member Functions

 oofErrorReporter ()
virtual ~oofErrorReporter ()
 Includes ref-counted cleanup of sUserSpecifiedReporter.

virtual void raise (std::ostream &, bool terminateAfterMsg=true)
 Visible report of message using platform-specific message display.

virtual void raise (const char *, bool terminateAfterMsg=true)
 Visible report of message using platform-specific message display.


Static Public Member Functions

oofErrorReporterdefaultReporter ()
void setDefaultReporter (oofErrorReporter *)

Protected Member Functions

virtual void MaybeTerminate (bool terminateAfterMsg)


Constructor & Destructor Documentation

oofErrorReporter::oofErrorReporter  ) 
 

oofErrorReporter::~oofErrorReporter  )  [virtual]
 

Includes ref-counted cleanup of sUserSpecifiedReporter.


Member Function Documentation

oofErrorReporter * oofErrorReporter::defaultReporter  )  [static]
 

void oofErrorReporter::MaybeTerminate bool  terminateAfterMsg  )  [protected, virtual]
 

void oofErrorReporter::raise const char *  str,
bool  terminateAfterMsg = true
[virtual]
 

Visible report of message using platform-specific message display.

Todo:
rewrite to use plain C IO based on OOF_NO_STDLIB

Reimplemented in oofCGIErrorReporter.

void oofErrorReporter::raise std::ostream &  os,
bool  terminateAfterMsg = true
[virtual]
 

Visible report of message using platform-specific message display.

Todo:
hide based on OOF_NO_STDLIB

Reimplemented in oofCGIErrorReporter.

void oofErrorReporter::setDefaultReporter oofErrorReporter  )  [static]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 1 21:35:55 2004 for OOFILE by doxygen 1.3.5