#include <multilist.h>
Inherits GenericMultiListClass.
Public Member Functions | |
| MultiListClass (void) | |
| virtual | ~MultiListClass (void) |
| bool | Add (ObjectType *obj, bool onlyonce=true) |
| bool | Add_Tail (ObjectType *obj, bool onlyonce=true) |
| bool | Add_After (ObjectType *obj, const ObjectType *existing_list_member, bool onlyonce=true) |
| bool | Remove (ObjectType *obj) |
| ObjectType * | Get_Head () |
| ObjectType * | Peek_Head () |
| ObjectType * | Remove_Head () |
| void | Reset_List () |
Public Member Functions inherited from GenericMultiListClass | |
| GenericMultiListClass (void) | |
| virtual | ~GenericMultiListClass (void) |
| bool | Is_In_List (MultiListObjectClass *obj) |
| bool | Contains (MultiListObjectClass *obj) |
| bool | Is_Empty (void) |
| int | Count (void) |
Additional Inherited Members | |
Protected Member Functions inherited from GenericMultiListClass | |
| bool | Internal_Add (MultiListObjectClass *obj, bool onlyonce=true) |
| bool | Internal_Add_Tail (MultiListObjectClass *obj, bool onlyonce=true) |
| bool | Internal_Add_After (MultiListObjectClass *obj, const MultiListObjectClass *existing_list_member, bool onlyonce=true) |
| bool | Internal_Remove (MultiListObjectClass *obj) |
| MultiListObjectClass * | Internal_Get_List_Head (void) |
| MultiListObjectClass * | Internal_Remove_List_Head (void) |
MultiListClass This is a template derived from GenericMultiListClass which allows you to create specialized lists. All this template does is perform type-checking and internal type-casting of all pointers to your object type. Your object must be derived from MultiListObjectClass in order to be used with this template.
Definition at line 221 of file multilist.h.
|
inline |
Definition at line 225 of file multilist.h.
|
inlinevirtual |
Definition at line 227 of file multilist.h.
|
inline |
Definition at line 234 of file multilist.h.
|
inline |
Definition at line 244 of file multilist.h.
|
inline |
Definition at line 239 of file multilist.h.
|
inline |
Definition at line 254 of file multilist.h.
|
inline |
Definition at line 259 of file multilist.h.
|
inline |
Definition at line 249 of file multilist.h.
|
inline |
Definition at line 264 of file multilist.h.
|
inline |
Definition at line 269 of file multilist.h.