CriWare Unreal Engine
Plug-ins for CriWare solutions.
载入中...
搜索中...
未找到
Atom::TMapAnyKey< ValueType > 模板类 参考

#include <AtomMapAnyKey.h>

类 Atom::TMapAnyKey< ValueType > 继承关系图:

Public 成员函数

template<typename AnyKeyType>
ValueType & FindOrAdd (AnyKeyType Key, bool &bHadKey)

Private 类型

using Super = TMap<uint32, ValueType>

详细描述

template<typename ValueType>
class Atom::TMapAnyKey< ValueType >

Variant of TMap that allows multiple key types within the same map instance. Key types must be hash-able, as with a regular map.

成员类型定义说明

◆ Super

template<typename ValueType>
using Atom::TMapAnyKey< ValueType >::Super = TMap<uint32, ValueType>
private

成员函数说明

◆ FindOrAdd()

template<typename ValueType>
template<typename AnyKeyType>
ValueType & Atom::TMapAnyKey< ValueType >::FindOrAdd ( AnyKeyType Key,
bool & bHadKey )
inline

Find the value associated with a specified key, or if none exists, add a value using the default constructor.

参数
KeyThe key to search for.
bHadKeyTrue if found, false if added.
返回
A reference to the value associated with the specified key.

该类的文档由以下文件生成:
  • C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Public/Atom/Gameplay/AtomMapAnyKey.h