Karma Engine
Loading...
Searching...
No Matches
Karma::FUObjectArray::TIterator Class Reference

#include <UObjectGlobals.h>

Inheritance diagram for Karma::FUObjectArray::TIterator:

Public Types

enum  EEndTagType { EndTag }
 

Public Member Functions

 TIterator (const FUObjectArray &InArray, bool bOnlyGCedObjects=false)
 
 TIterator (EEndTagType, const TIterator &InIter)
 
FORCEINLINE void operator++ ()
 
bool operator== (const TIterator &Rhs) const
 
bool operator!= (const TIterator &Rhs) const
 
FORCEINLINE operator bool () const
 
FORCEINLINE bool operator! () const
 
FORCEINLINE int32 GetIndex () const
 

Protected Member Functions

FORCEINLINE FUObjectItemGetObject () const
 
FORCEINLINE bool Advance ()
 
const FUObjectArrayGetIteratedArray () const
 

Detailed Description

Low level iterator.

Constructor & Destructor Documentation

◆ TIterator() [1/2]

Karma::FUObjectArray::TIterator::TIterator ( const FUObjectArray & InArray,
bool bOnlyGCedObjects = false )
inline

Constructor

Parameters
InArraythe array to iterate on
bOnlyGCedObjectsif true, skip all of the permanent objects

◆ TIterator() [2/2]

Karma::FUObjectArray::TIterator::TIterator ( EEndTagType ,
const TIterator & InIter )
inline

Constructor

Parameters
InArraythe array to iterate on
bOnlyGCedObjectsif true, skip all of the permanent objects

Member Function Documentation

◆ Advance()

FORCEINLINE bool Karma::FUObjectArray::TIterator::Advance ( )
inlineprotected

Iterator advance with ordinary name for clarity in subclasses

Returns
true if the iterator points to a valid object, false if iteration is complete

◆ GetIteratedArray()

const FUObjectArray & Karma::FUObjectArray::TIterator::GetIteratedArray ( ) const
inlineprotected

Gets the array this iterator iterates over

◆ GetObject()

FORCEINLINE FUObjectItem * Karma::FUObjectArray::TIterator::GetObject ( ) const
inlineprotected

Dereferences the iterator with an ordinary name for clarity in derived classes

Returns
the UObject at the iterator

◆ operator bool()

FORCEINLINE Karma::FUObjectArray::TIterator::operator bool ( ) const
inlineexplicit

Conversion to "bool" returning true if the iterator is valid.

◆ operator!()

FORCEINLINE bool Karma::FUObjectArray::TIterator::operator! ( ) const
inline

inverse of the "bool" operator

◆ operator++()

FORCEINLINE void Karma::FUObjectArray::TIterator::operator++ ( )
inline

Iterator advance


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