#include <RegistryManagerList.h>
Public Types | |
| enum | Direction { kForward = 0, kBackward, kUndefined } |
Public Member Functions | |
| RegistryManagerList () | |
| virtual | ~RegistryManagerList () |
| void | AddItem (T *item) |
| void | AddItemHead (T *item) |
| void | RemoveItem (T *item) |
| void | RemoveItem (void) |
| void | BeginIterate (void) |
| void | EndIterate (void) |
| T * | Iterate (void) |
| bool | IsEmpty (void) const |
| RegistryManagerList | ( | ) | [inline] |
The ctor performs some basic initialisation
| virtual ~RegistryManagerList | ( | ) | [inline, virtual] |
The dtor makes sure everything is tidy
| void AddItem | ( | T * | item | ) | [inline] |
Adds an item to the list. This does not allocate an item as this is left to the user to do
| item | the item pointer to add |
| void AddItemHead | ( | T * | item | ) | [inline] |
Adds an item to the head of the list. This does not allocate an item as this is left to the user to do
| item | the item pointer to add |
| void RemoveItem | ( | T * | item | ) | [inline] |
Removes an item from the list but does not free the item as this is left to the user to do
| item | the item pointer to remove |
| void RemoveItem | ( | void | ) | [inline] |
Removes the current iterated item
| void BeginIterate | ( | void | ) | [inline] |
Starts the iteration of the items in the list from the start and works forwards
| void EndIterate | ( | void | ) | [inline] |
Starts the iteration of the items in the list from the end and works backwards
| T* Iterate | ( | void | ) | [inline] |
Iterates through the items in the list
1.5.3