Core::RefCountedList Class Reference
#include <refcountedlist.h>
Inheritance diagram for Core::RefCountedList:
Detailed Description
Implements a static list which keeps track of all refcounted objects to detect refcounting leaks at application shutdown. Will only be active when the application is compiled in debug mode.(C) 2006 Radon Labs GmbH
Public Member Functions | |
void | DumpLeaks () |
dump memory leaks, this methods is called by RefCounted::DumpRefCountedLeaks() | |
bool | IsEmpty () const |
return true if the list is empty | |
SizeT | Size () const |
get number of elements in list (slow) | |
void | Clear () |
clear list | |
void | AddList (const List< TYPE > &l) |
add contents of other list to this list | |
Iterator | AddAfter (Iterator iter, const TYPE &e) |
add element after given element | |
Iterator | AddBefore (Iterator iter, const TYPE &e) |
add element before given element | |
Iterator | AddFront (const TYPE &e) |
add element to beginning of list | |
Iterator | AddBack (const TYPE &e) |
add element to end of list | |
TYPE | RemoveFront () |
remove first element of list | |
TYPE | RemoveBack () |
remove last element of list | |
TYPE | Remove (Iterator iter) |
remove given element | |
TYPE & | Front () const |
get first element | |
TYPE & | Back () const |
get last element | |
Iterator | Begin () const |
get iterator to first element | |
Iterator | End () const |
get iterator past the last element | |
Iterator | Find (const TYPE &e, Iterator start) const |
find element in array (slow) |