caller info utils More...
#include "ZFCoreTypeDef.h"
Go to the source code of this file.
Classes | |
class | ZFCallerInfo |
util class to hold caller info More... | |
Macros | |
#define | ZF_CALLER_FILE_TO_NAME(path) |
convert file path to file name | |
#define | ZF_CALLER_FILE_TO_NAME_REF(ret, path) |
see ZF_CALLER_FILE_TO_NAME | |
#define | ZF_CALLER_FILE_NAME |
similar to FILE in C++ world, except that don't include full path | |
#define | ZF_CALLER_FILE |
same as FILE in C++ world | |
#define | ZF_CALLER_FUNCTION |
same as FUNCTION in C++ world | |
#define | ZF_CALLER_LINE |
same as LINE in C++ world | |
#define | ZFCallerInfoCreate() |
util macro to make ZFCallerInfo | |
#define | ZFCallerInfoEmpty() |
empty caller info | |
caller info utils
#define ZF_CALLER_FILE_TO_NAME | ( | path | ) |
convert file path to file name
used by ZF_CALLER_FILE_NAME, you may use this function directly if you want
the return value would be deleted after line end, you should not save the value for future use, store it in a std::string if necessary
#define ZF_CALLER_FILE_NAME |
similar to FILE in C++ world, except that don't include full path
note that this macro contains string convertion, take care of performance if necessary
the return value would be deleted after line end, you should not save the value for future use, store it in a zfstring if necessary
#define ZF_CALLER_FILE |
same as FILE in C++ world
ensured in zfchar format, you should convert to zfchar type if necessary
#define ZF_CALLER_FUNCTION |
same as FUNCTION in C++ world
ensured in zfchar format, you should convert to zfchar type if necessary