![]() |
Apparatus
Version 1.3.0
ECS data-driven workflow for Unreal Engine.
|
The iterator of the belt slots. More...
#include <BeltIt.h>
Public Types | |
enum | { InvalidSlotIndex = FBeltSlot::InvalidIndex , InvalidComboIndex = FBeltSlot::InvalidComboIndex } |
Public Member Functions | |
bool | HasLocked () |
Check if the iterator has locked its belt. More... | |
FBeltIt () | |
Construct a new uninitialized iterator. More... | |
FBeltIt (FBeltIt &&InIterator) | |
Move-construct a belt iterator. More... | |
FBeltIt & | operator= (FBeltIt &&InIterator) |
Move-assign the iterator. More... | |
FBeltIt & | operator= (const FBeltIt &InIterator) |
Assign the iterator. More... | |
~FBeltIt () | |
Destroy the iterator unlocking the belt if necessary. More... | |
bool | IsValid () const |
Check if the iterator is valid and not at the end. More... | |
operator bool () const | |
Check if the iterator is valid and not at the end. More... | |
int32 | GetComboIndex () const |
The current combination within the slot. More... | |
const struct FFilter & | GetFilter () const |
Get the filter of the current iterating. More... | |
const struct FBeltSlot & | GetSlot () const |
Get the current slot of the iterator. More... | |
const struct FSubjectHandle | GetSubject () const |
Get the currently iterated subject. More... | |
const TScriptInterface< class ISubjective > | GetSubjective () const |
Get the currently iterated subjective. More... | |
UDetail * | GetDetailAt (const int32 DetailIndex) const |
Get a detail at a certain index. More... | |
const struct FDetailmark & | GetDetailmark () const |
Get the detailmark of the current iterating. More... | |
EApparatusStatus | Advance () |
Advance to the next iteration. More... | |
FBeltIt & | operator++ () |
Get the next iterator (prefix version). More... | |
FBeltIt | operator++ (int) |
Get the next iterator (postfix version). More... | |
bool | operator== (const FBeltIt &Other) const |
bool | operator!= (const FBeltIt &Other) const |
Friends | |
class | UBelt |
struct | FBeltChain |
The iterator of the belt slots.
anonymous enum |
|
inline |
Construct a new uninitialized iterator.
|
inline |
Move-construct a belt iterator.
|
inline |
Destroy the iterator unlocking the belt if necessary.
|
inline |
Advance to the next iteration.
|
inline |
The current combination within the slot.
|
inline |
Get a detail at a certain index.
|
inline |
Get the detailmark of the current iterating.
|
inline |
Get the filter of the current iterating.
|
inline |
Get the current slot of the iterator.
|
inline |
Get the currently iterated subject.
|
inline |
Get the currently iterated subjective.
|
inline |
Check if the iterator has locked its belt.
|
inline |
Check if the iterator is valid and not at the end.
of its belt.
During the iteration process the current state of the iterator may point to some invalid slot after its processing, but that doesn't mean that the iterator is invalid itself, since it can still advance to the next valid slot (if any).
|
inline |
Check if the iterator is valid and not at the end.
|
inline |
|
inline |
Get the next iterator (prefix version).
|
inline |
Get the next iterator (postfix version).
Assign the iterator.
InIterator | An iterator to assign from. |
Move-assign the iterator.
InIterator | An iterator to move. |
|
inline |
|
friend |
|
friend |