#include <utility.h>
List of all members.
Detailed Description
Definition at line 1020 of file utility.h.
Constructor & Destructor Documentation
Context::Context |
( |
const char * |
ctx ) |
[inline] |
Context::Context |
( |
const char * |
ctx, |
|
|
LPCSTR |
obj |
|
) |
| [inline] |
Context::Context |
( |
const char * |
ctx, |
|
|
LPCWSTR |
obj |
|
) |
| [inline] |
Context::Context |
( |
const Context & |
other ) |
[inline] |
Context::~Context |
( |
) |
[inline] |
Member Function Documentation
static Context& Context::current |
( |
) |
[inline, static] |
String Context::getStackTrace |
( |
) |
const |
Definition at line 140 of file utility.cpp.
References _last, ANS, and s_main.
{
ostringstream str;
str << "Context Trace:\n";
for(const Context*p=this; p && p!=&s_main; p=p->_last) {
str << "- " << p->_ctx;
if (!p->_obj.empty())
str << " obj=" << ANS(p->_obj);
str << '\n';
}
return str.str();
}
String Context::toString |
( |
) |
const |
Member Data Documentation
The documentation for this struct was generated from the following files: