#include <C4ObjectList.h>
Definition at line 189 of file C4ObjectList.h.
◆ C4ObjectListIterator()
C4ObjectListIterator::C4ObjectListIterator |
( |
C4ObjectList & |
rList | ) |
|
|
inline |
Definition at line 198 of file C4ObjectList.h.
198 : rList(rList), pCurr(rList.
end()), pCurrID(rList.
begin()) {}
const iterator end() const
◆ GetNext()
C4Object * C4ObjectListIterator::GetNext |
( |
int32_t * |
piCount | ) |
|
Definition at line 1008 of file C4ObjectList.cpp.
1011 if (pCurrID == rList.
end())
1016 if (pCurr == rList.
end())
1021 else if (++pCurr == rList.
end())
1026 if ((*pCurr)->id != (*pCurrID)->id)
1036 if ((*pCheck)->CanConcatPictureWith(*pCurr))
1039 if (++pCurr == rList.
end())
1044 if ((*pCurr)->id != (*pCurrID)->id)
1061 for (++pCheck; pCheck != rList.
end() && (*pCheck)->id == (*pCurr)->id; ++pCheck)
1063 if ((*pCheck)->CanConcatPictureWith(*pCurr))
References C4ObjectList::end().
Referenced by C4ObjectMenu::DoRefillInternal().
The documentation for this class was generated from the following files: