util class to hold caller info More...
#include <ZFCallerInfo.h>
Public Member Functions | |
ZFCallerInfo (void) | |
main constructor | |
ZFCallerInfo (const zfchar *callerFile, const zfchar *callerFunc, zfuint callerLine) | |
main constructor | |
const zfchar * | callerFile (void) const |
see ZF_CALLER_FILE | |
const zfchar * | callerFunc (void) const |
see ZF_CALLER_FUNCTION | |
zfuint | callerLine (void) const |
see ZF_CALLER_LINE | |
zfbool | valid (void) const |
whether valid | |
void | callerInfo (const zfchar *callerFile, const zfchar *callerFunc, zfuint callerLine) |
set the caller info | |
zfbool | callerInfoT (zfstring &ret) const |
return caller info looks like "[File function (line)]" | |
zfstring | callerInfo (void) const |
return caller info looks like "[File function (line)]" | |
void | objectInfoT (zfstring &ret) const |
see objectInfo | |
zfstring | objectInfo (void) const |
return object info | |
util class to hold caller info