common callback defines More...
#include "ZFCallback.h"
Go to the source code of this file.
Classes | |
class | ZFIOCallback |
abstract base class, use ZFOutput or ZFInput More... | |
Macros | |
#define | ZFCallbackTagKeyword_ioOwner |
for advance user only | |
Functions | |
zfindex | ZFIOCallbackCalcFSeek (zfindex offset, zfindex length, zfindex curPos, zfindex seekByteSize, ZFSeekPos seekPos) |
util method for ZFIOCallback::ioSeek's implementations to calculate seek index | |
common callback defines
#define ZFCallbackTagKeyword_ioOwner |
for advance user only
for ZFOutput and ZFInput to achieve some additional operation
usage:
set an auto released data by ZFCallback::callbackTag, whose key is ZFCallbackTagKeyword_ioOwner and value is a ZFObject that optionally implement those method (as ZFMethod):
|
extern |
util method for ZFIOCallback::ioSeek's implementations to calculate seek index
param:
return an index start from 0 (offset is included), ensured range in [offset, length]