ZFFramework
 
Loading...
Searching...
No Matches
ZFIterableKeyValue Class Referenceabstract

iterable that with key value pair, see zfiter More...

#include <ZFIterable.h>

Inheritance diagram for ZFIterableKeyValue:
ZFInterface ZFKeyValueContainer ZFHashMap ZFMap

Public Member Functions

virtual zfany iterKey (const zfiter &it)=0
 get key value pair with iter, see zfiter
 
virtual void iterAdd (ZFObject *key, ZFObject *value)=0
 add key value to tail, see zfiter
 
- Public Member Functions inherited from ZFInterface
virtual const ZFClassclassData (void)=0
 get instance's class info
 
virtual ZFObjecttoObject (void)=0
 convert to ZFObject type
 

Static Public Member Functions

static const ZFClassClassData (void)
 get class info
 
- Static Public Member Functions inherited from ZFInterface
static const ZFClassClassData (void)
 get class info
 

Protected Types

typedef ZFInterface zfsuper
 typedef for super (always ZFInterface for an interface type)
 
typedef ZFIterableKeyValue zfself
 typedef for self
 
- Protected Types inherited from ZFInterface
typedef _ZFP_ObjI_Base zfsuper
 typedef for super (always ZFInterface for an interface type)
 
typedef ZFInterface zfself
 typedef for self
 

Detailed Description

iterable that with key value pair, see zfiter

Member Function Documentation

◆ iterKey()

virtual zfany ZFIterableKeyValue::iterKey ( const zfiter & it)
pure virtual

get key value pair with iter, see zfiter

Implemented in ZFHashMap, and ZFMap.

◆ iterAdd()

virtual void ZFIterableKeyValue::iterAdd ( ZFObject * key,
ZFObject * value )
pure virtual

add key value to tail, see zfiter

for most key value container, this is same as set key with value

Implemented in ZFHashMap, and ZFMap.


The documentation for this class was generated from the following file: