6#ifndef _ZFI_ZFProtocolZFRes_h_
7#define _ZFI_ZFProtocolZFRes_h_
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
_ZFT_t_zfchar zfchar
char wrapper
Definition ZFCoreTypeDef_CharType.h:17
#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
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
#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 ZFPROTOCOL_INTERFACE_END(ModuleName)
for more information, please refer to ZFPROTOCOL_INTERFACE_BEGIN
Definition ZFProtocol.h:414
#define ZFPROTOCOL_INTERFACE_BEGIN(ZFLIB_, ModuleName)
declare a protocol interface for ZFFramework
Definition ZFProtocol.h:408
for impl to achieve custom find logic
Definition ZFIODef_fwd.h:110
virtual zfindex resTell(void *token)
see ZFResTell
virtual zfbool resIsDir(const zfchar *resPath)
see ZFResIsDir
virtual void * resOpen(const zfchar *resPath)
see ZFResOpen
virtual zfbool resClose(void *token)
see ZFResClose
virtual zfbool resFindFirst(ZFIOFindData::Impl &fd, const zfchar *resPath)
see ZFResFindFirst, ZFFileFindFirst
virtual zfbool resIsExist(const zfchar *resPath)
see ZFResIsExist
virtual void resFindClose(ZFIOFindData::Impl &fd)
see ZFResFindClose, ZFFileFindClose
virtual zfindex resRead(void *token, void *buf, zfindex maxByteSize)
see ZFResRead
virtual zfbool resFindNext(ZFIOFindData::Impl &fd)
see ZFResFindNext, ZFFileFindNext
virtual zfbool resSeek(void *token, zfindex byteSize, ZFSeekPos seekPos=ZFSeekPosBegin)
see ZFResSeek
virtual const zfstring & resRootPath(void)
util method to access root path for file res impl