ZFFramework
 
Loading...
Searching...
No Matches
ZFIO_encrypt.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFIO_encrypt_h_
7#define _ZFI_ZFIO_encrypt_h_
8
9#include "ZFEncrypt.h"
11
26
27// ============================================================
28// ZFInputForEncrypt
38 , ZFMP_IN(const ZFPathInfo &, refPathInfo)
39 , ZFMP_IN(const zfstring &, encryptKey)
40 )
41
42// ============================================================
43// ZFOutputForEncrypt
53 , ZFMP_IN(const ZFPathInfo &, refPathInfo)
54 , ZFMP_IN(const zfstring &, encryptKey)
56 )
57
58// ============================================================
59// ZFInputForEncrypt
64 , ZFMP_IN(const ZFInput &, refInput)
65 , ZFMP_IN(const zfstring &, encryptKey)
66 )
67
68// ============================================================
69// ZFOutputForEncrypt
74 , ZFMP_IN(const ZFOutput &, refOutput)
75 , ZFMP_IN(const zfstring &, encryptKey)
76 )
77
79#endif // #ifndef _ZFI_ZFIO_encrypt_h_
80
#define ZFLIB_ZFAlgorithm
used to export symbols
Definition ZFAlgorithmDef.h:14
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
encrypt util
ZFOutput ZFOutputForEncrypt(const ZFPathInfo &refPathInfo, const zfstring &encryptKey, ZFIOOpenOptionFlags flags=(v_ZFIOOpenOption::e_Write))
util to create a encrypt file output callback
ZFInput ZFInputForEncrypt(const ZFPathInfo &refPathInfo, const zfstring &encryptKey)
util to create a file input callback
#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