6#ifndef _ZFI_ZFUICellAdapterBasic_h_
7#define _ZFI_ZFUICellAdapterBasic_h_
104 param->cellIndex(index);
106 return param->cell();
114 param->cellIndex(index);
117 return param->cellSize();
129 param->cellIndex(index);
131 return param->cell();
#define zfextend
dummy macro shows class inherit from another
Definition ZFCoreTypeDef_ClassType.h:53
#define zfoverride
dummy macro shows that method override parent's method
Definition ZFCoreTypeDef_ClassType.h:58
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:198
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
_zft_zffloat zffloat
same as float, see zfindex
Definition ZFCoreTypeDef_CoreType.h:183
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_OVERRIDE_INLINE_2(ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMethod
Definition ZFMethodInterfaceDeclare.h:278
#define ZFMETHOD_OVERRIDE_INLINE_0(ReturnType, MethodName)
see ZFMethod
Definition ZFMethodInterfaceDeclare.h:113
#define ZFMETHOD_OVERRIDE_INLINE_1(ReturnType, MethodName, ZFMP_0)
see ZFMethod
Definition ZFMethodInterfaceDeclare.h:193
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define zfclass
same as class, shows that this class is a ZFObject type
Definition ZFObjectClassTypeFwd.h:38
#define ZFOBJECT_DECLARE(ChildClass, SuperClass,...)
necessary for every class inherit from ZFObject
Definition ZFObjectDeclare.h:122
#define zfsuperI(T_SuperType)
class ref to proper super type, see ZFObject for more info
Definition ZFObjectDeclare.h:26
#define ZFIMPLEMENT_DECLARE(ImplementedInterfaces,...)
see ZFINTERFACE_DECLARE
Definition ZFObjectInterface.h:168
#define zfimplement
shows class implement from interface, see ZFInterface
Definition ZFObjectInterface.h:24
#define ZFEVENT(YourEvent)
see ZFObject::observerNotify
Definition ZFObjectObserver.h:312
#define ZFPROPERTY_RETAIN(Type, Name,...)
declare a retain property
Definition ZFPropertyDeclare.h:103
#define ZFPROPERTY_ASSIGN(Type, Name,...)
see ZFPROPERTY_RETAIN
Definition ZFPropertyDeclare.h:120
abstract cell adpater to supply cells for container view
listener data used by ZFListener
Definition ZFArgs.h:20
void observerNotify(zfidentity eventId, const ZFArgs &zfargs=ZFArgs())
notify the observer with eventId
zfbool observerHasAdd(void)
true if any observer has been added
virtual zffloat cellSizeAt(zfindex index, ZFUICell *cell)
check cell size at index
Definition ZFUICellAdapterBasic.h:111
virtual zfauto cellCacheOnAccess(zfindex index)
try access cached cell, return null means no cache available, by default, no cache logic support
Definition ZFUICellAdapterBasic.h:126
virtual zfindex cellCount()
cell count
Definition ZFUICellAdapterBasic.h:95
static zfidentity E_CellCount(void)
see ZFObject::observerNotify
static zfidentity E_CellAt(void)
see ZFObject::observerNotify
static zfidentity E_CellSizeAt(void)
see ZFObject::observerNotify
static zfidentity E_CellCacheOnAccess(void)
see ZFObject::observerNotify
virtual zfindex & cellIndex()
see ZFUICellAdapterBasic::E_CellAt
Definition ZFUICellAdapterBasic.h:20
virtual zfanyT< ZFUICell > const & cell()
see ZFUICellAdapterBasic::E_CellAt
Definition ZFUICellAdapterBasic.h:18
virtual zffloat & cellSize()
see ZFUICellAdapterBasic::E_CellAt
Definition ZFUICellAdapterBasic.h:22
utility class to hold cell
Definition ZFUICell.h:21
see zfany
Definition zfany.h:113
a ZFObject holder which would release content object automatically when destroyed
Definition zfautoFwd.h:34
type restrict version of zfauto
Definition zfautoFwd.h:108
util class to alloc and hold ZFObject type
Definition ZFObjectAutoPtr.h:72