OOFILE  1.9
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
oofCGIErrorReporter Class Reference

Reporter that formats output for HTML responses. More...

#include <oof1.h>

Inheritance diagram for oofCGIErrorReporter:
Inheritance graph
[legend]
Collaboration diagram for oofCGIErrorReporter:
Collaboration graph
[legend]

Public Member Functions

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

Static Public Member Functions

static oofErrorReporterdefaultReporter ()
 
static void setDefaultReporter (oofErrorReporter *)
 

Protected Member Functions

virtual void Footer ()
 
virtual void Header ()
 
virtual void MaybeTerminate (bool terminateAfterMsg)
 

Detailed Description

Reporter that formats output for HTML responses.

Definition at line 878 of file oof1.h.

Constructor & Destructor Documentation

oofCGIErrorReporter::oofCGIErrorReporter ( std::ostream &  )

Definition at line 278 of file oof1.cpp.

oofCGIErrorReporter::~oofCGIErrorReporter ( )
virtual

Definition at line 284 of file oof1.cpp.

Member Function Documentation

oofErrorReporter * oofErrorReporter::defaultReporter ( )
staticinherited

Definition at line 194 of file oof1.cpp.

Referenced by dbConnect::raise().

void oofCGIErrorReporter::Footer ( )
protectedvirtual

Definition at line 325 of file oof1.cpp.

Referenced by raise().

void oofCGIErrorReporter::Header ( )
protectedvirtual

Definition at line 314 of file oof1.cpp.

Referenced by raise().

void oofErrorReporter::MaybeTerminate ( bool  terminateAfterMsg)
protectedvirtualinherited

Definition at line 267 of file oof1.cpp.

Referenced by raise().

virtual void oofCGIErrorReporter::raise ( std::ostream &  ,
bool  terminateAfterMsg = true 
)
virtual

Reimplemented from oofErrorReporter.

void oofCGIErrorReporter::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 from oofErrorReporter.

Definition at line 290 of file oof1.cpp.

References Footer(), Header(), and oofErrorReporter::MaybeTerminate().

void oofErrorReporter::setDefaultReporter ( oofErrorReporter adoptedReporter)
staticinherited

Definition at line 206 of file oof1.cpp.


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