6#ifndef _ZFI_ZFIODef_pathInfo_h_
7#define _ZFI_ZFIODef_pathInfo_h_
122#define ZFCallbackSerializeType_ZFInputForPathInfo "ZFInputForPathInfo"
174#define ZFCallbackSerializeType_ZFOutputForPathInfo "ZFOutputForPathInfo"
227#define ZFCallbackSerializeType_ZFInputForLocal "ZFInputForLocal"
269#define ZFCallbackSerializeType_ZFOutputForLocal "ZFOutputForLocal"
370#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
_zft_zftimet zftimet
time unit, ensured at least 64 bit, ensured signed
Definition ZFCoreTypeDef_CoreType.h:203
#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
ZFInput ZFInputForIOToken(ZFIOToken *token)
see ZFInputForPathInfo
zfbool ZFIOPathCreate(const ZFPathInfo &pathInfo, zfbool autoCreateParent=(_ZFT_t_zftrue))
see ZFIOImplForPathType
zfbool ZFIOIsExist(const ZFPathInfo &pathInfo)
see ZFIOImplForPathType
zfbool ZFPathInfoChainDecode(ZFPathInfo &chainPathInfo, zfstring &pathData, const zfchar *pathDataOrig)
util for impl to parse chained path data
zfbool ZFOutputForLocalT(ZFCallback &ret, const zfstring &localPath, const ZFPathInfo &pathInfo, ZFIOOpenOptionFlags flags=(v_ZFIOOpenOption::e_Write))
see ZFOutputForLocal
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
zfbool ZFOutputForIOTokenT(ZFCallback &ret, ZFIOToken *token)
see ZFOutputForPathInfo
zfbool ZFIOMove(const zfstring &pathDataTo, const ZFPathInfo &pathInfoFrom, zfbool isForce=(_ZFT_t_zftrue))
see ZFIOImplForPathType
void ZFPathInfoChainEncodeT(zfstring &ret, const ZFPathInfo &chainPathInfo, const zfchar *pathData)
see ZFPathInfoChainDecode
void ZFInputMarkSerializable(ZFCallback &ret, const ZFPathInfo &pathInfo)
util to mark a ZFInput serializable with specified pathInfo
zfbool ZFPathInfoChainDecodeString(zfstring &chainPathInfoString, zfstring &pathData, const zfchar *pathDataOrig)
see ZFPathInfoChainDecode
ZFOutput ZFOutputForIOToken(ZFIOToken *token)
see ZFOutputForPathInfo
zfbool ZFOutputForPathInfoT(ZFCallback &ret, const ZFPathInfo &pathInfo, ZFIOOpenOptionFlags flags=(v_ZFIOOpenOption::e_Write))
see ZFOutputForPathInfo
zftimet ZFIOModTime(const ZFPathInfo &pathInfo)
see ZFIOImplForPathType
zfbool ZFInputForIOTokenT(ZFCallback &ret, ZFIOToken *token)
see ZFInputForPathInfo
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
ZFOutput ZFOutputForLocal(const zfstring &localPath, const ZFPathInfo &pathInfo, ZFIOOpenOptionFlags flags=(v_ZFIOOpenOption::e_Write))
util to create a file output callback
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 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
ZFOutput ZFOutputForPathInfo(const ZFPathInfo &pathInfo, ZFIOOpenOptionFlags flags=(v_ZFIOOpenOption::e_Write))
util to create a file output callback
zfautoT< ZFIOToken > ZFIOOpen(const ZFPathInfo &pathInfo, ZFIOOpenOptionFlags flags, zfbool autoCreateParent=(_ZFT_t_zftrue))
see ZFIOImplForPathType
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_4(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2, ZFMP_3)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:1065
#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
@ e_Write
Write(1 << 1)
Definition ZFIODef_fwd.h:43
type restrict version of zfauto
Definition zfautoFwd.h:108