mbo::mbo_stack_trace Class Reference

Stack Trace storage. More...

#include <MboDebugTrace.h>

Inheritance diagram for mbo::mbo_stack_trace:

Inheritance graph
{mbo::mbo_exception\< base_exception, _str_type \>\n||+ mbo_exception()\l+ mbo_exception()\l+ get_exception_name()\l}{mbo::CAlreadyEntered\n||+ CAlreadyEntered()\l}{mbo::NullPointer\< _Ty \>::nullptr_access\n||+ nullptr_access()\l}{mbo::string_conversion_error\n||+ string_conversion_error()\l}
[legend]
Collaboration diagram for mbo::mbo_stack_trace:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 mbo_stack_trace ()
 Default constructor.
 mbo_stack_trace (int nSkip)
 Standard constructor that allows to skip additional stack frames.
const std::string & get_stack_trace () const
 
Returns:
Stack Frame as single string


Protected Attributes

const std::string m_strStackTrace
 Stack Trace.


Detailed Description

Stack Trace storage.

Definition at line 108 of file MboDebugTrace.h.


Constructor & Destructor Documentation

mbo::mbo_stack_trace::mbo_stack_trace (  )  [inline]

Default constructor.

Definition at line 113 of file MboDebugTrace.h.

00114         : m_strStackTrace(CreateDebugTrace(3))
00115     {
00116     }

mbo::mbo_stack_trace::mbo_stack_trace ( int  nSkip  )  [inline, explicit]

Standard constructor that allows to skip additional stack frames.

Parameters:
nSkip number of stack frames to skip

Definition at line 121 of file MboDebugTrace.h.

00122         : m_strStackTrace(CreateDebugTrace(nSkip))
00123     {
00124     }


Member Function Documentation

const std::string& mbo::mbo_stack_trace::get_stack_trace (  )  const [inline]

Returns:
Stack Frame as single string

Definition at line 128 of file MboDebugTrace.h.

References m_strStackTrace.

Referenced by mbo::mbo_exception< base_exception, _str_type >::mbo_exception().

00129     {
00130         return m_strStackTrace;
00131     }


Member Data Documentation

const std::string mbo::mbo_stack_trace::m_strStackTrace [protected]

Stack Trace.

Definition at line 134 of file MboDebugTrace.h.

Referenced by get_stack_trace().


The documentation for this class was generated from the following file:
  Hosted on code.google.com  
© Marcus Börger
Generated on Fri Jan 18 21:21:11 2008 for MBO-lib by doxygen 1.5.4