The Map Interface
[The Map Class]


Data Structures

struct  Cmaid_Map_Interface
 The Map Interface structure The map interface is inheriting from the container and thus must also have interface functions for the container. More...

Defines

#define CMAID_MAP_FUNC(c)   ((const Cmaid_Map_Interface *)((c)->interface))

Typedefs

typedef void *(* Cmaid_Map_Set_Cb )(Cmaid_Map *m, void *key, void *data)
typedef void(* Cmaid_Map_Remove_Cb )(Cmaid_Map *m, const void *key)
typedef void *(* Cmaid_Map_Get_Cb )(Cmaid_Map *m, const void *key)
typedef void(* Cmaid_Map_Value_Iter_Attach_Cb )(Cmaid_Map *m, Cmaid_Iter *it)
typedef struct Cmaid_Map_Interface Cmaid_Map_Interface

Detailed Description

You only have to deal with the interface structure directly, if you are going to write an implementation of the interface. Else you can safely ignore this.

Define Documentation

#define CMAID_MAP_FUNC (  )     ((const Cmaid_Map_Interface *)((c)->interface))

Macro to access the map interface.


Typedef Documentation

typedef void*(* Cmaid_Map_Get_Cb)(Cmaid_Map *m, const void *key)

Type definition for the get callback

Type definition for the map interface

typedef void(* Cmaid_Map_Remove_Cb)(Cmaid_Map *m, const void *key)

Type definition for the remove callback

typedef void*(* Cmaid_Map_Set_Cb)(Cmaid_Map *m, void *key, void *data)

Type definition for the set callback

Type definition for the attach iterator callback


Generated on Wed Aug 5 00:20:50 2009 for Cmaid by  doxygen 1.5.8