6#ifndef _ZFI_ZFIOCallback_input_h_
7#define _ZFI_ZFIOCallback_input_h_
68 *result = this->
execute(buf, count);
83 buf.capacity(buf.length() + blockSize + 1);
84 zfindex read = this->
execute(buf.zfunsafe_buffer() + buf.length(), blockSize);
88 buf.zfunsafe_length(buf.length() + read);
89 buf.zfunsafe_buffer()[buf.length()] =
'\0';
113#define ZFCallbackSerializeType_ZFInputDummy "ZFInputDummy"
136#define ZFCallbackSerializeType_ZFInputForInputInRange "ZFInputForInputInRange"
139#define ZFSerializableKeyword_ZFInputForInputInRange_input "input"
141#define ZFSerializableKeyword_ZFInputForInputInRange_start "start"
143#define ZFSerializableKeyword_ZFInputForInputInRange_count "count"
145#define ZFSerializableKeyword_ZFInputForInputInRange_autoRestorePos "autoRestorePos"
179#define ZFCallbackSerializeType_ZFInputForBuffer "ZFInputForBuffer"
182#define ZFSerializableKeyword_ZFInputForBuffer_buf "buf"
194 ZF_IN const void *src
203 ZF_IN const void *src
#define ZFCALLBACK_DECLARE_BEGIN(ZFLIB_, CallbackTypeName, ParentType)
util macro to declare a child type of ZFCallback
Definition ZFCallback.h:479
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
#define ZF_OUT_OPT
dummy macro that shows the param used as optional output
Definition ZFCoreTypeDef_ClassType.h:192
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
#define ZF_IN_OPT
dummy macro that shows the param used as optional input
Definition ZFCoreTypeDef_ClassType.h:184
#define ZF_OUT
dummy macro that shows the param used as required output
Definition ZFCoreTypeDef_ClassType.h:188
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
#define zftrue
bool true type
Definition ZFCoreTypeDef_CoreType.h:107
#define zfindexMax()
(zfindex)-1, indicate a max index value, see zfindex
Definition ZFCoreTypeDef_CoreType.h:159
#define zffalse
bool false type
Definition ZFCoreTypeDef_CoreType.h:111
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
T_Number const & zfmMin(T_Number const &n0, T_Number const &n1)
well known MIN
Definition ZFCoreUtilMath.h:27
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
T_ReturnType executeExact() const
see ZFCallback, you must assign the exact return type and param types for safe
Definition ZFCallback.h:131
zfbool valid(void) const
return true if callback is valid
Definition ZFCallback.h:259
abstract base class, use ZFOutput or ZFInput
Definition ZFIOCallback_fwd.h:62