Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <collection.h>
Public Member Functions | |
ConstIterator () | |
ConstIterator (const ConstIterator &) | |
ConstIterator (const UnitCollection *) | |
~ConstIterator () | |
ConstIterator & | operator= (const ConstIterator &orig) |
Unit * | next () |
bool | isDone () |
bool | notDone () |
void | advance () |
const ConstIterator & | operator++ () |
const ConstIterator | operator++ (int) |
Unit * | operator* () const |
ConstIterator () | |
ConstIterator (const ConstIterator &orig) | |
ConstIterator (const UnitListNode *start) | |
ConstIterator & | operator= (const ConstIterator &orig) |
~ConstIterator () | |
const Unit * | next () |
const Unit * | current () const |
bool | isDone () const |
bool | notDone () const |
void | advance () |
const Unit * | operator++ () |
const Unit * | operator++ (int) |
const Unit * | operator* () const |
Protected Attributes | |
const UnitCollection * | col |
std::list< class Unit * > ::const_iterator | it |
Friends | |
class | UnitCollection |
Definition at line 109 of file collection.h.
|
inline |
Definition at line 112 of file collection.h.
UnitCollection::ConstIterator::ConstIterator | ( | const ConstIterator & | orig) |
UnitCollection::ConstIterator::ConstIterator | ( | const UnitCollection * | orig) |
UnitCollection::ConstIterator::~ConstIterator | ( | ) |
Definition at line 134 of file collection.cpp.
|
inline |
Definition at line 138 of file oldcollection.h.
|
inline |
Definition at line 139 of file oldcollection.h.
|
inline |
Definition at line 140 of file oldcollection.h.
|
inline |
Definition at line 149 of file oldcollection.h.
|
inline |
|
inline |
Definition at line 170 of file oldcollection.h.
|
inline |
Definition at line 158 of file oldcollection.h.
Referenced by isDone(), next(), notDone(), operator*(), and operator++().
|
inline |
|
inline |
Definition at line 162 of file oldcollection.h.
References current().
Unit * UnitCollection::ConstIterator::next | ( | ) |
|
inline |
|
inline |
|
inline |
Definition at line 166 of file oldcollection.h.
References current().
|
inline |
Definition at line 131 of file collection.h.
References col, UnitCollection::empty(), and it.
|
inline |
Definition at line 186 of file oldcollection.h.
References current().
const UnitCollection::ConstIterator & UnitCollection::ConstIterator::operator++ | ( | ) |
Definition at line 159 of file collection.cpp.
const UnitCollection::ConstIterator UnitCollection::ConstIterator::operator++ | ( | int | ) |
Definition at line 165 of file collection.cpp.
|
inline |
UnitCollection::ConstIterator & UnitCollection::ConstIterator::operator= | ( | const ConstIterator & | orig) |
|
inline |
Definition at line 144 of file oldcollection.h.
|
friend |
Definition at line 137 of file collection.h.
|
protected |
Definition at line 138 of file collection.h.
Referenced by ConstIterator(), isDone(), operator*(), and operator=().
|
protected |
Definition at line 139 of file collection.h.
Referenced by ConstIterator(), isDone(), operator*(), and operator=().