Twain_DSM  1.0
Public Member Functions | Private Attributes | List of all members

Our logging class. More...

#include <dsm.h>

Collaboration diagram for CTwnDsmLog:
Collaboration graph
[legend]

Public Member Functions

 CTwnDsmLog ()
 The CTwnDsmLog constructor. More...
 
 ~CTwnDsmLog ()
 The CTwnDsmLog destructor. More...
 
void Log (const int _doassert, const char *const _file, const int _line, const char *const _format,...)
 The logging function. More...
 
void Indent (int nChange)
 Indent the logging to help with seeing recursive calls param[in] nChange Either +1 or -1.
 

Private Attributes

CTwnDsmLogImplm_ptwndsmlogimpl
 The implementation pointer helps with encapulation.
 

Detailed Description

Our logging class.

We use the impl to encapsulate the private portions of the class, which doesn't matter for this class so much as it does for the next one. Then we give ourselves an extern, because life is easier if we treat this object as globally accessible (think of it like a service).

Definition at line 552 of file dsm.h.


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