TConstComponentIterator

Const iterator for registered components on an actor

Choose your operating system:

Windows

macOS

Linux

References

Module

ModularGameplay

Header

/Engine/Plugins/Experimental/ModularGameplay/Source/ModularGameplay/Public/Components/GameFrameworkComponent.h

Include

#include "Components/GameFrameworkComponent.h"

Syntax

template<typename T>
class TConstComponentIterator

Remarks

Const iterator for registered components on an actor

Constructors

Name Description

Public function

TConstComponentIterator

(
    const AActor* OwnerActor
)

Functions

Name Description

Protected function

bool

 

Advance()

Moves the iterator to the next valid component

Protected function Const

const T *...

 

GetComponent()

Gets the current component

Operators

Name Description

Public function Const

 

operator bool()

Public function Const

bool

 

operator!()

Public function Const

const T *...

 

operator*()

Public function

void

 

operator++()

Public function Const

const T *...

 

operator->()