ZFFramework
 
Loading...
Searching...
No Matches
ZFTextTemplate.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFTextTemplate_h_
7#define _ZFI_ZFTextTemplate_h_
8
11
12// ============================================================
83 , ZFMP_IN(const ZFTextTemplateParam &, param)
84 , ZFMP_IN(const ZFOutput &, output)
85 , ZFMP_IN(const zfchar *, data)
86 , ZFMP_IN_OPT(zfindex, dataSize, zfindexMax())
87 )
90 , ZFMP_IN(const ZFTextTemplateParam &, param)
91 , ZFMP_IN(const ZFOutput &, output)
92 , ZFMP_IN(const ZFInput &, input)
93 )
94
96#endif // #ifndef _ZFI_ZFTextTemplate_h_
97
_ZFT_t_zfchar zfchar
char wrapper
Definition ZFCoreTypeDef_CharType.h:17
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
#define zfindexMax()
(zfindex)-1, indicate a max index value, see zfindex
Definition ZFCoreTypeDef_CoreType.h:159
#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_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
zfindex ZFTextTemplateApply(const ZFTextTemplateParam &param, const ZFOutput &output, const zfchar *data, zfindex dataSize=(((zfindex) -1)))
util method to apply template to plain text
text template util
#define ZFLIB_ZFUtility
used to export symbols
Definition ZFUtilityDef.h:15
general input callback
Definition ZFIOCallback_input.h:37
general output callback
Definition ZFIOCallback_output.h:37
see ZFTextTemplateApply
Definition ZFTextTemplateType.h:141