KSquare Utilities
KKB::GoalKeeperList Class Reference

#include <GoalKeeper.h>

+ Inheritance diagram for KKB::GoalKeeperList:

Public Member Functions

 GoalKeeperList (bool _owner)
 
 ~GoalKeeperList ()
 
- Public Member Functions inherited from KKB::KKQueue< GoalKeeper >
 KKQueue (bool _owner=true)
 
 KKQueue (const KKQueue &q, bool _owner)
 Constructor, similar to the Copy Constructor except that you can control whether it duplicates the contents. More...
 
virtual ~KKQueue ()
 Virtual destructor; if owns its contents will also call the destructor on each one entry that it contains. More...
 
virtual void Add (EntryPtr _entry)
 
virtual void AddFirst (EntryPtr _entry)
 
virtual void AddQueue (const KKQueue &q)
 Add the contents of a separate KKQueue container to this container. More...
 
EntryPtr BackOfQueue () const
 
void DeleteContents ()
 
void DeleteEntry (EntryPtr _entry)
 
void DeleteEntry (kkuint32 _idx)
 
KKQueueDuplicateListAndContents () const
 Creates a new container including duplicating the contents, which also makes the new instance the owner of those contents. More...
 
kkuint32 FindTheKthElement (kkuint32 k, Functor pred)
 
EntryPtr FrontOfQueue () const
 
EntryPtr GetFirst () const
 
EntryPtr GetLast () const
 
EntryPtr IdxToPtr (kkuint32 idx) const
 
kkint32 LocateEntry (EntryConstPtr _entry) const
 
EntryPtr LookAtBack () const
 
EntryPtr LookAtFront () const
 
bool operator!= (const KKQueue< GoalKeeper > &rightSide) const
 returns False if NOT every entry in both containers point to the same elements More...
 
KKQueueoperator= (const KKQueue &q)
 Assignment Operator. More...
 
bool operator== (const KKQueue< GoalKeeper > &rightSide) const
 Returns True if every entry in both containers point to the same elements. More...
 
GoalKeeperoperator[] (kkuint32 i) const
 
bool Owner () const
 
void Owner (bool _owner)
 
virtual EntryPtr PopFromBack ()
 
virtual EntryPtr PopFromFront ()
 
kkint32 PtrToIdx (EntryConstPtr _entry) const
 
virtual void PushOnBack (EntryPtr _entry)
 
virtual void PushOnFront (EntryPtr _entry)
 
kkint32 QueueSize () const
 
void RandomizeOrder ()
 Randomizes the order of the vector. More...
 
void RandomizeOrder (kkint64 seed)
 
void RandomizeOrder (RandomNumGenerator &randomVariable)
 Randomizes the order of the vector. More...
 
virtual EntryPtr RemoveFirst ()
 
virtual EntryPtr RemoveLast ()
 
void SetIdxToPtr (kkuint32 _idx, GoalKeeper *_ptr)
 
void SwapIndexes (size_t idx1, size_t idx2)
 

Additional Inherited Members

- Public Types inherited from KKB::KKQueue< GoalKeeper >
typedef std::vector< GoalKeeper * >::const_iterator const_iterator
 
typedef std::vector< GoalKeeper * >::iterator iterator
 
- Protected Member Functions inherited from KKB::KKQueue< GoalKeeper >
 KKQueue (const KKQueue &q)
 Copy Constructor creating new instance; including duplicating contents if owner set to true. More...
 

Detailed Description

Definition at line 195 of file GoalKeeper.h.

Constructor & Destructor Documentation

KKB::GoalKeeperList::GoalKeeperList ( bool  _owner)
inline

Definition at line 198 of file GoalKeeper.h.

Referenced by KKB::GoalKeeper::Create(), and KKB::GoalKeeper::CreateAndStartBlock().

198 : KKQueue<GoalKeeper> (_owner) {}
KKB::GoalKeeperList::~GoalKeeperList ( )
inline

Definition at line 200 of file GoalKeeper.h.

201  {}

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