The List Interface
[The List Class]


Data Structures

struct  Cmaid_List_Interface
 The List Interface structure The list interface is inheriting from the container and thus must also have interface functions for the container. More...

Defines

#define CMAID_LIST_FUNC(c)   ((const Cmaid_List_Interface *)(((c)->interface)))

Typedefs

typedef void *(* Cmaid_List_Append_Cb )(Cmaid_List *t, void *data)
typedef void *(* Cmaid_List_Prepend_Cb )(Cmaid_List *t, void *data)
typedef void(* Cmaid_List_First_Remove_Cb )(Cmaid_List *t)
typedef void(* Cmaid_List_Last_Remove_Cb )(Cmaid_List *t)
typedef void *(* Cmaid_List_First_Cb )(Cmaid_List *t)
typedef void *(* Cmaid_List_Last_Cb )(Cmaid_List *t)
typedef void *(* Cmaid_List_Insert_Before_Cb )(Cmaid_List *t, const Cmaid_Iter *it, void *data)
typedef void *(* Cmaid_List_Inset_After_Cb )(Cmaid_List *t, const Cmaid_Iter *it, void *data)
typedef void(* Cmaid_List_Sort_Cb )(Cmaid_List *t)
typedef void(* Cmaid_List_Reverse_Cb )(Cmaid_List *t)
typedef struct Cmaid_List_Interface Cmaid_List_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_LIST_FUNC (  )     ((const Cmaid_List_Interface *)(((c)->interface)))

Macro to access the list interface.


Typedef Documentation

typedef void*(* Cmaid_List_Append_Cb)(Cmaid_List *t, void *data)

Type definition for the append callback

typedef void*(* Cmaid_List_First_Cb)(Cmaid_List *t)

Type definition for the first callback

Type definition for the remove first callback

typedef void*(* Cmaid_List_Insert_Before_Cb)(Cmaid_List *t, const Cmaid_Iter *it, void *data)

Type definition for the insert before callback

typedef void*(* Cmaid_List_Inset_After_Cb)(Cmaid_List *t, const Cmaid_Iter *it, void *data)

Type definition for the insert after callback

Type definition for the list interface

typedef void*(* Cmaid_List_Last_Cb)(Cmaid_List *t)

Type definition for the last callback

Type definition for the remove last callback

typedef void*(* Cmaid_List_Prepend_Cb)(Cmaid_List *t, void *data)

Type definition for the prepend callback

typedef void(* Cmaid_List_Reverse_Cb)(Cmaid_List *t)

Type definition for the reverse callback

typedef void(* Cmaid_List_Sort_Cb)(Cmaid_List *t)

Type definition for the sort callback


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