#include <multilist.h>
Inherits GenericMultiListClass.
Public Member Functions | |
| virtual | ~RefMultiListClass (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) |
| bool | Release_Head (void) |
| 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) |
RefMultiListClass This is a template derived from GenericMultiListClass which handles ref-counted objects. It assumes that 'ObjectType' is derived from MultiListObjectClass and RefCountClass. It adds type-checking and reference counting to GenericMultiListClass.
Definition at line 342 of file multilist.h.
|
inlinevirtual |
Definition at line 346 of file multilist.h.
|
inline |
Definition at line 353 of file multilist.h.
|
inline |
Definition at line 373 of file multilist.h.
|
inline |
Definition at line 363 of file multilist.h.
|
inline |
Definition at line 405 of file multilist.h.
|
inline |
Definition at line 415 of file multilist.h.
|
inline |
Definition at line 393 of file multilist.h.
|
inline |
Definition at line 383 of file multilist.h.
|
inline |
Definition at line 421 of file multilist.h.
|
inline |
Definition at line 427 of file multilist.h.