6#ifndef _ZFI_ZFIODef_pathInfo_h_
7#define _ZFI_ZFIODef_pathInfo_h_
113#define ZFCallbackSerializeType_ZFInputForPathInfo "ZFInputForPathInfo"
164#define ZFCallbackSerializeType_ZFOutputForPathInfo "ZFOutputForPathInfo"
215#define ZFCallbackSerializeType_ZFInputForLocal "ZFInputForLocal"
256#define ZFCallbackSerializeType_ZFOutputForLocal "ZFOutputForLocal"
356#define ZFPathInfoChainCharMap() _ZFP_ZFPathInfoChainCharMap
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
_ZFT_t_zfchar zfchar
char wrapper
Definition ZFCoreTypeDef_CharType.h:17
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
#define zftrue
bool true type
Definition ZFCoreTypeDef_CoreType.h:107
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
ZFOutput ZFOutputForPathInfo(const ZFPathInfo &pathInfo)
util to create a file output callback
ZFInput ZFInputForPathInfoToken(ZFIOToken *token)
see ZFInputForPathInfo
zfbool ZFIOMove(const ZFPathInfo &pathInfoFrom, const zfstring &pathDataTo, zfbool isForce=(_ZFT_t_zftrue))
see ZFIOImplForPathType
void ZFInputMarkSerializable(ZFCallback &ret, const ZFPathInfo &pathInfo, ZFIOOpenOptionFlags flags=(v_ZFIOOpenOption::e_Read))
util to mark a ZFInput serializable with specified pathInfo
zfbool ZFOutputForLocalT(ZFCallback &ret, const zfstring &localPath, const ZFPathInfo &pathInfo)
see ZFOutputForLocal
ZFOutput ZFOutputForPathInfoToken(ZFIOToken *token)
see ZFOutputForPathInfo
zfbool ZFIOPathCreate(const ZFPathInfo &pathInfo, zfbool autoCreateParent=(_ZFT_t_zftrue))
see ZFIOImplForPathType
ZFOutput ZFOutputForLocal(const zfstring &localPath, const ZFPathInfo &pathInfo)
util to create a file output callback
zfbool ZFIOIsExist(const ZFPathInfo &pathInfo)
see ZFIOImplForPathType
zfbool ZFInputForPathInfoTokenT(ZFCallback &ret, ZFIOToken *token)
see ZFInputForPathInfo
zfbool ZFPathInfoChainDecode(ZFPathInfo &chainPathInfo, zfstring &pathData, const zfchar *pathDataOrig)
util for impl to parse chained path data
zfbool ZFInputForPathInfoT(ZFCallback &ret, const ZFPathInfo &pathInfo)
see ZFInputForPathInfo
ZFPathInfo ZFLocalPathInfo(const zfstring &localPath=(zft_zfnull))
return local path info for current context
zfbool ZFPathInfoForLocalT(ZFPathInfo &ret, const ZFPathInfo &pathInfo, const zfstring &childPath)
util to make a child path info relative to existing one
zfbool ZFInputForLocalT(ZFCallback &ret, const zfstring &localPath, const ZFPathInfo &pathInfo)
see ZFInputForLocal
void ZFPathInfoChainEncodeT(zfstring &ret, const ZFPathInfo &chainPathInfo, const zfchar *pathData)
see ZFPathInfoChainDecode
zfbool ZFPathInfoChainDecodeString(zfstring &chainPathInfoString, zfstring &pathData, const zfchar *pathDataOrig)
see ZFPathInfoChainDecode
zfbool ZFIOToParent(zfstring &ret, const ZFPathInfo &pathInfo)
see ZFIOImplForPathType
zfstring ZFPathInfoChainEncode(const ZFPathInfo &chainPathInfo, const zfchar *pathData)
see ZFPathInfoChainDecode
zfbool ZFIOToFileName(zfstring &ret, const ZFPathInfo &pathInfo)
see ZFIOImplForPathType
void ZFOutputMarkSerializable(ZFCallback &ret, const ZFPathInfo &pathInfo, ZFIOOpenOptionFlags flags=(v_ZFIOOpenOption::e_Write))
util to mark a ZFOutput serializable with specified pathInfo
ZFPathInfo ZFPathInfoForLocal(const ZFPathInfo &pathInfo, const zfstring &childPath)
see ZFPathInfoForLocalT
zfbool ZFOutputForPathInfoTokenT(ZFCallback &ret, ZFIOToken *token)
see ZFOutputForPathInfo
zfbool ZFIORemove(const ZFPathInfo &pathInfo, zfbool isRecursive=(_ZFT_t_zftrue), zfbool isForce=(_ZFT_t_zftrue))
see ZFIOImplForPathType
zfbool ZFIOToChild(zfstring &ret, const ZFPathInfo &pathInfo, const zfstring &childName)
see ZFIOImplForPathType
ZFInput ZFInputForPathInfo(const ZFPathInfo &pathInfo)
util to create a file input callback
zfautoT< ZFIOToken > ZFIOOpen(const ZFPathInfo &pathInfo, ZFIOOpenOptionFlags flags, zfbool autoCreateParent=(_ZFT_t_zftrue))
see ZFIOImplForPathType
zfbool ZFOutputForPathInfoT(ZFCallback &ret, const ZFPathInfo &pathInfo)
see ZFOutputForPathInfo
ZFInput ZFInputForLocal(const zfstring &localPath, const ZFPathInfo &pathInfo)
util to create a file input callback
zfbool ZFIOIsDir(const ZFPathInfo &pathInfo)
see ZFIOImplForPathType
#define ZFMP_IN_OUT(ParamType, paramName)
see ZFMP_IN
Definition ZFMethod.h:117
#define ZFMP_OUT(ParamType, paramName)
see ZFMP_IN
Definition ZFMethod.h:111
#define ZFMP_IN_OPT(ParamType, paramName, DefaultValue)
see ZFMP_IN
Definition ZFMethod.h:108
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_FUNC_DECLARE_2(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:763
#define ZFMETHOD_FUNC_DECLARE_3(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:910
#define ZFMETHOD_FUNC_DECLARE_1(ZFLIB_, ReturnType, MethodName, ZFMP_0)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:624
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
callback used by ZFFramework
Definition ZFCallback.h:98
see v_ZFIOOpenOption, ZFIOOpenOptionFlagsToString, ZFIOOpenOptionFlagsFromString
Definition ZFIODef_fwd.h:49
see ZFIOImplForPathType
Definition ZFIODef_fwd.h:164
general output callback
Definition ZFIOCallback_output.h:37
path related info storage for impl, actual meaning of the info depends on impl
Definition ZFPathInfo.h:34
file open option
Definition ZFIODef_fwd.h:41
type restrict version of zfauto
Definition zfautoFwd.h:113