BWAPI
Classes
SPAR/AIModule/SparAIModule/Utils/SafeList.h File Reference
#include <list>
#include <cassert>
Include dependency graph for SafeList.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SafeListBase
 Base class for safe list, whose only purpose is to declare the return structures so that they are accessible without going through the templated safe list class. More...
struct  SafeListBase::ConstFunctionReturn
struct  SafeListBase::FunctionReturn
class  SafeList< T >
 A safe list is like a regular list storing values, but in addition it allows one to iterate over its elements while existing ones are being deleted and new ones are being added. Multiple iterations can be performed on the safe list at the same time. To allow this, deleted elements are kept in the safe list until the last iteration has finished, which is when they are removed. More...
class  SafeList< T >::Wrapper
 Wraps an element of the list by including other data, in particular a flag indicating whether this element has been deleted. More...
class  SafeList< T >::Iteration
 Provides an automatic (and exception-aware) mechanism for acquisition and release. More...
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines