Apparatus Version 1.3.0
ECS data-driven workflow for Unreal Engine.
Public Types | Public Member Functions | Public Attributes | List of all members
FBitMask::Iterator Struct Reference

The bit mask iterator. More...

#include <BitMask.h>

Collaboration diagram for FBitMask::Iterator:
Collaboration graph
[legend]

Public Types

enum  { InvalidIndex = -1 }
 

Public Member Functions

 Iterator (const FBitMask &InOwner, const int32 InIndex=0)
 
bool operator* () const
 
bool next ()
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &OtherIterator) const
 
bool operator!= (const Iterator &OtherIterator) const
 

Public Attributes

const FBitMaskOwner
 The owner of the iterator. More...
 
int32 Index = InvalidIndex
 The index of the bit. More...
 

Detailed Description

The bit mask iterator.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
InvalidIndex 

Invalid bit index.

Constructor & Destructor Documentation

◆ Iterator()

FBitMask::Iterator::Iterator ( const FBitMask InOwner,
const int32  InIndex = 0 
)
inline

Member Function Documentation

◆ next()

bool FBitMask::Iterator::next ( )
inline

◆ operator!=()

bool FBitMask::Iterator::operator!= ( const Iterator OtherIterator) const
inline

◆ operator*()

bool FBitMask::Iterator::operator* ( ) const
inline

◆ operator++() [1/2]

Iterator& FBitMask::Iterator::operator++ ( )
inline

◆ operator++() [2/2]

Iterator FBitMask::Iterator::operator++ ( int  )
inline

◆ operator==()

bool FBitMask::Iterator::operator== ( const Iterator OtherIterator) const
inline

Member Data Documentation

◆ Index

int32 FBitMask::Iterator::Index = InvalidIndex

The index of the bit.

◆ Owner

const FBitMask& FBitMask::Iterator::Owner

The owner of the iterator.


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