6#ifndef _ZFI_ZFCompress_h_
7#define _ZFI_ZFCompress_h_
global header for ZFAlgorithm module
#define ZFLIB_ZFAlgorithm
used to export symbols
Definition ZFAlgorithmDef.h:14
v_ZFCompressLevel::ZFEnumType ZFCompressLevel
see v_ZFCompressLevel
Definition ZFCompress.h:29
ZFLIB_ZFAlgorithm zfbool ZFDecompressDir(const ZFPathInfo &outputPathInfo, const ZFInput &inputZip)
see ZFCompress
ZFLIB_ZFAlgorithm zfbool ZFDecompressContent(const ZFOutput &outputRaw, const ZFInput &inputZip, const zfstring &filePathInZip=(zfstring::shared("content")))
see ZFCompress
ZFLIB_ZFAlgorithm zfbool ZFCompressContent(const ZFOutput &outputZip, const ZFInput &inputRaw, const zfstring &filePathInZip=(zfstring::shared("content")), ZFCompressLevel compressLevel=(v_ZFCompressLevel::EnumDefault()))
see ZFCompress
ZFLIB_ZFAlgorithm zfbool ZFCompressDir(const ZFOutput &outputZip, const ZFPathInfo &inputPathInfo, const zfstring &filePathInZip=(zfstring::shared("content")), ZFCompressLevel compressLevel=(v_ZFCompressLevel::EnumDefault()))
see ZFCompress
#define zfextend
dummy macro shows class inherit from another
Definition ZFCoreTypeDef_ClassType.h:53
#define zfoverride
dummy macro shows that method override parent's method
Definition ZFCoreTypeDef_ClassType.h:58
_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
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#define ZFENUM_SEPARATOR()
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:158
#define ZFENUM_VALUE_REGISTER(Value)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:168
#define ZFENUM_REG(ZFLIB_, EnumName,...)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:186
#define ZFENUM_END_WITH_DEFAULT(ZFLIB_, EnumName, defaultEnum)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:175
#define ZFENUM_VALUE(Value)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:151
#define ZFENUM_BEGIN(ZFLIB_, EnumName)
macros to define reflectable enum type
Definition ZFEnumDeclare.h:147
#define ZFMP_IN_OUT(ParamType, paramName)
see ZFMP_IN
Definition ZFMethod.h:117
#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_DECLARE_0(ReturnType, MethodName)
see ZFMethod
Definition ZFMethodDeclare.h:693
#define ZFMETHOD_DECLARE_2(ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMethod
Definition ZFMethodDeclare.h:1025
#define ZFMETHOD_DECLARE_3(ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2)
see ZFMethod
Definition ZFMethodDeclare.h:1206
#define ZFMETHOD_DECLARE_1(ReturnType, MethodName, ZFMP_0)
see ZFMethod
Definition ZFMethodDeclare.h:854
#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 ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define zfclass
same as class, shows that this class is a ZFObject type
Definition ZFObjectClassTypeFwd.h:38
#define ZFOBJECT_ON_INIT_DECLARE_2(ZFMP_0, ZFMP_1)
see ZFOBJECT_ON_INIT_INLINE_1
Definition ZFObjectDeclare.h:290
#define ZFOBJECT_ON_INIT_DECLARE_1(ZFMP_0)
see ZFOBJECT_ON_INIT_INLINE_1
Definition ZFObjectDeclare.h:263
#define ZFOBJECT_DECLARE(ChildClass, SuperClass,...)
necessary for every class inherit from ZFObject
Definition ZFObjectDeclare.h:126
virtual void objectOnDeallocPrepare(void)
called before objectOnDealloc, safe to call virtual functions here
virtual zfbool createDir(const zfstring &filePathInZip)
see ZFCompress
virtual zfbool open(const ZFOutput &outputZip, ZFCompressLevel compressLevel=(v_ZFCompressLevel::EnumDefault()))
see ZFCompress
virtual zfbool remove(const zfstring &filePathInZip)
see ZFCompress
virtual zfbool close()
see ZFCompress
virtual zfbool valid()
see ZFCompress
virtual void objectOnInit(const ZFOutput &outputZip, ZFCompressLevel compressLevel=(v_ZFCompressLevel::EnumDefault()))
see ZFCompress
virtual zfbool output(const zfstring &filePathInZip, const ZFInput &inputRaw)
see ZFCompress
virtual zfbool move(const zfstring &filePathInZipFrom, const zfstring &filePathInZipTo, zfbool isForce=(_ZFT_t_zftrue))
see ZFCompress
virtual void objectOnInit(const ZFInput &inputZip)
see ZFCompress
virtual zfbool output(const ZFOutput &outputRaw, const zfstring &filePathInZip)
see ZFCompress
virtual zfbool isDir(zfindex fileIndexInZip)
see ZFCompress
virtual zfbool open(const ZFInput &inputZip)
see ZFCompress
virtual zfbool valid()
see ZFCompress
virtual zfindex contentIndex(const zfstring &filePathInZip)
see ZFCompress
virtual zfbool close()
see ZFCompress
virtual void objectOnDeallocPrepare(void)
called before objectOnDealloc, safe to call virtual functions here
virtual zfindex contentCount()
see ZFCompress
virtual zfbool findFirst(ZFFileFindData &fd, const zfstring &filePathInZip)
see ZFCompress
virtual zfstring contentPath(zfindex fileIndexInZip)
see ZFCompress
virtual zfbool contentPathT(zfstring &ret, zfindex fileIndexInZip)
see ZFCompress
virtual void findClose(ZFFileFindData &fd)
see ZFCompress
virtual zfbool outputAt(const ZFOutput &outputRaw, zfindex fileIndexInZip)
see ZFCompress
virtual zfbool findNext(ZFFileFindData &fd)
see ZFCompress
data used by ZFFile when finding files
Definition ZFFile_fwd.h:53
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
compress level for ZFCompress
Definition ZFCompress.h:15
static v_ZFCompressLevel::ZFEnumType EnumDefault(void)
default value for ZFCompressLevel
Definition ZFCompress.h:29
#define zftext(s)
util macro for zfstring::shared
Definition zfstring.h:694