Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- TInPropertyBaseClass
- TPropertyTypeFundamentals
- TProperty
- FMapProperty
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
Syntax
class FMapProperty : public TProperty< FScriptMap, FProperty >
Variables
| Type | Name | Description | |
|---|---|---|---|
| FProperty * | KeyProp | Properties representing the key type and value type of the contained pairs. | |
| EMapPropertyFlags | MapFlags | ||
| FScriptMapLayout | MapLayout | ||
| FProperty * | ValueProp |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMapProperty
(
UField* InField |
|||
FMapProperty
(
EInternal InInernal, |
|||
FMapProperty
(
FFieldVariant InOwner, |
Constructor used for constructing compiled in properties | ||
FMapProperty
(
FFieldVariant InOwner, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCppProperty
(
FProperty* Property |
||
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| void | AppendSchemaHash
(
FBlake3& Builder, |
Updates the given HashBuilder with name and type information of this Property. | |
| bool | Returns true if the type of this property matches the type name. | ||
| FField * | Construct
(
const FFieldVariant& InOwner, |
||
| bool | ContainsClearOnFinishDestroyInternal
(
TArray< const FStructProperty* >& EncounteredStructProps |
||
| bool | ContainsObjectReference
(
TArray< const FStructProperty* >& EncounteredStructProps, |
Returns true if this property, or in the case of e.g. array or struct properties any sub- property, contains a UObject reference. | |
| EConvertFromTypeResult | ConvertFromType
(
const FPropertyTag& Tag, |
Allows a property to implement backwards compatibility handling for tagged properties | |
| void | EmitIntrusiveOptionalReferenceInfo
(
UE::GC::FSchemaBuilder& Schema, |
For properties returning true from HasIntrusiveUnsetOptionalState which also contain object references, emit information for the garbage collector to safely gather the references from the value whether the optional value is set or unset. | |
| void | EmitReferenceInfo
(
UE::GC::FSchemaBuilder& Schema, |
Emits tokens used by realtime garbage collection code to passed in ReferenceTokenStream. | |
| void | ExportText_Internal
(
FString& ValueStr, |
||
| void | FinishDestroyInternal
(
void* Data |
||
| FString | GetCPPMacroType
(
FString& ExtendedTypeText |
||
| FString | |||
| FString | |||
| SIZE_T | GetFieldSize () |
||
| FField * | GetInnerFieldByName
(
const FName& InName |
Returns an inner field by name if the field has any | |
| void | GetInnerFields
(
TArray< FField* >& OutFields |
Fills the provided array with all inner fields this field owns (recursively) | |
| const FProperty * | |||
| int32 | GetNum
(
void* InMap |
Helper function to get the number of key/value pairs inside of a map. | |
| uint8 * | GetPairPtr
(
void* InMap, |
Helper function to get the pointer to a key/value pair at the specified index. | |
| int32 | Helper function to get the sizeof of the map's key/value pair. Used by the garbage collector. | ||
| void | GetPreloadDependencies
(
TArray< UObject* >& OutDeps |
||
| void * | GetValueAddressAtIndex_Direct
(
const FProperty* Inner, |
Gets value address at given index inside of a static array or container | |
| const FProperty * | |||
| bool | Determines whether the property values are identical. | ||
| const TCHAR * | ImportText_Internal
(
const TCHAR* Buffer, |
||
| void | InstanceSubobjects
(
void* Data, |
Creates new copies of components | |
| bool | IsValidIndex
(
void* InMap, |
Helper function to check if the specified index of a key/value pair in the underlying set is valid. | |
| bool | LoadTypeName
(
UE::FPropertyTypeName Type, |
Restores this property and its owned properties from the type name. | |
| bool | NetSerializeItem
(
FArchive& Ar, |
||
| void | PostDuplicate
(
const FField& InField |
Fixups after duplicating a Field | |
| void * | ResolveVisitedPathInfo
(
void* Data, |
Attempt to resolve the given inner path info against this outer property to get the inner property value. | |
| bool | Returns true, if Other is property of exactly the same type | ||
| void | SaveTypeName
(
UE::FPropertyTypeNameBuilder& Type |
Saves the type name of this property and its owned properties. | |
| void | Begin UObject interface: the following functions mimic UObject interface for easier transition from UProperties to FProperties. | ||
| void | SerializeItem
(
FStructuredArchive::FSlot Slot, |
||
| FFieldClass * | StaticClass () |
||
| uint64 | |||
| uint64 | |||
| bool | UseBinaryOrNativeSerialization
(
const FArchive& Ar |
||
| EPropertyVisitorControlFlow | Visit
(
FPropertyVisitorPath& Path, |
Visits this property and allows recursion into the inner properties This method allows callers to visit inner properties without knowing about its container type as opposed to TPropertyIterator. | |
| auto | WithScriptMap
(
void* InMap, |
Overridden from TProperty
| Type | Name | Description | |
|---|---|---|---|
| void | ClearIntrusiveOptionalValue
(
void* Data |
Set the value to it's special unset state. | |
| void | ClearValueInternal
(
void* Data |
||
| void | CopyValuesInternal
(
void* Dest, |
||
| void | DestroyValueInternal
(
void* Dest |
||
| FString | GetCPPType
(
FString* ExtendedTypeText, |
Returns the text to use for exporting this property to header file. | |
| bool | Returns whether this type has a special state for an unset TOptional meaning the size TOptional |
||
| void | InitializeIntrusiveUnsetOptionalValue
(
void* Data |
Initialize the value at the given address to an unset TOptional using an intrusive state rather than a trailing boolean. | |
| void | InitializeValueInternal
(
void* Dest |
||
| bool | IsIntrusiveOptionalValueSet
(
const void* Data |
Returns whether an optional value of this inner type is unset. | |
| void | LinkInternal
(
FArchive& Ar |
||
| bool |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator delete
(
void* InMem |
||
| void * | operator new
(
const size_t InSize |
||
| void * | operator new
(
const size_t InSize, |
Typedefs
| Name | Description |
|---|---|
| Super | |
| TCppType | |
| ThisClass | |
| TTypeFundamentals |