6#ifndef _ZFI_ZFFile_res_h_
7#define _ZFI_ZFFile_res_h_
#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
_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
ZFSeekPos
seek position similar to SEEK_SET of FILE operation
Definition ZFCoreTypeDef_OtherType.h:47
zfbool ZFResIsExist(const zfchar *resPath)
return true if res file specified by path is exist
zfbool ZFResSeek(void *token, zfindex byteSize, ZFSeekPos position=(ZFSeekPosBegin))
see ZFResOpen ZFFileSeek
zfindex ZFResRead(void *token, void *buf, zfindex maxByteSize)
see ZFResOpen ZFFileRead
void ZFResFindClose(ZFFileFindData &fd)
zfindex ZFResSize(void *token)
see ZFResOpen, ZFFileSize
zfbool ZFResExtPathCheck(ZFPathInfo &resExtPath, const zfchar *resPath)
see ZFResExtPathAdd
zfbool ZFResCopy(const zfchar *resPath, const zfchar *dstPath, zfbool isRecursive=(_ZFT_t_zftrue), zfbool isForce=(_ZFT_t_zftrue))
res version of ZFFileCopy
zfbool ZFResClose(void *token)
see ZFResOpen ZFFileClose
zfbool ZFResIsEof(void *token)
see ZFResOpen ZFFileIsEof
void * ZFResOpen(const zfchar *resPath)
open a resource file for read only, see ZFFileOpen
zfbool ZFResIsDir(const zfchar *resPath)
return true if res file specified by path is a directory
void ZFResExtPathAdd(const ZFPathInfo &pathInfo)
add an additional path to search as resource files
ZFCoreArray< ZFPathInfo > ZFResExtPathList()
see ZFResExtPathAdd
zfbool ZFResFindFirst(ZFFileFindData &fd, const zfchar *resPath)
void ZFResExtPathRemove(const ZFPathInfo &pathInfo)
see ZFResExtPathAdd
zfbool ZFResIsError(void *token)
see ZFResOpen ZFFileIsEof
zfindex ZFResTell(void *token)
see ZFResOpen ZFFileTell
zfbool ZFResFindNext(ZFFileFindData &fd)
#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_0(ZFLIB_, ReturnType, MethodName)
declare function type of ZFMethod
Definition ZFMethodFuncDeclare.h:493
#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
light weight array
Definition ZFCoreArray.h:331
data used by ZFFile when finding files
Definition ZFFile_fwd.h:53
path related info storage for impl, actual meaning of the info depends on impl
Definition ZFPathInfo.h:35