Populous: The Beginning Script 3
1.0.0
Documentation for Populous Script 3 engine
|
#include <ObjectList.h>
Public Member Functions | |
ObjectList (enum class ObjectListType t=ObjectListType::None) | |
~ObjectList () | |
ObjectList (const ObjectList &cpy) | |
void | setObjectListType (enum class ObjectListType _t) |
ObjectList & | operator= (ObjectList const &rhs) |
OBJLIST * | insert (Thing *t) |
void | remove (Thing *t, bool OBJ3_DELETE=false) |
Thing * | front () const |
Thing * | tail () const |
Thing * | pop_front () |
Thing * | pop_back () |
Thing * | getNextThing (Thing *t) const |
Thing * | getPreviousThing (Thing *t) const |
size_t | count () const |
enum ObjectListType | whatListAmI () const |
template<typename Lambda > | |
Thing * | processList (Lambda &&f) |
Thing * | processList2 (eastl::function< bool(Thing *)> f) |
void | reset () |
bool | isEmpty () const |
OBJLIST * | AmIInList (Thing *t) const |
Thing * | getNth (size_t i) const |
eastl::vector< Thing * > | toThingVector () |
eastl::vector< ObjectProxy > | toObjectProxyVector () |
template<class Archive > | |
void | save (Archive &ar) const |
template<class Archive > | |
void | load (Archive &ar) |
Private Attributes | |
enum ObjectListType | _ListType |
struct OBJLIST * | _start |
struct OBJLIST * | _end |
size_t | _count |
Static Private Attributes | |
static eastl::vector< Internal_It > | _sit |
Definition at line 28 of file ObjectList.h.