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
31 , ZFMP_IN(const ZFPathInfo &, refPathInfo)
32 , ZFMP_IN(const zfstring &, itemPath)
33 )
34
35// ============================================================
36// ZFInputForCompress
46 , ZFMP_IN(const ZFPathInfo &, refPathInfo)
47 , ZFMP_IN_OPT(const zfstring &, itemPath, zftext("content"))
48 )
49
50// ============================================================
51// ZFOutputForCompress
62 , ZFMP_IN(const ZFPathInfo &, refPathInfo)
63 , ZFMP_IN_OPT(const zfstring &, itemPath, zftext("content"))
65 )
66
67// ============================================================
68// ZFInputForCompress
73 , ZFMP_IN(const ZFInput &, refInput)
74 , ZFMP_IN_OPT(const zfstring &, itemPath, zftext("content"))
75 )
76
77// ============================================================
78// ZFOutputForCompress
86 , ZFMP_IN(const ZFOutput &, refOutput)
87 , ZFMP_IN_OPT(const zfstring &, itemPath, zftext("content"))
88 )
89
91#endif // #ifndef _ZFI_ZFIO_compress_h_
92
#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
ZFPathInfo ZFPathInfoForCompress(const ZFPathInfo &refPathInfo, const zfstring &itemPath)
util to create chained path info
#define ZFIO_DECLARE(ZFLIB_, pathType)
see ZFIOImplForPathType
Definition ZFIODef_fwd.h:597
#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