ZFFramework
 
Loading...
Searching...
No Matches
ZFIO_compress.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFIO_compress_h_
7#define _ZFI_ZFIO_compress_h_
8
9#include "ZFCompress.h"
11
26
27// ============================================================
28// ZFInputForCompress
38 , ZFMP_IN(const ZFPathInfo &, refPathInfo)
39 , ZFMP_IN_OPT(const zfstring &, itemPath, zftext("content"))
40 )
41
42// ============================================================
43// ZFOutputForCompress
54 , ZFMP_IN(const ZFPathInfo &, refPathInfo)
55 , ZFMP_IN_OPT(const zfstring &, itemPath, zftext("content"))
57 )
58
59// ============================================================
60// ZFInputForCompress
65 , ZFMP_IN(const ZFInput &, refInput)
66 , ZFMP_IN_OPT(const zfstring &, itemPath, zftext("content"))
67 )
68
69// ============================================================
70// ZFOutputForCompress
78 , ZFMP_IN(const ZFOutput &, refOutput)
79 , ZFMP_IN_OPT(const zfstring &, itemPath, zftext("content"))
80 )
81
83#endif // #ifndef _ZFI_ZFIO_compress_h_
84
#define ZFLIB_ZFAlgorithm
used to export symbols
Definition ZFAlgorithmDef.h:14
compress util
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
ZFInput ZFInputForCompress(const ZFPathInfo &refPathInfo, const zfstring &itemPath=(zfstring::shared("content")))
util to create a file input callback
ZFOutput ZFOutputForCompress(const ZFPathInfo &refPathInfo, const zfstring &itemPath=(zfstring::shared("content")), ZFIOOpenOptionFlags flags=(v_ZFIOOpenOption::e_Modify))
util to create a compress file output callback
#define ZFIO_DECLARE(ZFLIB_, pathType)
see ZFIOImplForPathType
Definition ZFIODef_fwd.h:515
#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 ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
see v_ZFIOOpenOption, ZFIOOpenOptionFlagsToString, ZFIOOpenOptionFlagsFromString
Definition ZFIODef_fwd.h:49
general input callback
Definition ZFIOCallback_input.h:36
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
#define zftext(s)
util macro for zfstring::shared
Definition zfstring.h:704