#pragma once #include "common.h" #include "LArray.h" class AFX_CLASS_EXPORT T2PeoplePtrList : public LArray { public: T2PeoplePtrList(int count = 0); virtual ~T2PeoplePtrList(); BOOL Add(T2People* people); T2People* GetItemAt(int index) const; BOOL GetPeopleIndex(T2People* people, int& outIndex) const; BOOL HasSpace() const; void Clear(); void Clear(T2People* people); void SetDestination(unsigned int tenantID); void ChangeDestination(unsigned int tenantID); void SetReturn(unsigned int tenantID); void IncStress(int value); void IncEstimate(int value); BOOL InSameTenant(unsigned int tenantID) const; void LoadSelf(T2Archive& archive, T2PeopleArrayList* list); void SaveSelf(T2Archive& archive) const; protected: void Init(unsigned int count); };