text template util More...
#include "ZFTextTemplateType.h"
Go to the source code of this file.
Functions | |
zfindex | ZFTextTemplateApply (const ZFTextTemplateParam ¶m, const ZFOutput &output, const zfchar *data, zfindex dataSize=(((zfindex) -1))) |
util method to apply template to plain text | |
zfindex | ZFTextTemplateApply (const ZFTextTemplateParam ¶m, const ZFOutput &output, const ZFInput &input) |
see ZFTextTemplateApply | |
text template util
|
extern |
util method to apply template to plain text
data would be applied according to ZFTextTemplateParam, and result would be written to output, return newly size written if success, or zfindexMax() if failed, you may pass an invalid output callback to calculate result size
methods:
index
replace the content with specified index value
the text would be applied like:
params:
addition: