Populous: The Beginning Script 3  1.0.0
Documentation for Populous Script 3 engine
ObjectList Class Reference

#include <ObjectList.h>

Public Member Functions

 ObjectList (enum class ObjectListType t=ObjectListType::None)
 
 ~ObjectList ()
 
 ObjectList (const ObjectList &cpy)
 
void setObjectListType (enum class ObjectListType _t)
 
ObjectListoperator= (ObjectList const &rhs)
 
OBJLISTinsert (Thing *t)
 
void remove (Thing *t, bool OBJ3_DELETE=false)
 
Thingfront () const
 
Thingtail () const
 
Thingpop_front ()
 
Thingpop_back ()
 
ThinggetNextThing (Thing *t) const
 
ThinggetPreviousThing (Thing *t) const
 
size_t count () const
 
enum ObjectListType whatListAmI () const
 
template<typename Lambda >
ThingprocessList (Lambda &&f)
 
ThingprocessList2 (eastl::function< bool(Thing *)> f)
 
void reset ()
 
bool isEmpty () const
 
OBJLISTAmIInList (Thing *t) const
 
ThinggetNth (size_t i) const
 
eastl::vector< Thing * > toThingVector ()
 
eastl::vector< ObjectProxytoObjectProxyVector ()
 
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
 

Detailed Description

Definition at line 28 of file ObjectList.h.


The documentation for this class was generated from the following file: