|
resonance 1.0.1
|
Static object through which a source file registers its diagnostic stream with SpewTable. More...
#include <spewregister.h>
Public Member Functions | |
| SpewRegister (std::ostream **ppStream, const char *pszFile) | |
| Register a stream pointer with SpewTable::shared(). | |
Static object through which a source file registers its diagnostic stream with SpewTable.
The class has no members and emits no RTTI. Its name comes from the debugging symbols of the North American demo release. The out-of-line constructor has no caller, because each registering unit expands it into its static initialiser.
| SpewRegister::SpewRegister | ( | std::ostream ** | ppStream, |
| const char * | pszFile ) |
Register a stream pointer with SpewTable::shared().
| ppStream | The file's stream pointer. |
| pszFile | The source file name. |