Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMetaData
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/MetaData.h |
| Include | #include "UObject/MetaData.h" |
Syntax
class UMetaData : public UObject
Remarks
An object that holds a map of key/value pairs.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FWeakObjectPtr, TMap< FName, FString > > | ObjectMetaDataMap | Mapping between an object, and its key->value meta-data pairs. | |
| TMap< FName, FString > | RootMetaDataMap | Root-level (not associated with a particular object) key->value meta-data pairs. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMetaData
(
const FObjectInitializer& ObjectInitializer |
|||
| COREUOBJECT_API | UMetaData
(
FVTableHelper& Helper |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | __DefaultConstructor
(
const FObjectInitializer& X |
||
| UObject * | __VTableCtorCaller
(
FVTableHelper& Helper |
||
| void | CopyMetadata
(
UObject* SourceObject, |
Copy all metadata from the source object to the destination object. | |
| const FString * | Returns the value for a the given key if it exists, null otherwise | ||
| const FString * | Returns the value for a the given key if it exists, null otherwise | ||
| TMap< FName, FString > * | GetMapForObject
(
const UObject* Object |
Find the name/value map for metadata for a specific object | |
| FName | GetRemappedKeyName
(
FName OldKey |
Returns the remapped key name, or NAME_None was not remapped. | |
| const FString & | Return the value for the given key in the given property | ||
| const FString & | Return the value for the given key in the given property | ||
| bool | HasObjectValues
(
const UObject* Object |
Is there any metadata for this property? Is there any metadata for this property? | |
| bool | Return whether or not the Key is in the meta data | ||
| bool | Return whether or not the Key is in the meta data | ||
| void | Removes any metadata entries that are to objects not inside the same package as this UMetaData object. | ||
| void | RemoveValue
(
const UObject* Object, |
Remove any entry with the supplied Key form the Property's metadata | |
| void | RemoveValue
(
const UObject* Object, |
Remove any entry with the supplied Key form the Property's metadata | |
| void | SetObjectValues
(
const UObject* Object, |
Set the key/value pair in the Property's metadata | |
| void | SetObjectValues
(
const UObject* Object, |
Set the key/value pair in the Property's metadata | |
| void | Set the key/value pair in the Property's metadata | ||
| void | Set the key/value pair in the Object's metadata | ||
| UClass * | StaticClass () |
Returns a UClass object representing this class at runtime | |
| EClassCastFlags | Returns the static cast flags for this class | ||
| const TCHAR * | Returns the package this class belongs in | ||
| void |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | IsAsset () |
Returns true if this object is considered an asset. | |
| bool | Called during saving to include this object in client/servers running in editor builds, even if they wouldn't normally be. | ||
| void | Handles reading, writing, and reference collecting using FArchive. | ||
| void | Serialize
(
FStructuredArchive::FRecord Record |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator delete
(
void* InMem |
Eliminate V1062 warning from PVS-Studio while keeping MSVC and Clang happy. | |
| void * | operator new
(
const size_t InSize, |
For internal use only; use StaticConstructObject() to create new objects. | |
| void * | operator new
(
const size_t InSize, |
For internal use only; use StaticConstructObject() to create new objects. |
Typedefs
Constants
| Name | Description |
|---|---|
| KeyRedirectMap | Redirect map from deprecated keys to current key names. |
| StaticClassFlags | Bitwise union of EClassFlags pertaining to this class. |