6#ifndef _ZFI_ZFFile_pathInfo_h_
7#define _ZFI_ZFFile_pathInfo_h_
60typedef void *(*ZFPathInfoCallbackOpen)(
84 ,
ZF_IN const void *src
168 ,
ZF_IN const void *src
393 return this->callbackIsExist(pathData);
397 return this->callbackIsDir(pathData);
404 return this->callbackToFileName(ret, pathData);
412 return this->callbackToChild(ret, pathData, childName);
419 return this->callbackToParent(ret, pathData);
426 return this->callbackPathCreate(pathData, autoMakeParent);
434 return this->callbackRemove(pathData, isRecursive, isForce);
442 return this->callbackMove(pathDataFrom, pathDataTo, isForce);
449 return this->callbackFindFirst(fd, pathData);
453 return this->callbackFindNext(fd);
457 return this->callbackFindClose(fd);
465 return this->callbackOpen(pathData, flag, autoCreateParent);
469 return this->callbackClose(token);
473 return this->callbackTell(token);
481 return this->callbackSeek(token, byteSize, position);
489 return this->callbackRead(token, buf, maxByteSize);
494 ,
ZF_IN const void *src
497 return this->callbackWrite(token, src, maxByteSize);
501 return this->callbackFlush(token);
505 return this->callbackIsEof(token);
509 return this->callbackIsError(token);
513 return this->callbackSize(token);
535#define ZFPATHTYPE_FILEIO_REGISTER(registerSig, pathType, ...) \
536 ZF_STATIC_REGISTER_INIT(ZFPathInfoReg_##registerSig) { \
537 ZFPathInfoImpl data; \
538 data._ZFP_init(__VA_ARGS__); \
539 _ZFP_ZFPathInfoRegister(pathType, data); \
541 ZF_STATIC_REGISTER_DESTROY(ZFPathInfoReg_##registerSig) { \
542 _ZFP_ZFPathInfoUnregister(pathType); \
544 ZF_STATIC_REGISTER_END(ZFPathInfoReg_##registerSig)
620#define ZFCallbackSerializeType_ZFInputForPathInfo "ZFInputForPathInfo"
681#define ZFCallbackSerializeType_ZFOutputForPathInfo "ZFOutputForPathInfo"
742#define ZFCallbackSerializeType_ZFInputForLocal "ZFInputForLocal"
787#define ZFCallbackSerializeType_ZFOutputForLocal "ZFOutputForLocal"
872#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
#define zfclassLikePOD
shows the class is not a POD type, but you may use it like a POD except memset it to 0
Definition ZFCoreTypeDef_ClassType.h:41
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
#define ZF_IN_OPT
dummy macro that shows the param used as optional input
Definition ZFCoreTypeDef_ClassType.h:184
#define ZF_IN_OUT
dummy macro that shows the param used as required input and output
Definition ZFCoreTypeDef_ClassType.h:196
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
#define zftrue
bool true type
Definition ZFCoreTypeDef_CoreType.h:107
#define zfindexMax()
(zfindex)-1, indicate a max index value, see zfindex
Definition ZFCoreTypeDef_CoreType.h:159
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
ZFSeekPos
seek position similar to SEEK_SET of FILE operation
Definition ZFCoreTypeDef_OtherType.h:47
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
zfbool ZFOutputForLocalT(ZFCallback &ret, const zfchar *localPath, const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Create))
see ZFOutputForLocal
ZFOutput ZFOutputForPathInfoToken(void *token, const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Create), zfbool autoClose=(_ZFT_t_zftrue))
see ZFOutputForPathInfo
void ZFPathInfoCallbackFindCloseDefault(ZFFileFindData &fd)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool(* ZFPathInfoCallbackToFileName)(zfstring &ret, const zfchar *pathData)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:18
zfbool(* ZFPathInfoCallbackIsExist)(const zfchar *pathData)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:14
ZFOutput ZFOutputForPathInfo(const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Create))
util to create a file output callback
void ZFPathInfoImplGetAllT(ZFCoreArray< zfstring > &ret)
get all data registered by ZFPATHTYPE_FILEIO_REGISTER
zfbool(* ZFPathInfoCallbackToChild)(zfstring &ret, const zfchar *pathData, const zfchar *childName)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:23
zfbool(* ZFPathInfoCallbackToParent)(zfstring &ret, const zfchar *pathData)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:29
void(* ZFPathInfoCallbackFlush)(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:88
zfindex ZFPathInfoCallbackSizeDefault(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool(* ZFPathInfoCallbackPathCreate)(const zfchar *pathData, zfbool autoMakeParent)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:34
zfbool ZFPathInfoCallbackRemoveDefault(const zfchar *pathData, zfbool isRecursive=_ZFT_t_zftrue, zfbool isForce=_ZFT_t_zftrue)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCallbackFindFirstDefault(ZFFileFindData &fd, const zfchar *pathData)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoRemove(const ZFPathInfo &pathInfo, zfbool isRecursive=(_ZFT_t_zftrue), zfbool isForce=(_ZFT_t_zftrue))
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCallbackIsExistDefault(const zfchar *pathData)
see ZFPATHTYPE_FILEIO_REGISTER
zfindex ZFPathInfoRead(const ZFPathInfo &pathInfo, void *token, void *buf, zfindex maxByteSize)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCallbackCloseDefault(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCallbackPathCreateDefault(const zfchar *pathData, zfbool autoMakeParent=_ZFT_t_zftrue)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoChainDecode(ZFPathInfo &chainPathInfo, zfstring &pathData, const zfchar *pathDataOrig)
util for impl to parse chained path data
void *(* ZFPathInfoCallbackOpen)(const zfchar *pathData, ZFFileOpenOptionFlags flag, zfbool autoCreateParent)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:60
const ZFPathInfoImpl * ZFPathInfoImplForPathType(const zfstring &pathType)
get data registered by ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCallbackToChildDefault(zfstring &ret, const zfchar *pathData, const zfchar *childName)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool(* ZFPathInfoCallbackRemove)(const zfchar *pathData, zfbool isRecursive, zfbool isForce)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:39
ZFPathInfo ZFLocalPathInfo(const zfstring &localPath=(zft_zfnull))
return local path info for current context
zfbool ZFOutputForPathInfoTokenT(ZFCallback &ret, void *token, const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Create), zfbool autoClose=(_ZFT_t_zftrue))
see ZFOutputForPathInfo
zfindex ZFPathInfoCallbackWriteDefault(void *token, const void *src, zfindex maxByteSize=((zfindex) -1))
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoIsEof(const ZFPathInfo &pathInfo, void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCopy(const ZFPathInfo &srcPath, const ZFPathInfo &dstPath, zfbool isRecursive=(_ZFT_t_zftrue), zfbool isForce=(_ZFT_t_zftrue))
copy a file or directory from srcPath to dstPath
zfindex ZFPathInfoWrite(const ZFPathInfo &pathInfo, void *token, const void *src, zfindex maxByteSize=(((zfindex) -1)))
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCallbackToParentDefault(zfstring &ret, const zfchar *pathData)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoPathCreate(const ZFPathInfo &pathInfo, zfbool autoMakeParent=(_ZFT_t_zftrue))
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoClose(const ZFPathInfo &pathInfo, void *token)
see ZFPATHTYPE_FILEIO_REGISTER
ZFCoreArray< zfstring > ZFPathInfoImplGetAll()
get all data registered by ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:561
zfindex(* ZFPathInfoCallbackWrite)(void *token, const void *src, zfindex maxByteSize)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:82
zfbool(* ZFPathInfoCallbackMove)(const zfchar *pathDataFrom, const zfchar *pathDataTo, zfbool isForce)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:45
ZFInput ZFInputForPathInfo(const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Read))
util to create a file input callback
void ZFPathInfoCallbackFlushDefault(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoMove(const ZFPathInfo &pathInfoFrom, const zfchar *pathDataTo, zfbool isForce=(_ZFT_t_zftrue))
see ZFPATHTYPE_FILEIO_REGISTER
ZFOutput ZFOutputForLocal(const zfchar *localPath, const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Create))
util to create a file output callback
void ZFPathInfoChainEncodeT(zfstring &ret, const ZFPathInfo &chainPathInfo, const zfchar *pathData)
see ZFPathInfoChainDecode
zfbool ZFPathInfoToFileName(zfstring &ret, const ZFPathInfo &pathInfo)
see ZFPATHTYPE_FILEIO_REGISTER
ZFPathInfo ZFPathInfoForLocal(const ZFPathInfo &pathInfo, const zfchar *childPath)
see ZFPathInfoForLocalT
zfbool ZFPathInfoChainDecodeString(zfstring &chainPathInfoString, zfstring &pathData, const zfchar *pathDataOrig)
see ZFPathInfoChainDecode
zfbool ZFInputForPathInfoT(ZFCallback &ret, const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Read))
see ZFInputForPathInfo
zfbool ZFPathInfoForLocalT(ZFPathInfo &ret, const ZFPathInfo &pathInfo, const zfchar *childPath)
util to make a child path info relative to existing one, see also ZFPathInfoCallbackToChild
zfbool ZFPathInfoFindFirst(const ZFPathInfo &pathInfo, ZFFileFindData &fd)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoIsDir(const ZFPathInfo &pathInfo)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool(* ZFPathInfoCallbackFindNext)(ZFFileFindData &fd)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:56
zfbool ZFPathInfoCallbackIsErrorDefault(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoFindNext(const ZFPathInfo &pathInfo, ZFFileFindData &fd)
see ZFPATHTYPE_FILEIO_REGISTER
zfstring ZFPathInfoChainEncode(const ZFPathInfo &chainPathInfo, const zfchar *pathData)
see ZFPathInfoChainDecode
ZFInput ZFInputForLocal(const zfchar *localPath, const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Read))
util to create a file input callback
zfbool ZFPathInfoCallbackIsEofDefault(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfindex(* ZFPathInfoCallbackRead)(void *token, void *buf, zfindex maxByteSize)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:76
zfbool(* ZFPathInfoCallbackIsError)(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:92
zfbool(* ZFPathInfoCallbackSeek)(void *token, zfindex byteSize, ZFSeekPos position)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:70
zfbool ZFPathInfoIsError(const ZFPathInfo &pathInfo, void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfindex(* ZFPathInfoCallbackTell)(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:68
zfindex(* ZFPathInfoCallbackSize)(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:94
void * ZFPathInfoCallbackOpenDefault(const zfchar *pathData, ZFFileOpenOptionFlags flag=v_ZFFileOpenOption::e_Read, zfbool autoCreateParent=_ZFT_t_zftrue)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCallbackIsDirDefault(const zfchar *pathData)
see ZFPATHTYPE_FILEIO_REGISTER
zfindex ZFPathInfoTell(const ZFPathInfo &pathInfo, void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCallbackFindNextDefault(ZFFileFindData &fd)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool(* ZFPathInfoCallbackIsDir)(const zfchar *pathData)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:16
zfbool ZFOutputForPathInfoT(ZFCallback &ret, const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Create))
see ZFOutputForPathInfo
zfbool ZFPathInfoSeek(const ZFPathInfo &pathInfo, void *token, zfindex byteSize, ZFSeekPos position=(ZFSeekPosBegin))
see ZFPATHTYPE_FILEIO_REGISTER
void ZFPathInfoFindClose(const ZFPathInfo &pathInfo, ZFFileFindData &fd)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoIsExist(const ZFPathInfo &pathInfo)
see ZFPATHTYPE_FILEIO_REGISTER
void * ZFPathInfoOpen(const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flag=(v_ZFFileOpenOption::e_Read), zfbool autoCreateParent=(_ZFT_t_zftrue))
see ZFPATHTYPE_FILEIO_REGISTER
void ZFPathInfoFlush(const ZFPathInfo &pathInfo, void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoToParent(zfstring &ret, const ZFPathInfo &pathInfo)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCallbackMoveDefault(const zfchar *pathDataFrom, const zfchar *pathDataTo, zfbool isForce=_ZFT_t_zftrue)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool(* ZFPathInfoCallbackClose)(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:66
zfbool(* ZFPathInfoCallbackFindFirst)(ZFFileFindData &fd, const zfchar *pathData)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:51
ZFInput ZFInputForPathInfoToken(void *token, const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Read), zfbool autoClose=(_ZFT_t_zftrue))
see ZFInputForPathInfo
zfbool ZFPathInfoCallbackToFileNameDefault(zfstring &ret, const zfchar *pathData)
see ZFPATHTYPE_FILEIO_REGISTER
zfindex ZFPathInfoSize(const ZFPathInfo &pathInfo, void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfindex ZFPathInfoCallbackReadDefault(void *token, void *buf, zfindex maxByteSize)
see ZFPATHTYPE_FILEIO_REGISTER
void(* ZFPathInfoCallbackFindClose)(ZFFileFindData &fd)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:58
zfindex ZFPathInfoCallbackTellDefault(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFPathInfoCallbackSeekDefault(void *token, zfindex byteSize, ZFSeekPos position=ZFSeekPosBegin)
see ZFPATHTYPE_FILEIO_REGISTER
zfbool ZFInputForLocalT(ZFCallback &ret, const zfchar *localPath, const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Read))
see ZFInputForLocal
zfbool ZFInputForPathInfoTokenT(ZFCallback &ret, void *token, const ZFPathInfo &pathInfo, ZFFileOpenOptionFlags flags=(v_ZFFileOpenOption::e_Read), zfbool autoClose=(_ZFT_t_zftrue))
see ZFInputForPathInfo
zfbool(* ZFPathInfoCallbackIsEof)(void *token)
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:90
zfbool ZFPathInfoToChild(zfstring &ret, const ZFPathInfo &pathInfo, const zfchar *childName)
see ZFPATHTYPE_FILEIO_REGISTER
#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_5(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2, ZFMP_3, ZFMP_4)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:1228
#define ZFMETHOD_FUNC_DECLARE_2(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:763
#define ZFMETHOD_FUNC_INLINE_DECLARE_0(ZFLIB_, ReturnType, MethodName)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:557
#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
#define ZFTYPEID_ACCESS_ONLY_REG(ZFLIB_, TypeName, Type,...)
see ZFTYPEID_DECLARE
Definition ZFTypeIdDeclare.h:205
#define ZFTYPEID_ACCESS_ONLY_DECLARE(ZFLIB_, TypeName, Type)
see ZFTYPEID_DECLARE
Definition ZFTypeIdDeclare.h:195
callback used by ZFFramework
Definition ZFCallback.h:96
light weight array
Definition ZFCoreArray.h:331
data used by ZFFile when finding files
Definition ZFFile_fwd.h:53
see v_ZFFileOpenOption, ZFFileOpenOptionFlagsToString, ZFFileOpenOptionFlagsFromString
Definition ZFFile_fwd.h:44
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:35
callback data for ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:317
void implFlush(void *token) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:500
ZFPathInfoCallbackMove callbackMove
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:326
ZFPathInfoCallbackToFileName callbackToFileName
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:321
ZFPathInfoCallbackPathCreate callbackPathCreate
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:324
ZFPathInfoCallbackIsDir callbackIsDir
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:320
zfbool implMove(const zfchar *pathDataFrom, const zfchar *pathDataTo, zfbool isForce=_ZFT_t_zftrue) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:437
zfindex implRead(void *token, void *buf, zfindex maxByteSize) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:484
zfindex implTell(void *token) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:472
zfbool implIsError(void *token) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:508
ZFPathInfoCallbackRead callbackRead
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:334
zfbool implFindNext(ZFFileFindData &fd) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:452
zfbool implToChild(zfstring &ret, const zfchar *pathData, const zfchar *childName) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:407
ZFPathInfoCallbackIsEof callbackIsEof
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:337
ZFPathInfoCallbackIsError callbackIsError
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:338
zfbool implRemove(const zfchar *pathData, zfbool isRecursive=_ZFT_t_zftrue, zfbool isForce=_ZFT_t_zftrue) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:429
ZFPathInfoCallbackToParent callbackToParent
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:323
void implFindClose(ZFFileFindData &fd) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:456
zfbool implToParent(zfstring &ret, const zfchar *pathData) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:415
ZFPathInfoCallbackOpen callbackOpen
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:330
zfbool implSeek(void *token, zfindex byteSize, ZFSeekPos position=ZFSeekPosBegin) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:476
ZFPathInfoCallbackSeek callbackSeek
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:333
ZFPathInfoCallbackWrite callbackWrite
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:335
zfbool implPathCreate(const zfchar *pathData, zfbool autoMakeParent=_ZFT_t_zftrue) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:422
zfbool implClose(void *token) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:468
ZFPathInfoCallbackClose callbackClose
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:331
ZFPathInfoCallbackIsExist callbackIsExist
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:319
zfindex implSize(void *token) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:512
ZFPathInfoCallbackFindClose callbackFindClose
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:329
ZFPathInfoCallbackFlush callbackFlush
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:336
zfindex implWrite(void *token, const void *src, zfindex maxByteSize=((zfindex) -1)) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:492
ZFPathInfoCallbackToChild callbackToChild
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:322
void * implOpen(const zfchar *pathData, ZFFileOpenOptionFlags flag=v_ZFFileOpenOption::e_Read, zfbool autoCreateParent=_ZFT_t_zftrue) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:460
ZFPathInfoCallbackSize callbackSize
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:339
ZFPathInfoCallbackTell callbackTell
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:332
zfbool implIsEof(void *token) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:504
ZFPathInfoCallbackRemove callbackRemove
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:325
zfbool implIsExist(const zfchar *pathData) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:392
ZFPathInfoCallbackFindFirst callbackFindFirst
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:327
zfbool implFindFirst(ZFFileFindData &fd, const zfchar *pathData) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:445
zfbool implIsDir(const zfchar *pathData) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:396
ZFPathInfoCallbackFindNext callbackFindNext
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:328
zfbool implToFileName(zfstring &ret, const zfchar *pathData) const
see ZFPATHTYPE_FILEIO_REGISTER
Definition ZFFile_pathInfo.h:400
open falgs, similar to fopen's flags, while we have binary mode only
Definition ZFFile_fwd.h:34
@ e_Read
Read(1 << 1)
Definition ZFFile_fwd.h:36
@ e_Create
Create(1 << 0)
Definition ZFFile_fwd.h:35