namespace impl More...
Go to the source code of this file.
Macros | |
#define | ZF_NAMESPACE_CURRENT() |
get current namespace name | |
Functions | |
const zfchar * | ZFNamespaceSkipGlobal (const zfchar *ns) |
skip "zf." in "zf.NS0.NS1.funcName" | |
zfbool | ZFNamespaceSplit (ZFCoreArray< ZFIndexRange > &ret, const zfchar *src, zfindex srcLen=((zfindex) -1)) |
util to split namespace components, similar to ZFCoreDataPairSplitString | |
void | ZFNamespaceGetAllT (ZFCoreArray< zfstring > &ret) |
get all namespace | |
ZFCoreArray< zfstring > | ZFNamespaceGetAll (void) |
see ZFNamespaceGetAllT | |
void | ZFNamespaceGetAllT (ZFCoreArray< zfstring > &ret, const zfchar *parent, zfbool recursive=_ZFT_t_zffalse) |
see ZFNamespaceGetAllT | |
ZFCoreArray< zfstring > | ZFNamespaceGetAll (const zfchar *parent, zfbool recursive=_ZFT_t_zffalse) |
see ZFNamespaceGetAllT | |
namespace impl
#define ZF_NAMESPACE_CURRENT | ( | ) |
get current namespace name
note:
skip "zf." in "zf.NS0.NS1.funcName"
things to skip:
return null if everything are skipped
|
extern |
util to split namespace components, similar to ZFCoreDataPairSplitString
if success, ret ensured to have at least one element even if the namespace is empty, at this case, the only one element would be ZFIndexRangeZero