resonance 1.0.1
Loading...
Searching...
No Matches
SpewRegister Class Reference

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().

Detailed Description

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.

Constructor & Destructor Documentation

◆ SpewRegister()

SpewRegister::SpewRegister ( std::ostream ** ppStream,
const char * pszFile )

Register a stream pointer with SpewTable::shared().

Parameters
ppStreamThe file's stream pointer.
pszFileThe source file name.
Ghidra address:
NTSC-U/C: 0x004b44c8
Ghidra address:
PAL: 0x004f27d8

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