TClassMap

Templatd struct for mapping UClasses to some data type.

Windows
MacOS
Linux

References

Module

ReplicationGraph

Header

/Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraphTypes.h

Include

#include "ReplicationGraphTypes.h"

Syntax

template<typename ValueType>
struct TClassMap

Remarks

Templatd struct for mapping UClasses to some data type. The main things this provides is that if a UClass* was not explicitly added, it will climb the class heirachy and find the best match (and then store this for faster lookup next time)

Variables

Name Description

Public variable

TFunction< bool...

 

InitNewElement

Functions

Name Description

Public function Const

bool

 

Contains

(
    const UClass* Class,
    bool bIncludeSuperClasses
)

Returns if class has data in the map.

Public function Const

void

 

CountBytes

(
    FArchive& Ar
)

Public function

TMap< FObjec...

 

CreateIterator()

Public function Const

const ValueT...

 

FindWithoutClassRecursion

(
    UClass* Class
)

Just finds element. Does not climb class hierarchy is explicit entry is not found.

Public function

ValueType &#...

 

Get

(
    UClass* Class
)

Public function

ValueType &

 

GetChecked

(
    UClass* Class
)

Returns ClassInfo for a given class.

Public function

void

 

Reset()

Public function

void

 

Set

(
    UClass* InClass,
    const ValueType& Value
)

Sets class info for a given class. Call this in your Replication Graphs setup

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss