#include <ActorList.hpp>
Inheritance diagram for se_core::ActorList:
Public Types | |
typedef int | iterator_type |
Public Member Functions | |
ActorList () | |
void | add (class ActionComponent *element, iterator_type &firstNode) |
Add member to a list. | |
ActionComponent * | remove (iterator_type &iterator, const iterator_type &previousElement) |
Remove a member from the the list. | |
bool | remove (class ActionComponent *element, iterator_type &firstNode) |
Remove an element from the list. | |
ActionComponent * | pop (iterator_type &iterator) |
Remove and return topmost element in list. | |
void | removeChain (iterator_type &firstNode) |
Remove the chain Remove all members from the singly linked list. | |
bool | hasElement (class ActionComponent *element, iterator_type &firstNode) |
Check if an element exists in a singly linked list. | |
ActionComponent * | next (iterator_type &iterator) |
Iterate to the next member of a singly linked list The iterator is a iterator_type value that should initially have the index of the first node in the list as its value. | |
int | size (const iterator_type &firstNode) |
The number of members in a list. | |
int | capacity () |
bool | isFree (const iterator_type &it) |
void | clear () |
Remove all singly linked lists. | |
Static Public Member Functions | |
const iterator_type | end () |
Returns the value that terminates the loop. | |
Protected Member Functions | |
DebugExec (int count_) | |
Protected Attributes | |
const char * | name_ |
The name of this container instance (included to ease debugging). |
|
Definition at line 40 of file SinglyLinkedList.hpp. |
|
Definition at line 32 of file ActorList.hpp. References se_core::AL. |
|
Add member to a list. The member will be added to the beginning of the list for efficiency reasons.
Definition at line 74 of file SinglyLinkedList.hpp. |
|
Definition at line 297 of file SinglyLinkedList.hpp. |
|
Remove all singly linked lists. Removes all singly linked lists contained in the structure. Definition at line 317 of file SinglyLinkedList.hpp. |
|
|
|
Returns the value that terminates the loop.
Definition at line 273 of file SinglyLinkedList.hpp. |
|
Check if an element exists in a singly linked list.
Definition at line 228 of file SinglyLinkedList.hpp. |
|
Definition at line 301 of file SinglyLinkedList.hpp. |
|
Iterate to the next member of a singly linked list The iterator is a iterator_type value that should initially have the index of the first node in the list as its value. Each time this method is called, the iterator is changed to point to the next member.
Definition at line 253 of file SinglyLinkedList.hpp. |
|
Remove and return topmost element in list.
Definition at line 132 of file SinglyLinkedList.hpp. |
|
Remove an element from the list. Will only remove the element from the list once. If the member may exist in the list multiple times, the method must be called once for each instance to remove.
Definition at line 162 of file SinglyLinkedList.hpp. |
|
Remove a member from the the list. : This should be protected. Definition at line 105 of file SinglyLinkedList.hpp. |
|
Remove the chain Remove all members from the singly linked list.
Definition at line 199 of file SinglyLinkedList.hpp. |
|
The number of members in a list.
Definition at line 285 of file SinglyLinkedList.hpp. |
|
The name of this container instance (included to ease debugging).
Definition at line 363 of file SinglyLinkedList.hpp. |
Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:26 2007 by Doxygen version 1.3.9.1.